|
@@ -3,7 +3,6 @@
|
|
|
<el-form label-width="100px" ref="formRef" :model="form">
|
|
<el-form label-width="100px" ref="formRef" :model="form">
|
|
|
<el-form-item
|
|
<el-form-item
|
|
|
label="审批建议"
|
|
label="审批建议"
|
|
|
-
|
|
|
|
|
style="margin-bottom: 20px"
|
|
style="margin-bottom: 20px"
|
|
|
:rules="{
|
|
:rules="{
|
|
|
required: true,
|
|
required: true,
|
|
@@ -41,7 +40,7 @@
|
|
|
icon="el-icon-circle-close"
|
|
icon="el-icon-circle-close"
|
|
|
type="danger"
|
|
type="danger"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
- @click="handleAudit(0)"
|
|
|
|
|
|
|
+ @click="approveTaskWithVariables(0)"
|
|
|
v-if="
|
|
v-if="
|
|
|
!['starter'].includes(taskDefinitionKey) &&
|
|
!['starter'].includes(taskDefinitionKey) &&
|
|
|
outInData.verifyStatus != 1
|
|
outInData.verifyStatus != 1
|
|
@@ -95,7 +94,11 @@
|
|
|
saleReturnProcessCancel,
|
|
saleReturnProcessCancel,
|
|
|
getReturnSaleOrderrecordDetail
|
|
getReturnSaleOrderrecordDetail
|
|
|
} from '@/api/bpm/components/saleManage/saleorder';
|
|
} from '@/api/bpm/components/saleManage/saleorder';
|
|
|
- import {approveTaskWithVariables, rejectTask,cancelTask} from '@/api/bpm/task';
|
|
|
|
|
|
|
+ import {
|
|
|
|
|
+ approveTaskWithVariables,
|
|
|
|
|
+ rejectTask,
|
|
|
|
|
+ cancelTask
|
|
|
|
|
+ } from '@/api/bpm/task';
|
|
|
import { listAllUserBind } from '@/api/system/organization';
|
|
import { listAllUserBind } from '@/api/system/organization';
|
|
|
import { getOutInBySourceBizNo } from '@/api/classifyManage';
|
|
import { getOutInBySourceBizNo } from '@/api/classifyManage';
|
|
|
// import outin from "@/api/warehouseManagement/outin";
|
|
// import outin from "@/api/warehouseManagement/outin";
|
|
@@ -164,13 +167,15 @@
|
|
|
storageData.isSkip = 1;
|
|
storageData.isSkip = 1;
|
|
|
try {
|
|
try {
|
|
|
this.isSaveLoading = true;
|
|
this.isSaveLoading = true;
|
|
|
- res.productList.forEach((val,index)=>{
|
|
|
|
|
- val.receiveTotalWeight=storageData._packingList[index].weight
|
|
|
|
|
- val.materielDesignation=storageData._packingList[index].materielDesignation
|
|
|
|
|
- val.clientCode=storageData._packingList[index].clientCode
|
|
|
|
|
- val.engrave=storageData._packingList[index].engrave
|
|
|
|
|
- })
|
|
|
|
|
-
|
|
|
|
|
|
|
+ if (storageData?._packingList?.length) {
|
|
|
|
|
+ res.productList.forEach((val, index) => {
|
|
|
|
|
+ val.receiveTotalWeight = storageData._packingList[index].weight;
|
|
|
|
|
+ val.materielDesignation =
|
|
|
|
|
+ storageData._packingList[index].materielDesignation;
|
|
|
|
|
+ val.clientCode = storageData._packingList[index].clientCode;
|
|
|
|
|
+ val.engrave = storageData._packingList[index].engrave;
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
await UpdateReturnInformation(res);
|
|
await UpdateReturnInformation(res);
|
|
|
await storageApi.storage(storageData);
|
|
await storageApi.storage(storageData);
|
|
|
approveTaskWithVariables({
|
|
approveTaskWithVariables({
|
|
@@ -193,6 +198,7 @@
|
|
|
this.$message.error('保存失败');
|
|
this.$message.error('保存失败');
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+
|
|
|
async handleAudit(status) {
|
|
async handleAudit(status) {
|
|
|
//发起人补充
|
|
//发起人补充
|
|
|
if (this.taskDefinitionKey === 'starter') {
|
|
if (this.taskDefinitionKey === 'starter') {
|