Showing
3 changed files
with
3 additions
and
3 deletions
| ... | ... | @@ -314,7 +314,7 @@ export default { |
| 314 | 314 | return [ |
| 315 | 315 | { ...this.buttons[0], visible: (s === 'DRAFT' && this.$auth.hasPermi('contract-manage:foreign-trade-inventory-contract:modify')) }, //编辑 |
| 316 | 316 | { ...this.buttons[1], visible: (s === 'DRAFT' && this.$auth.hasPermi('contract-manage:foreign-trade-inventory-contract:delete')) }, //删除 |
| 317 | - { ...this.buttons[2], visible: (s === 'FORMAL' && !l && this.$auth.hasPermi('contract-manage:foreign-trade-inventory-contract:lock')) }, //锁价 | |
| 317 | + { ...this.buttons[2], visible: (s === 'FORMAL' && this.detail.canPriceLock && !l && this.$auth.hasPermi('contract-manage:foreign-trade-inventory-contract:lock')) }, //锁价 | |
| 318 | 318 | { ...this.buttons[3], visible: ((s === 'DRAFT' || s === 'FORMAL') && t !== 'AUDIT' && t !== 'PASS' && this.$auth.hasPermi('contract-manage:foreign-trade-inventory-contract:upload')) }, |
| 319 | 319 | { ...this.buttons[4], visible: (s === 'STANDARD' && t !== 'AUDIT' && t !== 'PASS' && this.$auth.hasPermi('contract-manage:foreign-trade-inventory-contract:upload')) }, |
| 320 | 320 | { ...this.buttons[5], visible: (s === 'STANDARD' && a !== 'AUDIT' && a !== 'PASS' && this.$auth.hasPermi('contract-manage:foreign-trade-inventory-contract:standard-upload')) }, | ... | ... |
| ... | ... | @@ -305,7 +305,7 @@ export default { |
| 305 | 305 | return [ |
| 306 | 306 | { ...this.buttons[0], visible: (s === 'DRAFT' && this.$auth.hasPermi('contract-manage:distribution-inventory-contract:modify')) }, |
| 307 | 307 | { ...this.buttons[1], visible: (s === 'DRAFT' && this.$auth.hasPermi('contract-manage:distribution-inventory-contract:delete')) }, |
| 308 | - { ...this.buttons[2], visible: (s === 'FORMAL' && !l && this.$auth.hasPermi('contract-manage:distribution-inventory-contract:lock')) }, | |
| 308 | + { ...this.buttons[2], visible: (s === 'FORMAL' && this.detail.canPriceLock && !l && this.$auth.hasPermi('contract-manage:distribution-inventory-contract:lock')) }, | |
| 309 | 309 | { ...this.buttons[3], visible: ((s === 'DRAFT' || s === 'FORMAL') && t !== 'AUDIT' && t !== 'PASS' && this.$auth.hasPermi('contract-manage:distribution-inventory-contract:upload')) }, |
| 310 | 310 | { ...this.buttons[4], visible: (s === 'STANDARD' && t !== 'AUDIT' && t !== 'PASS' && this.$auth.hasPermi('contract-manage:distribution-inventory-contract:upload')) }, |
| 311 | 311 | { ...this.buttons[5], visible: (s === 'STANDARD' && a !== 'AUDIT' && a !== 'PASS' && this.$auth.hasPermi('contract-manage:distribution-inventory-contract:standard-upload')) }, | ... | ... |
| ... | ... | @@ -141,7 +141,7 @@ |
| 141 | 141 | </uni-list-item> |
| 142 | 142 | <uni-list-item title="备注"> |
| 143 | 143 | <template v-slot:footer> |
| 144 | - <view class="readonly-text">{{ form.remarks }}</view> | |
| 144 | + <uni-easyinput type="textarea" v-model="form.remarks" placeholder="请输入备注" :inputBorder="false" /> | |
| 145 | 145 | </template> |
| 146 | 146 | </uni-list-item> |
| 147 | 147 | <view class="footer"> | ... | ... |