jinhui.wang

文本修改

...@@ -644,7 +644,7 @@ export default { ...@@ -644,7 +644,7 @@ export default {
644 { 644 {
645 required: true, 645 required: true,
646 trigger: "blur", 646 trigger: "blur",
647 - message: "The tracking number cannot be empty!", 647 + message: "Required fields not filled in.",
648 }, 648 },
649 { 649 {
650 validator: (rule, value, callback) => { 650 validator: (rule, value, callback) => {
...@@ -668,16 +668,20 @@ export default { ...@@ -668,16 +668,20 @@ export default {
668 { 668 {
669 required: false, 669 required: false,
670 trigger: "blur", 670 trigger: "blur",
671 - message: "The shipper account cannot be empty!", 671 + message: "Required fields not filled in.",
672 }, 672 },
673 { 673 {
674 validator: (rule, value, callback) => { 674 validator: (rule, value, callback) => {
675 if (value != null && value != "") { 675 if (value != null && value != "") {
676 let reg = /[^\d]/; 676 let reg = /[^\d]/;
677 if (value.length < 9) { 677 if (value.length < 9) {
678 - callback("Shipper accpunt needs to be 9 digits!"); 678 + callback(
679 + "Incorrect Shipper Account(Shipper Account is composed of 9 digits)."
680 + );
679 } else if (reg.test(value)) { 681 } else if (reg.test(value)) {
680 - callback("Shipper accpunt must be a number!"); 682 + callback(
683 + "Incorrect Shipper Account(Shipper Account is composed of 9 digits)."
684 + );
681 } else { 685 } else {
682 callback(); 686 callback();
683 } 687 }
...@@ -692,14 +696,14 @@ export default { ...@@ -692,14 +696,14 @@ export default {
692 { 696 {
693 required: false, 697 required: false,
694 trigger: "change", 698 trigger: "change",
695 - message: "The orgin country/territory cannot be empty!", 699 + message: "Required fields not filled in.",
696 }, 700 },
697 ], 701 ],
698 destinationCountryCode: [ 702 destinationCountryCode: [
699 { 703 {
700 required: false, 704 required: false,
701 trigger: "change", 705 trigger: "change",
702 - message: "The destination country/territory cannot be empty!", 706 + message: "Required fields not filled in.",
703 }, 707 },
704 ], 708 ],
705 }, 709 },
......
...@@ -233,7 +233,7 @@ export default { ...@@ -233,7 +233,7 @@ export default {
233 submitWaybill(obj) 233 submitWaybill(obj)
234 .then((res) => { 234 .then((res) => {
235 if (res.code === 200) { 235 if (res.code === 200) {
236 - this.msgSuccess("Upload success!"); 236 + this.msgSuccess("Submission successful!");
237 setTimeout(() => { 237 setTimeout(() => {
238 this.back(); 238 this.back();
239 this.loadings.headFormLoading = false; 239 this.loadings.headFormLoading = false;
...@@ -248,7 +248,7 @@ export default { ...@@ -248,7 +248,7 @@ export default {
248 this.loadings.headFormLoading = false; 248 this.loadings.headFormLoading = false;
249 }); 249 });
250 } else { 250 } else {
251 - this.msgWarning("Please upload the file!"); 251 + this.msgWarning("Attachment not uploaded.");
252 this.loadings.headFormLoading = false; 252 this.loadings.headFormLoading = false;
253 } 253 }
254 }, 254 },
......
...@@ -185,12 +185,12 @@ export default { ...@@ -185,12 +185,12 @@ export default {
185 }); 185 });
186 if (fileSum + 1 > 100) { 186 if (fileSum + 1 > 100) {
187 if (this.errorTip == "") { 187 if (this.errorTip == "") {
188 - errorTip = "The maximum number of uploaded files is 100!"; 188 + errorTip = "The total number of uploaded files should not exceed 100 files.";
189 this.$message.warning(this.errorTip); 189 this.$message.warning(this.errorTip);
190 } 190 }
191 } else if ((Number(fileSize) + Number(val.size)) / 1024 / 1024 > 95) { 191 } else if ((Number(fileSize) + Number(val.size)) / 1024 / 1024 > 95) {
192 if (this.errorTip == "") { 192 if (this.errorTip == "") {
193 - errorTip = "The maximum total size of uploaded files is 95M!"; 193 + errorTip = "The total size of all uploaded files should not exceed 95MB.";
194 } 194 }
195 } else if (fileNameArray.includes(val.name)) { 195 } else if (fileNameArray.includes(val.name)) {
196 if (this.errorTip == "") { 196 if (this.errorTip == "") {
......