|
|
@@ -71,6 +71,8 @@
|
|
|
},
|
|
|
async _approveTaskWithVariables(status) {
|
|
|
console.log(status);
|
|
|
+ console.log(this.taskDefinitionKey);
|
|
|
+ // return
|
|
|
if (status == 1) {
|
|
|
if (this.taskDefinitionKey === 'storage') {
|
|
|
const res = await storageApi.allot({ applyId: this.businessId });
|
|
|
@@ -103,7 +105,8 @@
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- if (this.taskDefinitionKey === 'outbound') {
|
|
|
+ // 调拨出库 storage
|
|
|
+ if (this.taskDefinitionKey === 'outbound' || this.taskDefinitionKey === 'storage') {
|
|
|
const data = await storageApi.notAllotPass({
|
|
|
id: this.businessId,
|
|
|
reason: this.form.reason,
|