diff --git a/fe/PDA/api/index.js b/fe/PDA/api/index.js
index 63552f36b..5ccb69ac5 100644
--- a/fe/PDA/api/index.js
+++ b/fe/PDA/api/index.js
@@ -1422,9 +1422,56 @@ export const finshContainerJob = (id, params) => request(
})
//生产退库详情
-export const customerReturn = (params) => request(
+export const customerReturnCommit = (params) => request(
devUrl + "/api/pda/job/production-return", { //
method: "post",
data: params,
});
+
+//三方库发货申请
+export const thirdLocationRequest = (params) => request(
+ devUrl + "/api/pda/store/third-location-request", { //
+ method: "post",
+ data: params,
+ });
+
+//三方库收货任务列表
+export const getThirdLocationList = (params) => request(
+ devUrl + "/api/pda/job/third-location/list", {
+ method: 'get',
+ data: params
+ });
+//根据Number 获取三方库收货任务
+export const getThirdLocationJobByNumber = (number) => request(
+ devUrl + "/api/pda/job/third-location/by-number/" + number, {
+ data: {},
+ method: "get"
+ });
+
+//承接三方库收货任务
+export const takeThirdLocationJob = (params) => request(
+ devUrl + "/api/pda/job/third-location/take/" + params.id, { //
+ data: {},
+ method: "post"
+ });
+
+//取消承接三方库收货任务
+export const cancelTakeThirdLocationJob = (id) => request(
+ devUrl + "/api/pda/job/third-location/cancel-take/" + id, { //
+ data: {},
+ method: "post"
+ });
+
+//提交三方库收货任务
+export const finshThirdLocationJob = (id, params) => request(
+ devUrl + "/api/pda/job/third-location/finish/" + id, { //
+ data: params,
+ method: "post"
+ })
+//三方库收货任务详情
+export const getThirdLocationDetail = (params) => request(
+ devUrl + "/api/pda/job/third-location/" + params.id, { //
+ data: {},
+ method: "get"
+ });
\ No newline at end of file
diff --git a/fe/PDA/components/uni-section/uni-section.vue b/fe/PDA/components/uni-section/uni-section.vue
index 95d0cdef6..c2e0a661a 100644
--- a/fe/PDA/components/uni-section/uni-section.vue
+++ b/fe/PDA/components/uni-section/uni-section.vue
@@ -1,30 +1,46 @@
-
-
-
+
+
-
- {{ title }}
- {{ subTitle }}
+
+
+
-
-
\ No newline at end of file
+
diff --git a/fe/PDA/mycomponents/common/comMessage.vue b/fe/PDA/mycomponents/common/comMessage.vue
index e83f5cb27..a26f2b955 100644
--- a/fe/PDA/mycomponents/common/comMessage.vue
+++ b/fe/PDA/mycomponents/common/comMessage.vue
@@ -98,14 +98,14 @@
openMessage(content, type) {
this.content = content;
this.type = type;
- this.$refs['popupMessage'].open("center");
+ this.$refs.popupMessage.open("center");
},
closeMessage() {
this.confirmResult = false;
clearInterval(this.timer) //清空timer
- this.$refs['popupMessage'].close();
+ this.$refs.popupMessage.close();
this.afterClose();
},
diff --git a/fe/PDA/mycomponents/coms/task/comProductCode.vue b/fe/PDA/mycomponents/coms/task/comProductCode.vue
new file mode 100644
index 000000000..5c8c8e79e
--- /dev/null
+++ b/fe/PDA/mycomponents/coms/task/comProductCode.vue
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+ {{ dataContent.itemCode }}
+
+ {{ dataContent.itemName }}
+ {{ dataContent.itemDesc1 }}
+
+
+
+
+
+
+
+ 推荐
+ 实际
+
+
+ 数量
+
+ {{dataContent.recommendQty}}({{dataContent.uom}})
+
+
+
+
+
+
+
+
+
+
+
+
+ 来源库位
+
+ {{ dataContent.recommendFromLocationCode }}
+
+
+
+
+
+
+
+
+
+
+
+ {{dataContent.scaned}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/PDA/mycomponents/coms/task/comThird.vue b/fe/PDA/mycomponents/coms/task/comThird.vue
new file mode 100644
index 000000000..c96ddae6c
--- /dev/null
+++ b/fe/PDA/mycomponents/coms/task/comThird.vue
@@ -0,0 +1,68 @@
+
+
+
+
+
+
+
+
+
+ {{dataContent.requestNumber}}
+
+
+
+
+ {{dataContent.worker}}
+
+
+
+
+
+
+
+ {{dataContent.creationTime===null?'无':dataContent.creationTime| formatDate}}
+
+
+
+
+
+
+
+
diff --git a/fe/PDA/pages.js b/fe/PDA/pages.js
index f6ee0f21e..5a5fff6dd 100644
--- a/fe/PDA/pages.js
+++ b/fe/PDA/pages.js
@@ -626,7 +626,7 @@ module.exports = () => ({
}
},
{
- "path": "pages/record/thirdLocationDeviler",
+ "path": "pages/request/thirdLocationRequest",
"style": {
"navigationBarTitleText": "三方库发货",
"enablePullDownRefresh": true
@@ -643,7 +643,7 @@ module.exports = () => ({
"path": "pages/task/thirdLocationDetail",
"style": {
"navigationBarTitleText": "三方库收货详情",
- "enablePullDownRefresh": true
+ "enablePullDownRefresh": false
}
}
diff --git a/fe/PDA/pages.json b/fe/PDA/pages.json
index e254820aa..7b47a21db 100644
--- a/fe/PDA/pages.json
+++ b/fe/PDA/pages.json
@@ -604,7 +604,7 @@
}
},
{
- "path": "pages/record/thirdLocationDeviler",
+ "path": "pages/request/thirdLocationRequest",
"style": {
"navigationBarTitleText": "三方库发货",
"enablePullDownRefresh": true
@@ -621,7 +621,7 @@
"path": "pages/task/thirdLocationDetail",
"style": {
"navigationBarTitleText": "三方库收货详情",
- "enablePullDownRefresh": true
+ "enablePullDownRefresh": false
}
}
diff --git a/fe/PDA/pages/container/containerCall.vue b/fe/PDA/pages/container/containerCall.vue
index b688481e3..f8adf15b8 100644
--- a/fe/PDA/pages/container/containerCall.vue
+++ b/fe/PDA/pages/container/containerCall.vue
@@ -1,53 +1,78 @@
+
+
+
+
+
+ *
+
+
+ 呼叫库位 :
+
+
+ {{locationCode}}
+ ({{locationName}})
+
+
+
*
-
+
器具类型 :
-
-
- {{containerType}}
-
+
+ 内物流
-
+
*
-
+
器具规格 :
-
-
- {{containerModel}}
-
-
-
-
-
-
- *
-
-
- 呼叫库位 :
-
-
- {{locationCode}}
- ({{locationName}})
+
+
+
+
+
+
+
+
+
+
+
+
@@ -78,22 +103,20 @@
},
data() {
return {
- containerTypeList: [],
containerModelList: [],
typeIndex: 0,
modelIndex: 0,
location: "",
locationCode: "请扫描库位",
locationName: "",
- containerType: "请选择器具类型",
- containerTypeCode: "",
+ containerType: "内物流",
+ containerTypeCode: "InLogistics",
containerModel: "请选择器具规格",
containerModelCode: ""
}
},
onShow() {
this.getContainerModelList();
- this.containerTypeList = getContainerTypeArray();
},
//返回首页
onNavigationBarButtonTap(e) {
@@ -104,30 +127,24 @@
}
},
methods: {
+ setContainerModel(item) {
+ this.containerModelList.forEach(res => {
+ res.checked = false
+ })
+ item.checked = true;
+ this.containerModelCode =item.code;
+ },
getContainerModelList() {
getDictByCode("ContainerSpecificationsType").then(res => {
res.items.forEach(item => {
item.value = item.code;
+ item.checked = false
})
this.containerModelList = res.items;
}).catch(error => {
})
},
- containerTypeChange(e) {
- this.typeIndex = e.detail.value
- var select = this.containerTypeList[this.typeIndex];
- this.containerType = select.name
- this.containerTypeCode = select.value
- console.log(select)
- },
- containerModelChange(e) {
- this.modelIndex = e.detail.value
- var select = this.containerModelList[this.modelIndex];
- this.containerModel = select.name
- this.containerModelCode = select.value
- console.log(select)
- },
openScanLocation() {
this.$refs.scanLocation.openScanPopup()
},
@@ -172,14 +189,10 @@
this.$refs.scanLocation.losefocus();
},
clearData() {
- this.containerType = "请选择器具类型"
- this.containerModel = "请选择器具规格";
- this.locationCode = "请扫描库位"
- this.locationName ="";
- this.containerTypeCode = ""
this.containerModelCode = ""
- this.modelIndex =0;
- this.typeIndex =0;
+ this.containerModelList.forEach(res=>{
+ res.checked = false
+ });
},
@@ -190,18 +203,13 @@
containerType: this.containerTypeCode,
specificationsType: this.containerModelCode,
requestLocationCode: this.locationCode,
-
+
}
return data;
},
submit() {
- if (this.containerType == "请选择器具类型") {
- this.showMessage("请选择器具类型")
- return;
- }
-
- if (this.containerModel == "请选择器具规格") {
+ if (this.containerModelCode == "") {
this.showMessage("请选择器具规格")
return;
}
@@ -210,15 +218,12 @@
this.showMessage("请扫描库位")
return;
}
- console.log(this.containerTypeCode)
- console.log(this.containerModelCode)
- console.log(this.locationCode)
uni.showLoading({
title: '提交中...',
mask: true
});
var params = this.setParams();
-
+ console.log(JSON.stringify(params))
containerRequest(params).then(res => {
uni.hideLoading();
this.showMessage("提交成功");
diff --git a/fe/PDA/pages/index/index.vue b/fe/PDA/pages/index/index.vue
index d2a5ef708..2a2f6b0fb 100644
--- a/fe/PDA/pages/index/index.vue
+++ b/fe/PDA/pages/index/index.vue
@@ -179,7 +179,7 @@
if (sessionStorage.hasLogin !== 'true') {
uni.showModal({
title: '未登录',
- content: '您未登录需要登录后才能继续', //如果需要强制登录,不显示取消按钮
+ content: '您未登录,需要登录后才能继续', //如果需要强制登录,不显示取消按钮
showCancel: !this.forcedLogin,
success: (res) => {
if (res.confirm) {
diff --git a/fe/PDA/pages/plastics/plasticsCompleteReceive.vue b/fe/PDA/pages/plastics/plasticsCompleteReceive.vue
index b2a381754..dd4c3462d 100644
--- a/fe/PDA/pages/plastics/plasticsCompleteReceive.vue
+++ b/fe/PDA/pages/plastics/plasticsCompleteReceive.vue
@@ -1,176 +1,408 @@
-
-
-
-
-
-
-
- 物料:
- 零件:
-
-
-
- 选项卡1的内容
-
-
-
-
-
-
- 物料:
- 零件:
-
+
+
+
+
+
+
+
+
+
+ ({{index+1}}).
+
+
+
+
+
+
+ 单位
+ {{item.uom}}
+
+
+ 标包数
+ {{item.stdPackQty}}
+
+
+ 来源库位
+ {{item.fromLocationCode}}
+
+
+
+ 数量
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- 选项卡2的内容
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+
+
+
diff --git a/fe/PDA/pages/record/productionReturn.vue b/fe/PDA/pages/record/productionReturn.vue
index f19bd76f4..8386006fd 100644
--- a/fe/PDA/pages/record/productionReturn.vue
+++ b/fe/PDA/pages/record/productionReturn.vue
@@ -121,8 +121,8 @@
options: [],
currentItem: {},
showList: [],
- defaultToLocation: {},
- defaultToLocationCode: "",
+ toLocationInfo:{},
+ toLocationCode: "",
allCount: 0,
allDataList: [],
loadingType: "",
@@ -253,24 +253,23 @@
locations(locationCode).then(res => {
uni.hideLoading();
if (res) {
- this.defaultToLocation = res;
- this.defaultToLocationCode = res.code
+ this.toLocationInfo =res;
+ this.toLocationCode = res.code
} else {
this.showMessage('目标库位【' + locationCode + '】不存在');
}
}).catch(err => {
uni.hideLoading();
- this.defaultToLocation = {};
- this.defaultToLocationCode = ""
+ this.toLocationInfo={}
+ this.toLocationCode = ""
this.showMessage(err.message);
})
},
clearDefaultLocation() {
- this.defaultToLocationCode = ""
- this.defaultToLocation = {};
+ this.toLocationCode = ""
},
submit() {
@@ -279,7 +278,7 @@
return;
}
- if (this.defaultToLocationCode == "") {
+ if (this.toLocationCode == "") {
this.showMessage('请扫描目标库位');
return;
}
@@ -335,7 +334,10 @@
uom: res.uom,
qty: res.qty,
stdPackQty: res.stdPackQty,
- toLocationCode:this.defaultToLocationCode
+ toLocationCode:this.toLocationCode,
+ toLocationArea:this.toLocationInfo.areaCode,
+ toLocationGroup:this.toLocationInfo.locationGroupCode,
+ toLocationErpCode:this.toLocationInfo.erpLocationCode
}
item.details.push(detail)
})
@@ -440,8 +442,8 @@
clearInfo() {
this.allDataList = [];
this.showList = [];
- this.defaultToLocation = {};
- this.defaultToLocationCode = "";
+ this.toLocationInfo={}
+ this.toLocationCode = "";
this.allCount = 0;
this.loadingType = ""
this.pageNo = 0
diff --git a/fe/PDA/pages/record/thirdLocationDeviler.vue b/fe/PDA/pages/request/thirdLocationRequest.vue
similarity index 87%
rename from fe/PDA/pages/record/thirdLocationDeviler.vue
rename to fe/PDA/pages/request/thirdLocationRequest.vue
index 0d6a2e76a..9e053c867 100644
--- a/fe/PDA/pages/record/thirdLocationDeviler.vue
+++ b/fe/PDA/pages/request/thirdLocationRequest.vue
@@ -2,12 +2,12 @@
-
+
-
+
来源库位:
- {{fromLocationCode.code}}
+ {{fromLocationCode}}
-
-
-
- {{ item.itemCode }}
-
- {{ item.itemName }}
- {{ item.itemDesc1 }}
+
+
+
+
+
+
+ {{ item.itemCode }}
+
+ {{ item.itemName }}
+ {{ item.itemDesc1 }}
+
-
-
-
-
-
-
-
- 推荐
- 实际
-
-
- 数量
-
- {{item.recommendQty}}({{item.uom}})
-
-
-
-
-
- {{item.handledQty}}({{item.uom}})
-
-
-
-
- 箱码
-
- {{ item.recommendPackingCode }}
-
-
-
- {{ item.handledPackingCode }}
-
-
-
-
- 批次
-
- {{item.recommendLot }}
-
-
-
-
- {{item.handledLot }}
-
-
-
-
- 库位
-
- {{ item.recommendLocationCode }}
-
-
-
- {{ item.handledFromLocationCode }}
-
-
-
-
+
+
+
+
+
+ 推荐
+ 实际
+
+
+ 数量
+
+ {{item.recommendQty}}({{item.uom}})
+
+
+
+
+
+
+
+
+
+
+
+
+ 来源库位
+
+ {{ item.fromLocationCode }}
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
-
-
+
+
\ No newline at end of file