Browse Source

contract -> site

master
han\hanst 3 weeks ago
parent
commit
14baa9522e
  1. 7
      src/views/modules/recv/recv.vue

7
src/views/modules/recv/recv.vue

@ -266,7 +266,10 @@ export default {
const sourceRows = data.rows || [];
const authorizedSubSiteCodeList = getAuthorizedSubSiteCodeList(this.$store.state.user.subSiteCodeList);
// sitesitesite
this.poList = filterRowsByAuthorizedSubSite(sourceRows, authorizedSubSiteCodeList, ['contract']);
this.poList = filterRowsByAuthorizedSubSite(sourceRows, authorizedSubSiteCodeList, ['site']);
if (this.poList.length === 0) {
this.$message.warning('未找到匹配的采购订单或您没有权限查看');
}
} else {
this.$message.error(data.msg || '操作失败');
}
@ -544,7 +547,7 @@ export default {
// TransDetailDto
const receiveData = {
//
site: item.contract,
site: item.site,
warehouseId: this.warehouseId,
partNo: item.partNo,
partDesc: item.description,

Loading…
Cancel
Save