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