|
|
@@ -154,6 +154,8 @@
|
|
|
import processSubmitDialog from '@/BIZComponents/processSubmitDialog/processSubmitDialog.vue';
|
|
|
import { getCode } from '@/api/login/index';
|
|
|
import { contactDetail } from '@/api/saleManage/contact';
|
|
|
+ import { getWarehouseListByIds } from '@/api/purchasingManage/returnGoods';
|
|
|
+
|
|
|
export default {
|
|
|
props: {
|
|
|
addOrEditDialogFlag: Boolean
|
|
|
@@ -405,6 +407,10 @@
|
|
|
this.businessId || res
|
|
|
);
|
|
|
this.processSubmitDialogFlag = true;
|
|
|
+ let storemanIds = '';
|
|
|
+ let ids = data.productList.map((item) => item.warehouseId);
|
|
|
+ let warehouseList = await getWarehouseListByIds(ids || []);
|
|
|
+ storemanIds = warehouseList.map((item) => item.ownerId);
|
|
|
|
|
|
this.$nextTick(() => {
|
|
|
let params = {
|
|
|
@@ -413,8 +419,9 @@
|
|
|
formCreateUserId: data.createUserId,
|
|
|
variables: {
|
|
|
businessCode: data.code,
|
|
|
- businessName: data.contactName,
|
|
|
- businessType: '受托收货单'
|
|
|
+ businessType: '受托收货',
|
|
|
+ storemanIds: storemanIds.toString(),
|
|
|
+ businessName: data.productNames
|
|
|
}
|
|
|
// callBackMethodType : '1',
|
|
|
// callBackMethod : 'proTargetPlanApproveApiImpl.updatePlanApprovalStatus',
|