|
@@ -162,7 +162,7 @@
|
|
|
|
|
|
|
|
|
</el-descriptions>
|
|
|
- <div v-if="item.isAudit===0" class="dialog">
|
|
|
+ <div v-if="item.isAudit===0 && this.showAudit" class="dialog">
|
|
|
<el-divider content-position="left">审核</el-divider>
|
|
|
<el-form ref="form1" :model="form1" :rules="rules1" label-width="80px">
|
|
|
<el-form-item label="审核理由" prop="reason">
|
|
@@ -214,6 +214,7 @@ export default {
|
|
|
props:["data"],
|
|
|
data() {
|
|
|
return {
|
|
|
+ showAudit: true,
|
|
|
statusOptions: [],
|
|
|
// 审核状态字典
|
|
|
isAuditOptions: [],
|
|
@@ -243,8 +244,11 @@ export default {
|
|
|
this.form1 = {};
|
|
|
},
|
|
|
methods: {
|
|
|
- getDetails(orderId) {
|
|
|
- this.item = null;
|
|
|
+ getDetails(orderId,showAudit) {
|
|
|
+ if(showAudit === 0) {
|
|
|
+ this.showAudit = false
|
|
|
+ }
|
|
|
+ this.item = null
|
|
|
Promise.all([getStore(orderId), getStoreAuditLog(orderId)])
|
|
|
.then(([storeResponse, auditResponse]) => {
|
|
|
this.item = storeResponse.data;
|