Commit ce56c108 authored by dcy's avatar dcy

生成特需时付款类型必填

parent 6f422449
......@@ -88,6 +88,7 @@ export default {
p1.push(item)
}
})
if(p1.every(i => Number(i.transFee) > 0 )){
specialNeedCreate(p1).then(r=>{
if(r.code === 0){
this.$emit('update:show',false)
......@@ -95,6 +96,10 @@ export default {
this.$message.success('提交成功');
}
})
}else {
this.$modal.msg("请输入大于0的金额。");
}
},
},
watch:{
......@@ -105,8 +110,8 @@ export default {
advanceType:r.value,
orderId:this.orderId,
transFee:'',//预计金额
transCurrency:'',//运输费币种
payType:''
transCurrency:1,//运输费币种
payType:'1'
})
})
//特需回显
......
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