|
@@ -746,6 +746,7 @@
|
|
},
|
|
},
|
|
],
|
|
],
|
|
cangid: '',
|
|
cangid: '',
|
|
|
|
+
|
|
inType:""//入库类型
|
|
inType:""//入库类型
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -827,8 +828,8 @@
|
|
|
|
|
|
// this.gridList.customerNumberCard = _customerInfo.customerNumberCard
|
|
// this.gridList.customerNumberCard = _customerInfo.customerNumberCard
|
|
// }
|
|
// }
|
|
- this.gridList.grade = this.gradeList[0].value
|
|
|
|
- this.gridList.gradeKey = this.gradeList[0].key
|
|
|
|
|
|
+ this.gridList.grade = this.gradeList[1].value
|
|
|
|
+ this.gridList.gradeKey = this.gradeList[1].key
|
|
|
|
|
|
this.$api.doRequest('get', '/qualityInspectionManagement/api/goodsName', {
|
|
this.$api.doRequest('get', '/qualityInspectionManagement/api/goodsName', {
|
|
warehouseId: this.cangid
|
|
warehouseId: this.cangid
|
|
@@ -1083,6 +1084,8 @@
|
|
// number = number.substring(number.length - 4, number.length)
|
|
// number = number.substring(number.length - 4, number.length)
|
|
// this.gridList.qualityNo = 'SGRK' + this.getdate() + this.commonWarehouseNo + number
|
|
// this.gridList.qualityNo = 'SGRK' + this.getdate() + this.commonWarehouseNo + number
|
|
}
|
|
}
|
|
|
|
+ this.gridList.grade = this.gradeList[1].value
|
|
|
|
+ this.gridList.gradeKey = this.gradeList[1].key
|
|
this.$api.doRequest('get', '/inOutWarehouseTask/selectInOutWarehouseNo', {
|
|
this.$api.doRequest('get', '/inOutWarehouseTask/selectInOutWarehouseNo', {
|
|
flag: this.flag,
|
|
flag: this.flag,
|
|
warehouseName: this.gridList.warehouseName
|
|
warehouseName: this.gridList.warehouseName
|
|
@@ -1155,8 +1158,16 @@
|
|
this.gridList.goodsName = this.taskNolist[e[0]].goodsName
|
|
this.gridList.goodsName = this.taskNolist[e[0]].goodsName
|
|
if (this.taskNolist[e[0]].goodsName.indexOf("潮粮") != -1) { //收购从合同中带出货名 单价等信息 用货名是否带有潮粮字符来判断干潮类型
|
|
if (this.taskNolist[e[0]].goodsName.indexOf("潮粮") != -1) { //收购从合同中带出货名 单价等信息 用货名是否带有潮粮字符来判断干潮类型
|
|
this.gridList.type = "潮粮"
|
|
this.gridList.type = "潮粮"
|
|
|
|
+ this.gridList.imperfectGrain=8
|
|
|
|
+ this.gridList.impurity=1
|
|
|
|
+ this.gridList.mildewGrain=2
|
|
|
|
+ this.gridList.jiaorenli=0
|
|
} else {
|
|
} else {
|
|
this.gridList.type = "干粮"
|
|
this.gridList.type = "干粮"
|
|
|
|
+ this.gridList.imperfectGrain=8
|
|
|
|
+ this.gridList.impurity=1
|
|
|
|
+ this.gridList.mildewGrain=2
|
|
|
|
+ this.gridList.jiaorenli=1
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (this.taskNolist[e[0]].contractNo) {
|
|
if (this.taskNolist[e[0]].contractNo) {
|
|
@@ -1205,6 +1216,10 @@
|
|
this.gridList.goodsName = this.contractNolist.goodsName
|
|
this.gridList.goodsName = this.contractNolist.goodsName
|
|
if (this.gridList.goodsName == '玉米') {
|
|
if (this.gridList.goodsName == '玉米') {
|
|
this.gridList.type = '干粮'
|
|
this.gridList.type = '干粮'
|
|
|
|
+ this.gridList.imperfectGrain=8
|
|
|
|
+ this.gridList.impurity=1
|
|
|
|
+ this.gridList.mildewGrain=2
|
|
|
|
+ this.gridList.jiaorenli=1
|
|
if (this.contractNolist.priceType != '随行就市') {
|
|
if (this.contractNolist.priceType != '随行就市') {
|
|
this.gridList.dryGrainPrice = this.contractNolist.contractPrice
|
|
this.gridList.dryGrainPrice = this.contractNolist.contractPrice
|
|
}
|
|
}
|
|
@@ -1216,9 +1231,16 @@
|
|
this.gridList.tidalGrainPrice = this.contractNolist.contractPrice
|
|
this.gridList.tidalGrainPrice = this.contractNolist.contractPrice
|
|
this.tidalGrainPrice = this.contractNolist.contractPrice
|
|
this.tidalGrainPrice = this.contractNolist.contractPrice
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ this.gridList.imperfectGrain=8
|
|
|
|
+ this.gridList.impurity=1
|
|
|
|
+ this.gridList.mildewGrain=2
|
|
|
|
+ this.gridList.jiaorenli=0
|
|
} else {
|
|
} else {
|
|
this.gridList.type = '干粮'
|
|
this.gridList.type = '干粮'
|
|
|
|
+ this.gridList.imperfectGrain=8
|
|
|
|
+ this.gridList.impurity=1
|
|
|
|
+ this.gridList.mildewGrain=2
|
|
|
|
+ this.gridList.jiaorenli=1
|
|
this.edit = false
|
|
this.edit = false
|
|
if (this.contractNolist.priceType != '随行就市') {
|
|
if (this.contractNolist.priceType != '随行就市') {
|
|
this.gridList.dryGrainPrice = this.contractNolist.contractPrice
|
|
this.gridList.dryGrainPrice = this.contractNolist.contractPrice
|
|
@@ -1226,7 +1248,9 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
this.gridList.goodsNameKey = this.contractNolist.goodsNameKey
|
|
this.gridList.goodsNameKey = this.contractNolist.goodsNameKey
|
|
- this.gridList.grade = this.contractNolist.grade
|
|
|
|
|
|
+ this.gridList.grade = this.gradeList[1].value
|
|
|
|
+ this.gridList.gradeKey = this.gradeList[1].key
|
|
|
|
+ // this.gridList.grade = this.contractNolist.grade
|
|
this.gridList.inOutType = this.contractNolist.inOutType
|
|
this.gridList.inOutType = this.contractNolist.inOutType
|
|
|
|
|
|
if (this.gridList.inOutType == '采购入库') {
|
|
if (this.gridList.inOutType == '采购入库') {
|
|
@@ -1544,7 +1568,7 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- if (!this.gridList.jiaorenli) {
|
|
|
|
|
|
+ if (!this.gridList.jiaorenli&&this.gridList.jiaorenli!=0) {
|
|
this.$api.msg('热损伤不能为空')
|
|
this.$api.msg('热损伤不能为空')
|
|
return
|
|
return
|
|
}
|
|
}
|