|
@@ -409,7 +409,7 @@
|
|
grossWeight: '',
|
|
grossWeight: '',
|
|
tare: '',
|
|
tare: '',
|
|
inOutDate: '',
|
|
inOutDate: '',
|
|
- selfLoading: "0",
|
|
|
|
|
|
+ selfLoading: '0',
|
|
},
|
|
},
|
|
weightbills: {},
|
|
weightbills: {},
|
|
historyList: [],
|
|
historyList: [],
|
|
@@ -441,8 +441,8 @@
|
|
value: '3',
|
|
value: '3',
|
|
},
|
|
},
|
|
],
|
|
],
|
|
- tare: "0", //显示的皮重
|
|
|
|
- carChange1: "手动填写",
|
|
|
|
|
|
+ tare: '0', //显示的皮重
|
|
|
|
+ carChange1: '手动填写',
|
|
carjudge: false,
|
|
carjudge: false,
|
|
options2: [],
|
|
options2: [],
|
|
}
|
|
}
|
|
@@ -484,11 +484,11 @@
|
|
carNoTypeChange() {
|
|
carNoTypeChange() {
|
|
this.carjudge = !this.carjudge
|
|
this.carjudge = !this.carjudge
|
|
if (!this.carjudge) {
|
|
if (!this.carjudge) {
|
|
- this.deptBudgetList.selfLoading = "0"
|
|
|
|
- this.carChange1 = "手动填写"
|
|
|
|
|
|
+ this.deptBudgetList.selfLoading = '0'
|
|
|
|
+ this.carChange1 = '手动填写'
|
|
} else {
|
|
} else {
|
|
- this.deptBudgetList.selfLoading = "1"
|
|
|
|
- this.carChange1 = "识别下拉"
|
|
|
|
|
|
+ this.deptBudgetList.selfLoading = '1'
|
|
|
|
+ this.carChange1 = '识别下拉'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
setVal(data) {
|
|
setVal(data) {
|
|
@@ -708,7 +708,7 @@
|
|
if (
|
|
if (
|
|
this.information == '毛重检斤' &&
|
|
this.information == '毛重检斤' &&
|
|
(this.deptBudgetList.grossWeight <= 0 ||
|
|
(this.deptBudgetList.grossWeight <= 0 ||
|
|
- this.deptBudgetList.grossWeight > 200000 ||
|
|
|
|
|
|
+ this.deptBudgetList.grossWeight > 800000000 ||
|
|
(String(this.deptBudgetList.grossWeight).indexOf('.') != -1 &&
|
|
(String(this.deptBudgetList.grossWeight).indexOf('.') != -1 &&
|
|
String(this.deptBudgetList.grossWeight).length -
|
|
String(this.deptBudgetList.grossWeight).length -
|
|
(String(this.deptBudgetList.grossWeight).indexOf('.') + 1) >
|
|
(String(this.deptBudgetList.grossWeight).indexOf('.') + 1) >
|
|
@@ -730,7 +730,7 @@
|
|
if (
|
|
if (
|
|
this.information == '皮重检斤' &&
|
|
this.information == '皮重检斤' &&
|
|
(this.deptBudgetList.tare < 0 ||
|
|
(this.deptBudgetList.tare < 0 ||
|
|
- this.deptBudgetList.tare > 200000 ||
|
|
|
|
|
|
+ this.deptBudgetList.tare > 8000000 ||
|
|
(String(this.deptBudgetList.tare).indexOf('.') != -1 &&
|
|
(String(this.deptBudgetList.tare).indexOf('.') != -1 &&
|
|
String(this.deptBudgetList.tare).length -
|
|
String(this.deptBudgetList.tare).length -
|
|
(String(this.deptBudgetList.tare).indexOf('.') + 1) >
|
|
(String(this.deptBudgetList.tare).indexOf('.') + 1) >
|
|
@@ -1022,7 +1022,7 @@
|
|
}
|
|
}
|
|
if (
|
|
if (
|
|
this.deptBudgetList.grossWeight <= 0 ||
|
|
this.deptBudgetList.grossWeight <= 0 ||
|
|
- this.deptBudgetList.grossWeight > 5000000 ||
|
|
|
|
|
|
+ this.deptBudgetList.grossWeight > 800000000 ||
|
|
(String(this.deptBudgetList.grossWeight).indexOf('.') != -1 &&
|
|
(String(this.deptBudgetList.grossWeight).indexOf('.') != -1 &&
|
|
String(this.deptBudgetList.grossWeight).length -
|
|
String(this.deptBudgetList.grossWeight).length -
|
|
(String(this.deptBudgetList.grossWeight).indexOf('.') + 1) >
|
|
(String(this.deptBudgetList.grossWeight).indexOf('.') + 1) >
|
|
@@ -1043,7 +1043,7 @@
|
|
}
|
|
}
|
|
if (
|
|
if (
|
|
this.deptBudgetList.tare < 0 ||
|
|
this.deptBudgetList.tare < 0 ||
|
|
- this.deptBudgetList.tare > 500000 ||
|
|
|
|
|
|
+ this.deptBudgetList.tare > 800000 ||
|
|
(String(this.deptBudgetList.tare).indexOf('.') != -1 &&
|
|
(String(this.deptBudgetList.tare).indexOf('.') != -1 &&
|
|
String(this.deptBudgetList.tare).length -
|
|
String(this.deptBudgetList.tare).length -
|
|
(String(this.deptBudgetList.tare).indexOf('.') + 1) >
|
|
(String(this.deptBudgetList.tare).indexOf('.') + 1) >
|
|
@@ -1064,7 +1064,7 @@
|
|
}
|
|
}
|
|
if (
|
|
if (
|
|
this.deptBudgetList.netWeight <= 0 ||
|
|
this.deptBudgetList.netWeight <= 0 ||
|
|
- this.deptBudgetList.netWeight >= 5000000
|
|
|
|
|
|
+ this.deptBudgetList.netWeight >= 5000000000
|
|
) {
|
|
) {
|
|
this.$message({
|
|
this.$message({
|
|
message: '净重输入错误!',
|
|
message: '净重输入错误!',
|
|
@@ -1442,7 +1442,7 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (!this.carstatus) { //若自运的合同该字段置空
|
|
if (!this.carstatus) { //若自运的合同该字段置空
|
|
- this.deptBudgetList.selfLoading = ""
|
|
|
|
|
|
+ this.deptBudgetList.selfLoading = ''
|
|
}
|
|
}
|
|
this.$confirm(`确定提交出库信息`, {
|
|
this.$confirm(`确定提交出库信息`, {
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|