huangbin 4 năm trước cách đây
mục cha
commit
cf09b547f9

+ 1 - 1
src/views/business/purchase/components/storage/index.vue

@@ -172,7 +172,7 @@ export default defineComponent({
                 DGList.value = res.filter((e) => e.inouttype === 1);
             })
             .catch((err) => message.error(err));
-        const deliverygoods = APP.get('DeliveryGoodsList').find((x: any) => x.deliverygoodsid === props.selectedRow.deliverygoodsid);
+        const deliverygoods = APP.get('DeliveryGoodsList').find((x: any) => x.data.deliverygoodsid === props.selectedRow.deliverygoodsid);
         gblist.value = deliverygoods && deliverygoods.gblist;
         gmlist.value = deliverygoods && deliverygoods.gmlist;
         // 查询仓库信息

+ 1 - 1
src/views/business/sell/components/storage/index.vue

@@ -174,7 +174,7 @@ export default defineComponent({
                 DGList.value = res.filter((e) => e.inouttype === 1);
             })
             .catch((err) => message.error(err));
-        const deliverygoods = APP.get('DeliveryGoodsList').find((x: any) => x.deliverygoodsid === props.selectedRow.deliverygoodsid);
+        const deliverygoods = APP.get('DeliveryGoodsList').find((x: any) => x.data.deliverygoodsid === props.selectedRow.deliverygoodsid);
         gblist.value = deliverygoods && deliverygoods.gblist;
         gmlist.value = deliverygoods && deliverygoods.gmlist;
         // 查询仓库信息