|
|
@@ -1601,37 +1601,37 @@ export default {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
- if (!verifyEnglish(this.form.detail.hshipperDetails)) {
|
|
|
- msgsList.push("发货人");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.detail.hconsigneeDetails)) {
|
|
|
- msgsList.push("收货人");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.detail.hnotifyDetails)) {
|
|
|
- msgsList.push("通知人");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.detail.mshipperDetails)) {
|
|
|
- msgsList.push("MBL 发货人");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.detail.mconsigneeDetails)) {
|
|
|
- msgsList.push("MBL 收货人");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.detail.mnotifyDetails)) {
|
|
|
- msgsList.push("MBL 通知人");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.marks)) {
|
|
|
- msgsList.push("唛头");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.commodityDescr)) {
|
|
|
- msgsList.push("货描");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.forwarding)) {
|
|
|
- msgsList.push("FORWARDING");
|
|
|
- }
|
|
|
- if (msgsList.length > 0) {
|
|
|
- this.$message.error(`请正确输入${msgsList.join(",")}的英文`);
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if (!verifyEnglish(this.form.detail.hshipperDetails)) {
|
|
|
+ // msgsList.push("发货人");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.detail.hconsigneeDetails)) {
|
|
|
+ // msgsList.push("收货人");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.detail.hnotifyDetails)) {
|
|
|
+ // msgsList.push("通知人");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.detail.mshipperDetails)) {
|
|
|
+ // msgsList.push("MBL 发货人");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.detail.mconsigneeDetails)) {
|
|
|
+ // msgsList.push("MBL 收货人");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.detail.mnotifyDetails)) {
|
|
|
+ // msgsList.push("MBL 通知人");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.marks)) {
|
|
|
+ // msgsList.push("唛头");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.commodityDescr)) {
|
|
|
+ // msgsList.push("货描");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.forwarding)) {
|
|
|
+ // msgsList.push("FORWARDING");
|
|
|
+ // }
|
|
|
+ // if (msgsList.length > 0) {
|
|
|
+ // this.$message.error(`请正确输入${msgsList.join(",")}的英文`);
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
this.saveLoading = true;
|
|
|
editypesSendingEdi(row)
|
|
|
.then(res => {
|
|
|
@@ -2553,39 +2553,39 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
- console.log(this.form.detail);
|
|
|
- if (!verifyEnglish(this.form.detail.hshipperDetails)) {
|
|
|
- msgsList.push("发货人");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.detail.hconsigneeDetails)) {
|
|
|
- msgsList.push("收货人");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.detail.hnotifyDetails)) {
|
|
|
- msgsList.push("通知人");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.detail.mshipperDetails)) {
|
|
|
- msgsList.push("MBL 发货人");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.detail.mconsigneeDetails)) {
|
|
|
- msgsList.push("MBL 收货人");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.detail.mnotifyDetails)) {
|
|
|
- msgsList.push("MBL 通知人");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.marks)) {
|
|
|
- msgsList.push("唛头");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.commodityDescr)) {
|
|
|
- msgsList.push("货描");
|
|
|
- }
|
|
|
- if (!verifyEnglish(this.form.forwarding)) {
|
|
|
- msgsList.push("FORWARDING");
|
|
|
- }
|
|
|
- if (msgsList.length > 0) {
|
|
|
- // this.$message.error(`请正确输入${msgsList.join(",")}的英文`);
|
|
|
- this.$message.error(`${msgsList.join(",")}存在非英文字符,如汉字等,请修正后再保存!`);
|
|
|
- return;
|
|
|
- }
|
|
|
+ // console.log(this.form.detail);
|
|
|
+ // if (!verifyEnglish(this.form.detail.hshipperDetails)) {
|
|
|
+ // msgsList.push("发货人");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.detail.hconsigneeDetails)) {
|
|
|
+ // msgsList.push("收货人");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.detail.hnotifyDetails)) {
|
|
|
+ // msgsList.push("通知人");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.detail.mshipperDetails)) {
|
|
|
+ // msgsList.push("MBL 发货人");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.detail.mconsigneeDetails)) {
|
|
|
+ // msgsList.push("MBL 收货人");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.detail.mnotifyDetails)) {
|
|
|
+ // msgsList.push("MBL 通知人");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.marks)) {
|
|
|
+ // msgsList.push("唛头");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.commodityDescr)) {
|
|
|
+ // msgsList.push("货描");
|
|
|
+ // }
|
|
|
+ // if (!verifyEnglish(this.form.forwarding)) {
|
|
|
+ // msgsList.push("FORWARDING");
|
|
|
+ // }
|
|
|
+ // if (msgsList.length > 0) {
|
|
|
+ // // this.$message.error(`请正确输入${msgsList.join(",")}的英文`);
|
|
|
+ // this.$message.error(`${msgsList.join(",")}存在非英文字符,如汉字等,请修正后再保存!`);
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
}
|
|
|
this.form.detail.hshipperDetails = this.getTextTirim(this.form.detail.hshipperDetails);
|
|
|
this.form.detail.hconsigneeDetails = this.getTextTirim(this.form.detail.hconsigneeDetails);
|