|
@@ -478,11 +478,11 @@ export const BillModalMixin = {
|
|
|
async setProPosition(barCode, depotId, event){
|
|
|
const { row, column, value, target } = event
|
|
|
findStockByDepotAndBarCode({ depotId: depotId, barCode: barCode }).then(res => {
|
|
|
- const {position,stock} = res.data
|
|
|
+ const {position='',stock} = res.data
|
|
|
target.setValues([
|
|
|
{
|
|
|
rowKey: row.id,
|
|
|
- values: { position,inventory: stock },
|
|
|
+ values: { position:position,inventory: stock },
|
|
|
},
|
|
|
])
|
|
|
target.$forceUpdate()
|