Commit 60a0461a authored by 我在何方's avatar 我在何方

编辑订单关联报价单优化

parent 8f83366a
...@@ -449,7 +449,9 @@ ...@@ -449,7 +449,9 @@
</el-form-item> </el-form-item>
</div> </div>
<el-form-item :label="$t('关联报价单')" prop="offerId"> <el-form-item :label="$t('关联报价单')" prop="offerId">
<span v-if="offerIdNochange&&offerNumber">{{offerNumber}}</span>
<el-select <el-select
v-else
v-model="form.offerId" v-model="form.offerId"
filterable filterable
clearable clearable
...@@ -682,7 +684,8 @@ export default { ...@@ -682,7 +684,8 @@ export default {
initing: true, // 初始化中, initing: true, // 初始化中,
updateChannel: false, // 是否更新渠道 updateChannel: false, // 是否更新渠道
offerData: [],// 关联报价单 offerData: [],// 关联报价单
offerIdNochange:false offerIdNochange:false,
offerNumber:null
}; };
}, },
computed:{ computed:{
...@@ -1451,6 +1454,7 @@ export default { ...@@ -1451,6 +1454,7 @@ export default {
that.offerData.push(response.data) that.offerData.push(response.data)
} }
that.offerIdNochange = true that.offerIdNochange = true
that.offerNumber = response.data.number
that.$set(that.form, 'offerId', response.data.offerId) that.$set(that.form, 'offerId', response.data.offerId)
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment