|
@@ -213,6 +213,12 @@
|
|
|
inOutType: "请选择出库类型",
|
|
|
warehouseInOutDetail: {},
|
|
|
gradeKey: "",
|
|
|
+ grossWeight: 0,
|
|
|
+ tare: 0,
|
|
|
+ // buckleWeightRatio: 0,
|
|
|
+ // solidGrainWater: 0,
|
|
|
+ // tidalGrainWater: 0,
|
|
|
+ // pureWeight: 0,
|
|
|
},
|
|
|
params: {
|
|
|
year: true,
|
|
@@ -223,7 +229,7 @@
|
|
|
// second: true
|
|
|
},
|
|
|
// inOutDate: "请选择出库日期",
|
|
|
- netWeight: ""
|
|
|
+ netWeight: 0,
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -265,8 +271,10 @@
|
|
|
this.detailData.inOutDate = _day.getFullYear() + "-" + (_day.getMonth() + 1) + "-" + _day.getDate();
|
|
|
//出库类型
|
|
|
this.outWarehouse()
|
|
|
+ this.detailData.agent = helper.erpWarehouse.personCharge
|
|
|
//经办人
|
|
|
this.handler()
|
|
|
+
|
|
|
},
|
|
|
methods: {
|
|
|
//计算纯重
|
|
@@ -549,7 +557,8 @@
|
|
|
this.$api.msg('霉变粒占比输入错误')
|
|
|
return
|
|
|
}
|
|
|
- if (String(this.detailData.warehouseInOutDetail.mildewGrain).indexOf('.') != -1 && String(this.detailData
|
|
|
+ if (String(this.detailData.warehouseInOutDetail.mildewGrain).indexOf('.') != -1 && String(this
|
|
|
+ .detailData
|
|
|
.warehouseInOutDetail.mildewGrain).length - (String(
|
|
|
this.detailData.warehouseInOutDetail.mildewGrain).indexOf('.') + 1) > 1) {
|
|
|
this.$api.msg('霉变粒占比输入错误')
|
|
@@ -562,7 +571,8 @@
|
|
|
this.$api.msg('不完善粒占比输入错误')
|
|
|
return
|
|
|
}
|
|
|
- if (String(this.detailData.warehouseInOutDetail.imperfectGrain).indexOf('.') != -1 && String(this.detailData
|
|
|
+ if (String(this.detailData.warehouseInOutDetail.imperfectGrain).indexOf('.') != -1 && String(this
|
|
|
+ .detailData
|
|
|
.warehouseInOutDetail.imperfectGrain).length - (String(
|
|
|
this.detailData.warehouseInOutDetail.imperfectGrain).indexOf('.') + 1) > 1) {
|
|
|
this.$api.msg('不完善粒占比输入错误')
|