|
@@ -12,7 +12,6 @@
|
|
|
<template slot="label"> 转单类型 </template>
|
|
|
<el-input disabled size="small" v-model="form.changeType"></el-input>
|
|
|
</el-descriptions-item>
|
|
|
-
|
|
|
<el-descriptions-item>
|
|
|
<template slot="label"> 申请单位 </template>
|
|
|
<el-input disabled size="small" v-model="form.websitName"></el-input>
|
|
@@ -156,7 +155,18 @@ export default {
|
|
|
changeSalesNo: this.item.changeSalesNo
|
|
|
})
|
|
|
.then(res => {
|
|
|
- this.form = res.data
|
|
|
+ // this.form = res.data
|
|
|
+ this.form = {
|
|
|
+ ...res.data,
|
|
|
+ changeType:
|
|
|
+ {
|
|
|
+ OUTSIDE_TO_SALES: '保外新件转销售',
|
|
|
+ CHANGE_SALES: '新件转销售',
|
|
|
+ NEW_REFUND: '新件返还',
|
|
|
+ OLD_REFUND: '旧件返还',
|
|
|
+ SALES: '销售'
|
|
|
+ }?.[res.data.changeType] || ''
|
|
|
+ }
|
|
|
if (this.type === 1) {
|
|
|
this.form.examineBy = this.$store.getters.name
|
|
|
this.form.flag = this.t1options.find(item => item.value === this.form.flag) ? this.form.flag : ''
|