diff --git a/pages/StockOut/features/PurchaseReturn/index.vue b/pages/StockOut/features/PurchaseReturn/index.vue index ff8f151..493f41d 100644 --- a/pages/StockOut/features/PurchaseReturn/index.vue +++ b/pages/StockOut/features/PurchaseReturn/index.vue @@ -498,25 +498,16 @@ }).then((res) => { console.log(res.resultObj) this.opCode = res.resultObj - this.$MyRequest('/bpel/event', { - header: { - MESSAGENAME:'CompleteShipRequestForPurReturn', - LANGUAGE: 'Chinese', - EventUser: this.userId - }, - body: { - SITENAME: 'SDK', - RECEIVEREQUESTNAME: this.receiveRequestName, - RECEIVEREQUESTDETAILNAME: '', - RECEIVEREQUESTDETAILTYPE: '', - MATERIALSPECNAME: '', - ReceiveActNo: '', - CHECKBOX: false, - ACTTYPE: 'STCO', - RECEIVEREQUESTTYPE: '45', - REASONCODE: '', - REASONCODETYPE: '' - } + let param = { + opcode: opcode, + user: this.userId, + siteName: this.siteName, + boxList: this.boxList, + commitDate: this.commitDate, + shipRequestName: this.receiveRequestName + } + this.$MyRequest('/purchase/CompleteReceiveRequest', { + param }).then(res => { console.log(res) this.opCode = "";