maliang 1 hete
szülő
commit
b79339ca75
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      jshERP-web/src/views/bill/mixins/BillModalMixin.js

+ 2 - 2
jshERP-web/src/views/bill/mixins/BillModalMixin.js

@@ -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()