|
@@ -804,6 +804,7 @@ export default {
|
|
// this.podList = response.data;
|
|
// this.podList = response.data;
|
|
// });
|
|
// });
|
|
listRoute({}).then(response => {
|
|
listRoute({}).then(response => {
|
|
|
|
+ response.rows.forEach(item=>item.fId = JSON.stringify(item.fId))
|
|
this.podList = response.rows
|
|
this.podList = response.rows
|
|
});
|
|
});
|
|
this.queryUser();
|
|
this.queryUser();
|
|
@@ -1066,37 +1067,37 @@ export default {
|
|
"海运费第" + (Number(item) + 1) + "行费用不能为空"
|
|
"海运费第" + (Number(item) + 1) + "行费用不能为空"
|
|
);
|
|
);
|
|
}
|
|
}
|
|
- if (!this.detailList[item].fSpecification1) {
|
|
|
|
|
|
+ if (this.detailList[item].fSpecification1.length < 1) {
|
|
return this.$message.error(
|
|
return this.$message.error(
|
|
"海运费第" + (Number(item) + 1) + "行20GP不能为空"
|
|
"海运费第" + (Number(item) + 1) + "行20GP不能为空"
|
|
);
|
|
);
|
|
}
|
|
}
|
|
- if (!this.detailList[item].fSpecification2) {
|
|
|
|
|
|
+ if (this.detailList[item].fSpecification2.length < 1) {
|
|
return this.$message.error(
|
|
return this.$message.error(
|
|
"海运费第" + (Number(item) + 1) + "行40GP不能为空"
|
|
"海运费第" + (Number(item) + 1) + "行40GP不能为空"
|
|
);
|
|
);
|
|
}
|
|
}
|
|
- if (!this.detailList[item].fSpecification3) {
|
|
|
|
|
|
+ if (this.detailList[item].fSpecification3.length < 1) {
|
|
return this.$message.error(
|
|
return this.$message.error(
|
|
"海运费第" + (Number(item) + 1) + "行40HC不能为空"
|
|
"海运费第" + (Number(item) + 1) + "行40HC不能为空"
|
|
);
|
|
);
|
|
}
|
|
}
|
|
- if (!this.detailList[item].fSpecification4) {
|
|
|
|
|
|
+ if (this.detailList[item].fSpecification4.length < 1) {
|
|
return this.$message.error(
|
|
return this.$message.error(
|
|
"海运费第" + (Number(item) + 1) + "行45HC不能为空"
|
|
"海运费第" + (Number(item) + 1) + "行45HC不能为空"
|
|
);
|
|
);
|
|
}
|
|
}
|
|
- if (!this.detailList[item].fSpecification5) {
|
|
|
|
|
|
+ if (this.detailList[item].fSpecification5.length < 1) {
|
|
return this.$message.error(
|
|
return this.$message.error(
|
|
"海运费第" + (Number(item) + 1) + "行20RH不能为空"
|
|
"海运费第" + (Number(item) + 1) + "行20RH不能为空"
|
|
);
|
|
);
|
|
}
|
|
}
|
|
- if (!this.detailList[item].fSpecification6) {
|
|
|
|
|
|
+ if (this.detailList[item].fSpecification6.length < 1) {
|
|
return this.$message.error(
|
|
return this.$message.error(
|
|
"海运费第" + (Number(item) + 1) + "行40RH不能为空"
|
|
"海运费第" + (Number(item) + 1) + "行40RH不能为空"
|
|
);
|
|
);
|
|
}
|
|
}
|
|
- if (!this.detailList[item].fExrate) {
|
|
|
|
|
|
+ if (this.detailList[item].fExrate.length < 1) {
|
|
return this.$message.error(
|
|
return this.$message.error(
|
|
"海运费第" + (Number(item) + 1) + "行汇率不能为空"
|
|
"海运费第" + (Number(item) + 1) + "行汇率不能为空"
|
|
);
|
|
);
|