Commit ce56c108 authored by dcy's avatar dcy

生成特需时付款类型必填

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