Showing
1 changed file
with
6 additions
and
1 deletions
| ... | ... | @@ -5,6 +5,8 @@ |
| 5 | 5 | <view class="section"> |
| 6 | 6 | <text class="row company">{{ form.orderNo }}</text> |
| 7 | 7 | <view :class="['status', `status_${form.status}`]" /> |
| 8 | + <view class="row"><text class="label">合同类型</text><text class="value">{{ getDicName('CONTRACT_TYPE',form.contractType, dicOptions.CONTRACT_TYPE) }}</text></view> | |
| 9 | + | |
| 8 | 10 | <view class="row"> |
| 9 | 11 | <text class="label">审核状态</text> |
| 10 | 12 | <text class="value" :class="['status2', `status2_${form.examineStatus}`]"> |
| ... | ... | @@ -121,6 +123,7 @@ export default { |
| 121 | 123 | AUDIT_STATUS: [], |
| 122 | 124 | SUPPLIER: [], |
| 123 | 125 | APPLICABLE_STANDARD: [], |
| 126 | + CONTRACT_TYPE: [], | |
| 124 | 127 | }, |
| 125 | 128 | } |
| 126 | 129 | }, |
| ... | ... | @@ -267,16 +270,18 @@ export default { |
| 267 | 270 | }, |
| 268 | 271 | |
| 269 | 272 | loadAllDicData() { |
| 270 | - const dicCodes = ['AUDIT_STATUS', 'SUPPLIER', 'APPLICABLE_STANDARD'] | |
| 273 | + const dicCodes = ['AUDIT_STATUS', 'SUPPLIER', 'APPLICABLE_STANDARD', 'CONTRACT_TYPE'] | |
| 271 | 274 | return getDicByCodes(dicCodes).then(results => { |
| 272 | 275 | this.dicOptions.AUDIT_STATUS = results.AUDIT_STATUS.data || [] |
| 273 | 276 | this.dicOptions.SUPPLIER = results.SUPPLIER.data || [] |
| 274 | 277 | this.dicOptions.APPLICABLE_STANDARD = results.APPLICABLE_STANDARD.data || [] |
| 278 | + this.dicOptions.CONTRACT_TYPE = results.CONTRACT_TYPE.data || [] | |
| 275 | 279 | }).catch(() => { |
| 276 | 280 | this.dicOptions = { |
| 277 | 281 | AUDIT_STATUS: [], |
| 278 | 282 | SUPPLIER: [], |
| 279 | 283 | APPLICABLE_STANDARD: [], |
| 284 | + CONTRACT_TYPE: [], | |
| 280 | 285 | } |
| 281 | 286 | }) |
| 282 | 287 | }, | ... | ... |