Commit 55325d1b authored by wanglh1's avatar wanglh1

校验fix

parent 12d3c661
...@@ -305,16 +305,16 @@ export default { ...@@ -305,16 +305,16 @@ export default {
}, },
/** 提交 */ /** 提交 */
onSubmit() { onSubmit() {
let flag = false // let flag = false
this.pageData.sectionOrderList.forEach(item=>{ // this.pageData.sectionOrderList.forEach(item=>{
if(![118428,15].includes(item.status)){ // if(![118428,15].includes(item.status)){
flag = true // flag = true
} // }
}) // })
if(flag){ // if(flag){
this.$message.error(this.$t("存在未到港或未清关的订单")); // this.$message.error(this.$t("存在未到港或未清关的订单"));
return // return
} // }
if(this.getUnLoadNumCount>0){ if(this.getUnLoadNumCount>0){
approvalCreate({ approvalCreate({
shipmentId: this.$attrs.shipmentObj.id, shipmentId: this.$attrs.shipmentObj.id,
......
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