|
@@ -169,7 +169,8 @@ export default { |
|
@@ -169,7 +169,8 @@ export default { |
|
169
|
packaging: ''
|
169
|
packaging: ''
|
|
170
|
},
|
170
|
},
|
|
171
|
productList: [],
|
171
|
productList: [],
|
|
172
|
- buttons: [{
|
172
|
+ buttons: [
|
|
|
|
173
|
+ {
|
|
173
|
text: '编辑',
|
174
|
text: '编辑',
|
|
174
|
visible: true,
|
175
|
visible: true,
|
|
175
|
variant: 'outline',
|
176
|
variant: 'outline',
|
|
@@ -257,19 +258,18 @@ export default { |
|
@@ -257,19 +258,18 @@ export default { |
|
257
|
const e = this.detail.showExamine || false
|
258
|
const e = this.detail.showExamine || false
|
|
258
|
const f = this.detail.standardShowExamine || false
|
259
|
const f = this.detail.standardShowExamine || false
|
|
259
|
return [
|
260
|
return [
|
|
260
|
- { ...this.buttons[0], visible: (s === 'DRAFT') },
|
|
|
|
261
|
- { ...this.buttons[1], visible: (s === 'DRAFT') },
|
|
|
|
262
|
- { ...this.buttons[2], visible: (s === 'FORMAL' && !l) },
|
|
|
|
263
|
- { ...this.buttons[3], visible: (s === 'FORMAL' && !l) },
|
|
|
|
264
|
- { ...this.buttons[4], visible: ((s === 'DRAFT' || s === 'FORMAL') && t !== 'AUDIT' && t !== 'PASS') },
|
|
|
|
265
|
- { ...this.buttons[5], visible: (s === 'STANDARD' && t !== 'AUDIT' && t !== 'PASS') },
|
|
|
|
266
|
- { ...this.buttons[6], visible: (s === 'STANDARD' && a !== 'AUDIT' && a !== 'PASS') },
|
|
|
|
267
|
- { ...this.buttons[7], visible: (s === 'FORMAL' && e && t === 'AUDIT') },
|
|
|
|
268
|
- { ...this.buttons[8], visible: (s === 'STANDARD' && e && t === 'AUDIT') },
|
|
|
|
269
|
- { ...this.buttons[9], visible: (s === 'STANDARD' && f && a === 'AUDIT') },
|
|
|
|
270
|
- { ...this.buttons[10], visible: (s === 'FORMAL' && t) },
|
|
|
|
271
|
- { ...this.buttons[11], visible: (s === 'STANDARD' && t) },
|
|
|
|
272
|
- { ...this.buttons[12], visible: (s === 'STANDARD' && a) },
|
261
|
+ { ...this.buttons[0], visible: (s === 'DRAFT') }, //编辑
|
|
|
|
262
|
+ { ...this.buttons[1], visible: (s === 'DRAFT') }, //删除
|
|
|
|
263
|
+ { ...this.buttons[2], visible: (s === 'FORMAL' && !l) }, //锁价
|
|
|
|
264
|
+ { ...this.buttons[3], visible: ((s === 'DRAFT' || s === 'FORMAL') && t !== 'AUDIT' && t !== 'PASS') },
|
|
|
|
265
|
+ { ...this.buttons[4], visible: (s === 'STANDARD' && t !== 'AUDIT' && t !== 'PASS') },
|
|
|
|
266
|
+ { ...this.buttons[5], visible: (s === 'STANDARD' && a !== 'AUDIT' && a !== 'PASS') },
|
|
|
|
267
|
+ { ...this.buttons[6], visible: (s === 'FORMAL' && e && t === 'AUDIT') },
|
|
|
|
268
|
+ { ...this.buttons[7], visible: (s === 'STANDARD' && e && t === 'AUDIT') },
|
|
|
|
269
|
+ { ...this.buttons[8], visible: (s === 'STANDARD' && f && a === 'AUDIT') },
|
|
|
|
270
|
+ { ...this.buttons[9], visible: (s === 'FORMAL' && t) },
|
|
|
|
271
|
+ { ...this.buttons[10], visible: (s === 'STANDARD' && t) },
|
|
|
|
272
|
+ { ...this.buttons[11], visible: (s === 'STANDARD' && a) },
|
|
273
|
]
|
273
|
]
|
|
274
|
}
|
274
|
}
|
|
275
|
},
|
275
|
},
|
|
@@ -411,6 +411,7 @@ export default { |
|
@@ -411,6 +411,7 @@ export default { |
|
411
|
uni.navigateTo({ url: '/pages/flow/audit' })
|
411
|
uni.navigateTo({ url: '/pages/flow/audit' })
|
|
412
|
},
|
412
|
},
|
|
413
|
onAuditDetail(id, type) {
|
413
|
onAuditDetail(id, type) {
|
|
|
|
414
|
+ console.log('审核详情__id', id)
|
|
414
|
const CACHE_KEY = 'sourceBusinessId'
|
415
|
const CACHE_KEY = 'sourceBusinessId'
|
|
415
|
const TYPE = 'contractType'
|
416
|
const TYPE = 'contractType'
|
|
416
|
uni.setStorageSync(TYPE, type)
|
417
|
uni.setStorageSync(TYPE, type)
|