|
@ -389,18 +389,18 @@ |
|
|
"]不一致,是否继续发料?", |
|
|
"]不一致,是否继续发料?", |
|
|
res => { |
|
|
res => { |
|
|
if (res) { |
|
|
if (res) { |
|
|
this.setData(result,data) |
|
|
this.setData(result,data,fromData) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
this.setData(result,data) |
|
|
this.setData(result,data,fromData) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
setData(result,data) { |
|
|
setData(result,data,fromData) { |
|
|
this.getBalance(result, res => { |
|
|
this.getBalance(result, res => { |
|
|
if (res.totalCount > 0) { |
|
|
if (res.totalCount > 0) { |
|
|
var balancesItem = res.items[0]; |
|
|
var balancesItem = res.items[0]; |
|
@ -415,6 +415,7 @@ |
|
|
item.handledToLot = balancesItem.lot |
|
|
item.handledToLot = balancesItem.lot |
|
|
item.handledToWarehouseCode = balancesItem.warehouseCode |
|
|
item.handledToWarehouseCode = balancesItem.warehouseCode |
|
|
item.handledToQty = balancesItem.qty |
|
|
item.handledToQty = balancesItem.qty |
|
|
|
|
|
item.stdPackQty =balancesItem.stdPackQty |
|
|
|
|
|
|
|
|
item.handledFromContainerCode = balancesItem.containerCode |
|
|
item.handledFromContainerCode = balancesItem.containerCode |
|
|
item.handledFromPackingCode = balancesItem.packingCode |
|
|
item.handledFromPackingCode = balancesItem.packingCode |
|
@ -439,7 +440,7 @@ |
|
|
item.handledToLot = balancesItem.lot |
|
|
item.handledToLot = balancesItem.lot |
|
|
item.handledToWarehouseCode = balancesItem.warehouseCode |
|
|
item.handledToWarehouseCode = balancesItem.warehouseCode |
|
|
item.handledToQty = balancesItem.qty |
|
|
item.handledToQty = balancesItem.qty |
|
|
|
|
|
item.stdPackQty =balancesItem.stdPackQty |
|
|
item.handledFromContainerCode = balancesItem.containerCode |
|
|
item.handledFromContainerCode = balancesItem.containerCode |
|
|
item.handledFromPackingCode = balancesItem.packingCode |
|
|
item.handledFromPackingCode = balancesItem.packingCode |
|
|
item.handledFromSupplierBatch = balancesItem.supplierBatch |
|
|
item.handledFromSupplierBatch = balancesItem.supplierBatch |
|
@ -567,7 +568,7 @@ |
|
|
mask: true |
|
|
mask: true |
|
|
}); |
|
|
}); |
|
|
let params = that.details[0]; |
|
|
let params = that.details[0]; |
|
|
// console.log("提交",JSON.stringify(params)) |
|
|
console.log("提交",JSON.stringify(params)) |
|
|
finshInjectionIssueJob(that.id, params.id, params) |
|
|
finshInjectionIssueJob(that.id, params.id, params) |
|
|
.then(res => { |
|
|
.then(res => { |
|
|
uni.hideLoading(); |
|
|
uni.hideLoading(); |
|
|