|
@@ -814,7 +814,8 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if(this.gridList.serviceManagementType == 3){ //收购入库 不需在获取价格
|
|
|
+ console.log(this.gridList.serviceManagementType)
|
|
|
+ if(this.gridList.serviceManagementType != 3){ //非收购入库 不需在获取价格
|
|
|
return
|
|
|
}
|
|
|
if (this.gridList.goodsName && this.cangid) {
|
|
@@ -828,15 +829,13 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- var numReg = /^[0-9]*$/
|
|
|
- var numRe = new RegExp(numReg)
|
|
|
//潮粮单价改变事件
|
|
|
if (
|
|
|
this.gridList.goodsName &&
|
|
|
this.gridList.waterContent &&
|
|
|
- this.gridList.grade &&
|
|
|
- numRe.test(this.gridList.waterContent)
|
|
|
+ this.gridList.grade
|
|
|
) {
|
|
|
+ console.log('123123')
|
|
|
this.$api.doRequest('get', '/purchasePrice/tidalGrainPrice', {
|
|
|
warehouseId: this.cangid,
|
|
|
goodsName: this.gridList.goodsName,
|