代码更新

This commit is contained in:
梁州 2024-08-09 23:02:20 +08:00
parent f5880d2252
commit b45d1057a5
2 changed files with 6 additions and 2 deletions

View File

@ -189,7 +189,8 @@ export default {
getCurrentWorkInfo() { getCurrentWorkInfo() {
const request = { const request = {
standId: this.standId, standId: this.standId,
goodsId: this.workFormEntity.goodsId goodsId: this.workFormEntity.goodsId,
userName: store.getters.getUserName
} }
getWorkByStandAndGoods(request).then(res => { getWorkByStandAndGoods(request).then(res => {
const response = res.data const response = res.data
@ -274,7 +275,8 @@ export default {
standId: this.standId, standId: this.standId,
goodsId: this.workFormEntity.goodsId, goodsId: this.workFormEntity.goodsId,
remainNumOrigin: this.workFormEntity.remainNumOrigin, remainNumOrigin: this.workFormEntity.remainNumOrigin,
remainNumReal: this.workFormEntity.remainNumReal remainNumReal: this.workFormEntity.remainNumReal,
userName: store.getters.getUserName
} }
confirmFinishWork(confirmParams).then(res => { confirmFinishWork(confirmParams).then(res => {
const response = res.data const response = res.data

View File

@ -193,6 +193,7 @@ export default {
getFinishedWorkInfo() { getFinishedWorkInfo() {
const request = { const request = {
standId: this.standId, standId: this.standId,
userName: store.getters.getUserName
} }
getFinishedWorkInfo(request).then(res => { getFinishedWorkInfo(request).then(res => {
const response = res.data const response = res.data
@ -233,6 +234,7 @@ export default {
} }
const confirmParams = { const confirmParams = {
standId: this.standId, standId: this.standId,
userName: store.getters.getUserName
} }
confirmFinishedWork(confirmParams).then(res => { confirmFinishedWork(confirmParams).then(res => {
const response = res.data const response = res.data