소스 검색

fix:修改

maliang 1 주 전
부모
커밋
b79339ca75
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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()