Browse Source

修改目标库位库存状态

hella_online_20240821
lijuncheng 3 months ago
parent
commit
7da4d1171f
  1. 15
      src/pages/customerReturn/record/returnRecord.vue

15
src/pages/customerReturn/record/returnRecord.vue

@ -9,7 +9,9 @@
<view class="detail-list" v-for="(item, index) in detailSource" :key="item.id"> <view class="detail-list" v-for="(item, index) in detailSource" :key="item.id">
<view class=""> <view class="">
<record-com-detail-card :dataContent="item" :index="index" :isShowLocation="true" <record-com-detail-card :dataContent="item" :index="index" :isShowLocation="true"
@removeItem="removeItem(index,item)" @updateData="updateData" @removePack="removePack"> @removeItem="removeItem(index,item)"
:isShowParentToLocation="false"
@updateData="updateData" @removePack="removePack">
</record-com-detail-card> </record-com-detail-card>
</view> </view>
</view> </view>
@ -104,6 +106,7 @@
toLocationAreaTypeList: [], toLocationAreaTypeList: [],
managementList: [], managementList: [],
toWarehouseCode: '', toWarehouseCode: '',
toInventoryStatuses:""
}; };
}, },
onLoad(option) { onLoad(option) {
@ -116,6 +119,7 @@
this.businessType = res.businessType; this.businessType = res.businessType;
this.fromLocationAreaTypeList = res.fromLocationAreaTypeList; this.fromLocationAreaTypeList = res.fromLocationAreaTypeList;
this.toLocationAreaTypeList = res.toLocationAreaTypeList; this.toLocationAreaTypeList = res.toLocationAreaTypeList;
this.toInventoryStatuses =res.toInventoryStatuses
this.showFromLocationPopup(); this.showFromLocationPopup();
} else { } else {
this.showErrorMessage(res.message) this.showErrorMessage(res.message)
@ -329,7 +333,7 @@
submitItem.itemDesc2 = detail.package.itemDesc2; submitItem.itemDesc2 = detail.package.itemDesc2;
submitItem.inventoryStatus = detail.inventoryStatus; submitItem.inventoryStatus = detail.inventoryStatus;
submitItem.toInventoryStatus = detail.inventoryStatus; submitItem.toInventoryStatus = this.toInventoryStatuses;
submitItem.fromPackingNumber = info.packingNumber; submitItem.fromPackingNumber = info.packingNumber;
submitItem.toPackingNumber = info.packingNumber; submitItem.toPackingNumber = info.packingNumber;
@ -363,13 +367,6 @@
if (res) {} if (res) {}
}); });
}, },
showErrorMessage(message) {
this.$refs.comMessage.showErrorMessage(message, res => {
if (res) {
}
});
},
showScanMessage(message) { showScanMessage(message) {
this.$refs.comMessage.showScanMessage(message); this.$refs.comMessage.showScanMessage(message);

Loading…
Cancel
Save