Browse Source

2025-12-09

pda采购退货明细信息增加partNo条件
master
fengyuan_yang 1 month ago
parent
commit
a4247b5b5a
  1. 5
      src/views/modules/purchase-return/purchaseReturnDetail.vue

5
src/views/modules/purchase-return/purchaseReturnDetail.vue

@ -211,6 +211,7 @@ export default {
relatedNo: '', relatedNo: '',
relatedLineNo: '', relatedLineNo: '',
buNo: '', buNo: '',
partNo: '',
showMaterialDialog: false, showMaterialDialog: false,
materialList: [], materialList: [],
materialListLoading: false, materialListLoading: false,
@ -432,6 +433,7 @@ export default {
buNo: this.buNo, buNo: this.buNo,
warehouseId: getCurrentWarehouse(), warehouseId: getCurrentWarehouse(),
site: localStorage.getItem('site'), site: localStorage.getItem('site'),
partNo: this.partNo
}; };
getReturnDetails(params).then(({ data }) => { getReturnDetails(params).then(({ data }) => {
@ -484,7 +486,8 @@ export default {
this.buNo = this.$route.params.buNo; this.buNo = this.$route.params.buNo;
this.relatedNo = this.$route.params.relatedNo || ''; this.relatedNo = this.$route.params.relatedNo || '';
this.relatedLineNo = this.$route.params.relatedLineNo || ''; this.relatedLineNo = this.$route.params.relatedLineNo || '';
this.partNo = this.$route.params.partNo || '';
if (!this.returnNo || !this.buNo) { if (!this.returnNo || !this.buNo) {
this.$message.error('参数错误'); this.$message.error('参数错误');
this.$router.back(); this.$router.back();

Loading…
Cancel
Save