Commit 1bacb86c authored by dragondean@qq.com's avatar dragondean@qq.com

路线价格单询和空运新建关闭后菜单新建运输方式NaN的bug

parent 8750ea34
......@@ -941,7 +941,7 @@ export default {
this.getOrder()
}
if(this.$route.query.transportType != this.transportId){
this.set(this.form.transportId, +this.$route.query.transportType)
this.set(this.form.transportId, +this.$route.query.transportType || null)
}
// 变更出货渠道
......
......@@ -251,8 +251,8 @@
</el-form-item>
</template>
<el-form-item :label="$t('是否询')" prop="inquiry">
<dict-selector :type="DICT_TYPE.NEED_ORDER_INQUIRY" v-model="form.needOrderInquiry" form-type="radio"></dict-selector>
<el-form-item :label="$t('是否询')" prop="inquiry">
<dict-selector :type="DICT_TYPE.NEED_ORDER_INQUIRY" v-model="form.needOrderInquiry" form-type="radio" formatter="number"></dict-selector>
</el-form-item>
</el-card>
</el-form>
......@@ -373,7 +373,9 @@ export default {
form: {
minWeightUnit: 0,
priceStepList: [], // 阶梯价格
specialList: []
specialList: [],
// 是否单询,默认否
needOrderInquiry: '0'
},
needPay: false, // 是否需要预付
stepPrice: false, // 是否阶梯订单
......@@ -608,7 +610,9 @@ export default {
clearancePrice: 0,
transportPrice: 0,
minWeight: 0,
minWeightUnit: null
minWeightUnit: null,
// 是否单询,默认否
needOrderInquiry: 0
}
// 默认体积单位(立方米)
this.setDefaultVolumeUnit(7)
......
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