Commit aa867fbd authored by 邓春圆's avatar 邓春圆

默认值回显

parent 393de5f1
...@@ -324,7 +324,6 @@ ...@@ -324,7 +324,6 @@
</el-form-item> </el-form-item>
<el-form-item :label="$t('是否支持控货')"> <el-form-item :label="$t('是否支持控货')">
<el-radio-group v-model="lineform.controlStatus"> <el-radio-group v-model="lineform.controlStatus">
<el-radio :label="0">支持</el-radio> <el-radio :label="0">支持</el-radio>
<el-radio :label="1">不支持</el-radio> <el-radio :label="1">不支持</el-radio>
</el-radio-group> </el-radio-group>
...@@ -862,6 +861,8 @@ export default { ...@@ -862,6 +861,8 @@ export default {
this.serviceOpen = true; this.serviceOpen = true;
this.lineform.lineId = row.lineId; this.lineform.lineId = row.lineId;
this.lineform.transportType = row.transportType; this.lineform.transportType = row.transportType;
this.lineform.currencyUnit = row.currencyUnit === 0 ? '' : row.currencyUnit
this.lineform.controlStatus = row.controlStatus
}, },
submitLineForm() { submitLineForm() {
......
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