|
|
@@ -4892,16 +4892,16 @@ export default {
|
|
|
this.$refs["form"].validate((valid, done) => {
|
|
|
done();
|
|
|
if (valid) {
|
|
|
- if (this.form.polCyTel) {
|
|
|
- if (!/^[1][3,4,5,7,8,9][0-9]{9}$/.test(this.form.polCyTel)) {
|
|
|
- return this.$message.error("请输入正确起运港场站电话");
|
|
|
- }
|
|
|
- }
|
|
|
- if (this.form.podCyTel) {
|
|
|
- if (!/^[1][3,4,5,7,8,9][0-9]{9}$/.test(this.form.podCyTel)) {
|
|
|
- return this.$message.error("请输入正确目的港场站电话");
|
|
|
- }
|
|
|
- }
|
|
|
+ //if (this.form.polCyTel) {
|
|
|
+ // if (!/^[1][3,4,5,7,8,9][0-9]{9}$/.test(this.form.polCyTel)) {
|
|
|
+ // return this.$message.error("请输入正确起运港场站电话");
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // if (this.form.podCyTel) {
|
|
|
+ // if (!/^[1][3,4,5,7,8,9][0-9]{9}$/.test(this.form.podCyTel)) {
|
|
|
+ // return this.$message.error("请输入正确目的港场站电话");
|
|
|
+ // }
|
|
|
+ // }
|
|
|
|
|
|
for (let row of this.form.tradingBoxItemsList) {
|
|
|
if (!row.code || !row.boxType || !row.boxBelongsTo || !row.boxEastName || !row.boxCategory || !row.boxStatus || !row.boxCondition) {
|