diff --git a/fe/PDA/api/index.js b/fe/PDA/api/index.js index 2f7acfe4f..037e14097 100644 --- a/fe/PDA/api/index.js +++ b/fe/PDA/api/index.js @@ -1511,15 +1511,23 @@ export const getThirdLocationRequestDetail = (id) => request( method: "get" }); +//三方库发料申请 完成 +export const thirdLocationRequestFinish = (id) => promise( + devUrl + "/api/pda/store/third-location-request/complete/"+id, { + method: 'post', + data: {} + }) + + //三方库发料申请 取消 -export const thirdLocationRequestCancle = (id) => promise( +export const thirdLocationRequestCancel = (id) => promise( devUrl + "/api/pda/store/third-location-request/cancel/"+id, { method: 'post', data: {} }) //三方库发料申请 终止 export const thirdLocationRequestClose = (id) => promise( - devUrl + "/api/pda/store/third-location/close-job/"+id, { + devUrl + "/api/pda/job/third-location/close-job/"+id, { method: 'post', data: {} }) diff --git a/fe/PDA/mycomponents/comRequest/comThirdLocationRequestItem.vue b/fe/PDA/mycomponents/comRequest/comThirdLocationRequestItem.vue index 86cb3b591..48bccf740 100644 --- a/fe/PDA/mycomponents/comRequest/comThirdLocationRequestItem.vue +++ b/fe/PDA/mycomponents/comRequest/comThirdLocationRequestItem.vue @@ -27,10 +27,15 @@ - + + - + + @@ -72,6 +77,13 @@ }, methods: { + finish() { + showConfirmMsg("是否确认完成?", callback => { + if (callback) { + this.$emit("finish", this.dataContent) + } + }) + }, cancle() { showConfirmMsg("是否确认取消?", callback => { if (callback) { @@ -80,7 +92,6 @@ }) } - } } diff --git a/fe/PDA/mycomponents/coms/task/comThird.vue b/fe/PDA/mycomponents/coms/task/comThird.vue index 699de49e6..1250744eb 100644 --- a/fe/PDA/mycomponents/coms/task/comThird.vue +++ b/fe/PDA/mycomponents/coms/task/comThird.vue @@ -28,10 +28,10 @@ - + + @click.stop="finish()">完成 @@ -44,7 +44,8 @@ import { getJobStatuStyle, getJobStatuDesc, - dateFormat + dateFormat, + showConfirmMsg } from '@/common/basic.js'; import comJobTopInfo from '@/mycomponents/comjob/comJobTopInfo.vue' export default { @@ -76,7 +77,7 @@ }, methods: { finish() { - showConfirmMsg("是否确认终止?", callback => { + showConfirmMsg("是否确认完成?", callback => { if (callback) { this.$emit("finish", this.dataContent) } diff --git a/fe/PDA/pages.js b/fe/PDA/pages.js index f98ef2ffd..452032e98 100644 --- a/fe/PDA/pages.js +++ b/fe/PDA/pages.js @@ -721,21 +721,14 @@ module.exports = () => ({ } }, { - "path": "pages/task/thirdLocation", + "path": "pages/task/thirdLocationJob", "style": { "navigationBarTitleText": "三方库收货", "enablePullDownRefresh": true } }, { - "path": "pages/task/thirdLocationDetail", - "style": { - "navigationBarTitleText": "三方库收货详情", - "enablePullDownRefresh": false - } - }, - { - "path": "pages/task/thirdLocationDetail", + "path": "pages/task/thirdLocationJobDetail", "style": { "navigationBarTitleText": "三方库收货详情", "enablePullDownRefresh": false diff --git a/fe/PDA/pages.json b/fe/PDA/pages.json index db35d2245..d9ca0d6ed 100644 --- a/fe/PDA/pages.json +++ b/fe/PDA/pages.json @@ -707,14 +707,14 @@ }, { - "path": "pages/task/thirdLocation", + "path": "pages/task/thirdLocationJob", "style": { "navigationBarTitleText": "三方库收货", "enablePullDownRefresh": true } }, { - "path": "pages/task/thirdLocationDetail", + "path": "pages/task/thirdLocationJobDetail", "style": { "navigationBarTitleText": "三方库收货详情", "enablePullDownRefresh": false diff --git a/fe/PDA/pages/request/thirdLocationRequestList.vue b/fe/PDA/pages/request/thirdLocationRequestList.vue index 6b67e0acc..b04f3f93e 100644 --- a/fe/PDA/pages/request/thirdLocationRequestList.vue +++ b/fe/PDA/pages/request/thirdLocationRequestList.vue @@ -4,7 +4,7 @@ - + @@ -21,7 +21,8 @@ + \ No newline at end of file diff --git a/fe/PDA/pages/task/thirdLocationDetail.vue b/fe/PDA/pages/task/thirdLocationJobDetail.vue similarity index 100% rename from fe/PDA/pages/task/thirdLocationDetail.vue rename to fe/PDA/pages/task/thirdLocationJobDetail.vue diff --git a/fe/PDA/pages/task/unProducePickDetail.vue b/fe/PDA/pages/task/unProducePickDetail.vue index fb1ff6f3f..c3fa93ad4 100644 --- a/fe/PDA/pages/task/unProducePickDetail.vue +++ b/fe/PDA/pages/task/unProducePickDetail.vue @@ -446,8 +446,8 @@ item.handledQty = balanceItem.qty; item.handledFromLocationCode = balanceItem.locationCode; item.handledFromLocationArea = balanceItem.locationArea; - item.handledFromLocationGroup = balanceItem.locationErpCode; - item.handledFromLocationErpCode = balanceItem.locationGroup; + item.handledFromLocationGroup = balanceItem.locationGroup; + item.handledFromLocationErpCode = balanceItem.locationErpCode; item.handledFromWarehouseCode = balanceItem.warehouseCode; item.toLocationArea = balanceItem.locationArea;