diff --git a/src/layout/doKitting.vue b/src/layout/doKitting.vue index 2fd98ba..fff6861 100644 --- a/src/layout/doKitting.vue +++ b/src/layout/doKitting.vue @@ -189,7 +189,8 @@ export default { getCurrentWorkInfo() { const request = { standId: this.standId, - goodsId: this.workFormEntity.goodsId + goodsId: this.workFormEntity.goodsId, + userName: store.getters.getUserName } getWorkByStandAndGoods(request).then(res => { const response = res.data @@ -274,7 +275,8 @@ export default { standId: this.standId, goodsId: this.workFormEntity.goodsId, remainNumOrigin: this.workFormEntity.remainNumOrigin, - remainNumReal: this.workFormEntity.remainNumReal + remainNumReal: this.workFormEntity.remainNumReal, + userName: store.getters.getUserName } confirmFinishWork(confirmParams).then(res => { const response = res.data diff --git a/src/layout/finishKitting.vue b/src/layout/finishKitting.vue index 9caec20..cdd5467 100644 --- a/src/layout/finishKitting.vue +++ b/src/layout/finishKitting.vue @@ -193,6 +193,7 @@ export default { getFinishedWorkInfo() { const request = { standId: this.standId, + userName: store.getters.getUserName } getFinishedWorkInfo(request).then(res => { const response = res.data @@ -233,6 +234,7 @@ export default { } const confirmParams = { standId: this.standId, + userName: store.getters.getUserName } confirmFinishedWork(confirmParams).then(res => { const response = res.data