Commit 55325d1b authored by wanglh1's avatar wanglh1

校验fix

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