diff --git a/fe/PDA/api/index.js b/fe/PDA/api/index.js
index dcfbb957b..da6ec4e94 100644
--- a/fe/PDA/api/index.js
+++ b/fe/PDA/api/index.js
@@ -28,8 +28,7 @@ export function getUserInfo() {
})
}
-export function getUserInfoAsync() {
- return promise(devUrl + "/api/pda/account/workgroups", { //
+export function getUserInfoAsync() {return promise(devUrl + "/api/pda/account/workgroups", { //
data: {},
method: "get"
})
@@ -1532,149 +1531,321 @@ export const completeInvenTransfer = (params) => request(
data: params,
method: "post"
});
+
+//创建 注塑发料申请
+export const injectionIssueRequest = (params) => request(
+ devUrl + "/api/pda/store/injection-request", { //
+ data: params,
+ method: "post"
+ })
+
+//注塑 发料申请列表
+export const getInjectionRequestList = (pageIndex,pageSize,isFinished) => request(
+ devUrl + "/api/pda/store/injection-request/list?pageIndex="+pageIndex+"&pageSize="+pageSize+"&isFinished="+isFinished, {
+ method: 'post',
+ data: {}
+ })
-//注塑发料申请
-export const injectIssueRequest = (params) => request(
- devUrl + "/api/pda/store/injection-request/", { //
+//注塑 发料申请 执行
+export const injectionRequestHandle = (id) => promise(
+ devUrl + "/api/pda/store/injection-request/handle/"+id, {
+ method: 'post',
+ data: {}
+ })
+
+//注塑发料申请 获取任务号
+export const getInjectionRequestJobByRequest = (requestNumber) => promise(
+ devUrl + "/api/pda/job/injection-request/by-request-number/"+requestNumber, {
+ method: 'post',
+ data: {}
+ })
+
+//注塑发料 是否有新任务
+export const isInjectionHasNewJob = (data) => promise(
+ devUrl + "/api/pda/store/injection-request/isHasNewJob", {
+ method: 'post',
+ data: data
+ })
+
+
+
+//注塑计划 申请
+export const injectionIssuePlanRequest = (params) => request(
+ devUrl + "/api/pda/store/injection-plan-request/", { //
data: params,
method: "post"
})
-//注塑发料任务列表
-export const getInjectIssueJobList = (params) => request(
- devUrl + "/api/pda/job/injection/list", {
+//注塑计划任务列表
+export const getInjectionPlanJobList = (params) => request(
+ devUrl + "/api/pda/job/injection-plan/list", {
method: 'get',
data: params
})
//注塑发料任务详情
-export const getInjectIssueDetail = (params) => request(
- devUrl + "/api/pda/job/injection/" + params.id, { //
+export const getInjectionPlanDetail = (params) => request(
+ devUrl + "/api/pda/job/injection-plan/" + params.id, { //
data: {},
method: "get"
});
-//承接注塑发料任务
-export const takeInjectIssueJob = (params) => request(
- devUrl + "/api/pda/job/injection/take/" + params.id, { //
+//承接注塑计划任务
+export const takeInjectionPlanJob = (params) => request(
+ devUrl + "/api/pda/job/injection-plan/take/" + params.id, { //
data: {},
method: "post"
});
-//取消承接注塑发料任务
-export const cancelTakeInjectIssueJob = (id) => request(
- devUrl + "/api/pda/job/injection/cancel-take/" + id, { //
+//取消承接注塑计划 任务
+export const cancelTakeInjectionPlanJob = (id) => request(
+ devUrl + "/api/pda/job/injection-plan/cancel-take/" + id, { //
data: {},
method: "post"
});
-//提交注塑发料任务
-export const finshInjectIssueJob = (id, params) => request(
- devUrl + "/api/pda/job/injection/finish/" + id, { //
+//提交注塑计划 任务
+export const finshInjectionPlanJob = (id, params) => request(
+ devUrl + "/api/pda/job/injection-plan/finish/" + id, { //
data: params,
method: "post"
})
//注塑发料获取物料配置信息
export const getItemCategoryList = () => request(
- devUrl + "/api/pda/store/injection-request/list/item-category", { //
+ devUrl + "/api/pda/store/injection-plan-request/list/item-category", { //
+ data: {},
+ method: "get"
+ })
+
+//注塑发料 任务列表
+export const getInjectionIssueList = (pageIndex,pageSize,isFinished) => request(
+ devUrl + "/api/pda/job/injection-issue/list?pageIndex="+pageIndex+"&pageSize="+pageSize+"&isFinished="+isFinished, {
+ method: 'post',
+ data: {}
+ });
+
+//根据Number 获取注塑发料 任务列表
+export const getInjectionIssueJobByNumber = (jobNumber) => request(
+ devUrl + "/api/pda/job/injection-issue/by-number/" + jobNumber, {
+ data: {},
+ method: "get"
+ });
+
+// 根据MaterialRequest Number获取注塑发料任务列表
+export const getInjectionIssueListByRequest = (requestNumber) => request(
+ devUrl + "/api/pda/job/injection-request/list/by-request/" + requestNumber, { //
data: {},
method: "get"
+ });
+
+//注塑发料任务详情
+export const getInjectionIssueDetail = (params) => request(
+ devUrl + "/api/pda/job/injection-issue/" + params.id, { //
+ data: {},
+ method: "get"
+ });
+
+//承接注塑发料任务
+export const takeInjectionIssueJob = (params) => request(
+ devUrl + "/api/pda/job/injection-issue/take/" + params.id, { //
+ data: {},
+ method: "post"
+ });
+
+//取消承接 注塑发料任务
+export const cancelTakeInjectionIssueJob = (id) => request(
+ devUrl + "/api/pda/job/injection-issue/cancel-take/" + id, { //
+ data: {},
+ method: "post"
+ });
+//完成注塑发料任务
+export const finshInjectionIssueJob = (masterId,detailId, params) => request(
+ devUrl + "/api/pda/job/injection-issue/ExecuteDetail/" + masterId+"?detailId="+detailId, { //
+ data: params,
+ method: "post"
})
//喷涂发料任务列表
-export const getSprayIssueList = (params) => request(
- devUrl + "/api/pda/job/issue/list", {
- method: 'get',
- data: params
+export const getCoatingIssueList = (pageIndex,pageSize,isFinished) => request(
+ devUrl + "/api/pda/job/coating-issue/list?pageIndex="+pageIndex+"&pageSize="+pageSize+"&isFinished="+isFinished, {
+ method: 'post',
+ data: {}
});
//根据Number 获取喷涂发料任务列表
-export const getSprayIssueJobByNumber = (jobNumber) => request(
- devUrl + "/api/pda/job/issue/by-number/" + jobNumber, {
+export const getCoatingIssueJobByNumber = (jobNumber) => request(
+ devUrl + "/api/pda/job/coating-issue/by-number/" + jobNumber, {
data: {},
method: "get"
});
// 根据MaterialRequest Number获取喷涂发料任务列表
-export const getSprayIssueListByRequest = (requestNumber) => request(
- devUrl + "/api/pda/job/issue/list/by-request/" + requestNumber, { //
+export const getCoatingIssueListByRequest = (requestNumber) => request(
+ devUrl + "/api/pda/job/coating-issue/list/by-request/" + requestNumber, { //
data: {},
method: "get"
});
//喷涂发料任务详情
-export const getSprayIssueDetail = (params) => request(
- devUrl + "/api/pda/job/issue/" + params.id, { //
+export const getCoatingIssueDetail = (params) => request(
+ devUrl + "/api/pda/job/coating-issue/" + params.id, { //
data: {},
method: "get"
});
//承接喷涂发料任务
-export const takeSprayIssueJob = (params) => request(
- devUrl + "/api/pda/job/issue/take/" + params.id, { //
+export const takeCoatingIssueJob = (params) => request(
+ devUrl + "/api/pda/job/coating-issue/take/" + params.id, { //
data: {},
method: "post"
- });
-
+ });
+
//取消承接喷涂发料任务
-export const cancelTakeSprayIssueJob = (id) => request(
- devUrl + "/api/pda/job/issue/cancel-take/" + id, { //
+export const cancelTakeCoatingIssueJob = (id) => request(
+ devUrl + "/api/pda/job/coating-issue/cancel-take/" + id, { //
data: {},
method: "post"
- });
+ });
+
//完成喷涂发料任务
-export const finshSprayIssueJob = (id, params) => request(
- devUrl + "/api/pda/job/issue/finish/" + id, { //
+export const finshCoatingIssueJob = (masterId,detailId, params) => request(
+ devUrl + "/api/pda/job/coating-issue/ExecuteDetail/" + masterId+"?detailId="+detailId, { //
+ data: params,
+ method: "post"
+ })
+
+//创建 喷涂叫料申请
+export const coatingIssueRequest = (params) => request(
+ devUrl + "/api/pda/store/coating-request", { //
data: params,
method: "post"
})
+
+//喷涂发料申请列表
+export const getCoatingRequestList = (pageIndex,pageSize,isFinished) => request(
+ devUrl + "/api/pda/store/coating-request/list?pageIndex="+pageIndex+"&pageSize="+pageSize+"&isFinished="+isFinished, {
+ method: 'post',
+ data: {}
+ })
+
+//喷涂发料申请 执行
+export const coatingRequestHandle = (id) => promise(
+ devUrl + "/api/pda/store/coating-request/handle/"+id, {
+ method: 'post',
+ data: {}
+ })
+
+//喷涂发料申请 获取任务号
+export const getCoatingRequestJobByRequest = (requestNumber) => promise(
+ devUrl + "/api/pda/job/coating-issue/by-request-number/"+requestNumber, {
+ method: 'post',
+ data: {}
+ })
+
+//喷涂发料 是否有新任务
+export const isCoatingHasNewJob = (data) => promise(
+ devUrl + "/api/pda/store/coating-request/isHasNewJob", {
+ method: 'post',
+ data: data
+ })
+
+//喷涂发料申请 详情
+export const getCoatingRequestDetail = (id) => request(
+ devUrl + "/api/pda/store/coating-request/" + id, { //
+ data: {},
+ method: "get"
+ });
+
//装配发料任务列表
-export const getAssemblingIssueList = (params) => request(
- devUrl + "/api/pda/job/issue/list", {
- method: 'get',
- data: params
+export const getAssembleIssueList = (pageIndex,pageSize,isFinished) => request(
+ devUrl + "/api/pda/job/assemble-issue/list?pageIndex="+pageIndex+"&pageSize="+pageSize+"&isFinished="+isFinished, {
+ method: 'post',
+ data: {}
});
//根据Number 获取装配发料任务列表
-export const getAssemblingIssueJobByNumber = (jobNumber) => request(
- devUrl + "/api/pda/job/issue/by-number/" + jobNumber, {
+export const getAssembleIssueJobByNumber = (jobNumber) => request(
+ devUrl + "/api/pda/job/assemble-issue/by-number/" + jobNumber, {
data: {},
method: "get"
});
// 根据MaterialRequest Number获取装配发料任务列表
-export const getAssemblingIssueListByRequest = (requestNumber) => request(
- devUrl + "/api/pda/job/issue/list/by-request/" + requestNumber, { //
+export const getAssembleIssueListByRequest = (requestNumber) => request(
+ devUrl + "/api/pda/job/assemble-issue/list/by-request/" + requestNumber, { //
data: {},
method: "get"
});
//装配发料任务详情
-export const getAssemblingIssueDetail = (params) => request(
- devUrl + "/api/pda/job/issue/" + params.id, { //
+export const getAssembleIssueDetail = (params) => request(
+ devUrl + "/api/pda/job/assemble-issue/" + params.id, { //
data: {},
method: "get"
});
-
+
//承接装配发料任务
-export const takeAssemblingIssueJob = (params) => request(
- devUrl + "/api/pda/job/issue/take/" + params.id, { //
+export const takeAssembleIssueJob = (params) => request(
+ devUrl + "/api/pda/job/assemble-issue/take/" + params.id, { //
data: {},
method: "post"
});
//取消承接装配发料任务
-export const cancelTakeAssemblingIssueJob = (id) => request(
- devUrl + "/api/pda/job/issue/cancel-take/" + id, { //
+export const cancelTakeAssembleIssueJob = (id) => request(
+ devUrl + "/api/pda/job/assemble-issue/cancel-take/" + id, { //
data: {},
method: "post"
});
+
//完成装配发料任务
-export const finshAssemblingIssueJob = (id, params) => request(
- devUrl + "/api/pda/job/issue/finish/" + id, { //
+export const finshAssembleIssueJob = (masterId,detailId, params) => request(
+ devUrl + "/api/pda/job/assemble-issue/ExecuteDetail/" + masterId+"?detailId="+detailId, { //
+ data: params,
+ method: "post"
+ })
+
+//创建 装配叫料申请
+export const assembleIssueRequest = (params) => request(
+ devUrl + "/api/pda/store/assemble-request", { //
data: params,
method: "post"
})
+//装配 发料申请列表
+export const getAssembleRequestList = (pageIndex,pageSize,isFinished) => request(
+ devUrl + "/api/pda/store/assemble-request/list?pageIndex="+pageIndex+"&pageSize="+pageSize+"&isFinished="+isFinished, {
+ method: 'post',
+ data: {}
+ })
+
+//装配 发料申请 执行
+export const assembleRequestHandle = (id) => promise(
+ devUrl + "/api/pda/store/assemble-request/handle/"+id, {
+ method: 'post',
+ data: {}
+ })
+
+//装配 发料申请 详情
+export const getAssembleRequestDetail = (id) => request(
+ devUrl + "/api/pda/store/assemble-request/" + id, { //
+ data: {},
+ method: "get"
+ });
+
+//装配 发料申请 获取任务号
+export const getAssembleRequestJobByRequest = (requestNumber) => promise(
+ devUrl + "/api/pda/job/assemble-issue/by-request-number/"+requestNumber, {
+ method: 'post',
+ data: {}
+ })
+
+//装配 发料 是否有新任务
+export const isAssembleHasNewJob = (data) => promise(
+ devUrl + "/api/pda/store/assemble-request/isHasNewJob", {
+ method: 'post',
+ data: data
+ })
+
//kiting发料任务列表
export const getKittingIssueList = (pageIndex,pageSize,isFinished) => request(
devUrl + "/api/pda/job/kitting-issue/list?pageIndex="+pageIndex+"&pageSize="+pageSize+"&isFinished="+isFinished, {
@@ -1691,7 +1862,7 @@ export const getKitingIssueJobByNumber = (jobNumber) => request(
// 根据MaterialRequest Number获取kiting发料任务列表
export const getKitingIssueListByRequest = (requestNumber) => request(
- devUrl + "/api/pda/job/issue/list/by-request/" + requestNumber, { //
+ devUrl + "/api/pda/job/kitting-request/list/by-request/" + requestNumber, { //
data: {},
method: "get"
});
@@ -1745,7 +1916,7 @@ export const takeKittingIssueJob = (params) => request(
//取消承接kiting发料任务
export const cancelTakeKittingIssueJob = (id) => request(
- devUrl + "/api/pda/job/issue/cancel-take/" + id, { //
+ devUrl + "/api/pda/job/kitting-issue/cancel-take/" + id, { //
data: {},
method: "post"
});
@@ -1767,5 +1938,12 @@ export const getCountByItemCode = (itemCode) => request(
data: {},
method: "get"
})
+
+//kitting 推荐 isPackingCode=true 按箱,false 按数量
+export const getRecommendBalance = (itemCode,productLine,isPackingCode) => request(
+ devUrl + "/api/pda/inventory/balances/get-recommend-balance?itemCode="+itemCode+"&productLine="+productLine+"&isPackingCode="+isPackingCode,{ //
+ data: {},
+ method: "post"
+ })
\ No newline at end of file
diff --git a/fe/PDA/components/uni-tag/uni-tag.vue b/fe/PDA/components/uni-tag/uni-tag.vue
index f0f9caf94..c67470e8d 100644
--- a/fe/PDA/components/uni-tag/uni-tag.vue
+++ b/fe/PDA/components/uni-tag/uni-tag.vue
@@ -117,8 +117,8 @@
align-self: flex-start;
/* #endif */
/* padding: 0px 16px; */
- padding: 8rpx;
- line-height: 50rpx;
+ padding: 10rpx;
+ /* line-height: 40rpx; */
color: #333;
border-radius: 3px;
background-color: #f8f8f8;
diff --git a/fe/PDA/mycomponents/coms/task/comKittingIssue.vue b/fe/PDA/mycomponents/coms/task/comKittingIssue.vue
index 3b39cc3fb..822054c0f 100644
--- a/fe/PDA/mycomponents/coms/task/comKittingIssue.vue
+++ b/fe/PDA/mycomponents/coms/task/comKittingIssue.vue
@@ -10,9 +10,14 @@
- {{dataContent.kittingRequestNumber}}
+ {{dataContent.requestNumber}}
+
+
+ {{dataContent.worker}}
+
+
类型 : 按数量发料
@@ -21,10 +26,7 @@
类型 : 按箱发料
-
- 操作人 : {{dataContent.worker}}
-
-
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/PDA/pages/request/assembleIssueRequestList.vue b/fe/PDA/pages/request/assembleIssueRequestList.vue
new file mode 100644
index 000000000..c86cee9f2
--- /dev/null
+++ b/fe/PDA/pages/request/assembleIssueRequestList.vue
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/fe/PDA/pages/request/assembleIssueRequestListDetail.vue b/fe/PDA/pages/request/assembleIssueRequestListDetail.vue
new file mode 100644
index 000000000..48b4325c2
--- /dev/null
+++ b/fe/PDA/pages/request/assembleIssueRequestListDetail.vue
@@ -0,0 +1,222 @@
+
+
+
+
+
+
+
+
+
+
+
+ 位置码 : {{details[0].positionCode}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.itemCode }}
+
+ {{ item.itemName }}
+ {{ item.itemDesc1 }}
+
+
+
+
+
+
+
+ 库位
+
+
+ {{ item.toLocationCode }}
+
+
+
+
+ 叫料数量
+
+
+ {{item.issuedQty}}
+
+
+
+
+ 单位
+
+
+ {{ item.uom }}
+
+
+
+
+ 标包数
+
+ {{item.stdPackQty }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/PDA/pages/request/coatingIssueRequest.vue b/fe/PDA/pages/request/coatingIssueRequest.vue
new file mode 100644
index 000000000..d013427e0
--- /dev/null
+++ b/fe/PDA/pages/request/coatingIssueRequest.vue
@@ -0,0 +1,286 @@
+
+
+
+
+
+
+
+
+
+
+
+ 位置码 : {{dataContent.code}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.partCode }}
+
+ {{ item.partName }}
+ {{ item.partDesc }}
+
+
+
+
+
+
+
+ 库位
+
+
+ {{ item.locationCode }}({{item.locationName}})
+
+
+
+
+ 数量
+
+
+
+
+
+
+
+
+ 单位
+
+
+ {{ item.basicUom }}
+
+
+
+
+ 标包数
+
+ {{item.stdPackQty }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/PDA/pages/request/coatingIssueRequestList.vue b/fe/PDA/pages/request/coatingIssueRequestList.vue
new file mode 100644
index 000000000..dee326e6c
--- /dev/null
+++ b/fe/PDA/pages/request/coatingIssueRequestList.vue
@@ -0,0 +1,194 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/fe/PDA/pages/request/coatingIssueRequestListDetail.vue b/fe/PDA/pages/request/coatingIssueRequestListDetail.vue
new file mode 100644
index 000000000..900bdee87
--- /dev/null
+++ b/fe/PDA/pages/request/coatingIssueRequestListDetail.vue
@@ -0,0 +1,222 @@
+
+
+
+
+
+
+
+
+
+
+
+ 位置码 : {{details[0].positionCode}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.itemCode }}
+
+ {{ item.itemName }}
+ {{ item.itemDesc1 }}
+
+
+
+
+
+
+
+ 库位
+
+
+ {{ item.toLocationCode }}
+
+
+
+
+ 叫料数量
+
+
+ {{item.issuedQty}}
+
+
+
+
+ 单位
+
+
+ {{ item.uom }}
+
+
+
+
+ 标包数
+
+ {{item.stdPackQty }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/PDA/pages/request/injectionIssueRequest.vue b/fe/PDA/pages/request/injectionIssueRequest.vue
index 8c14c3703..959b8aa5c 100644
--- a/fe/PDA/pages/request/injectionIssueRequest.vue
+++ b/fe/PDA/pages/request/injectionIssueRequest.vue
@@ -1,112 +1,143 @@
+
+
+
+
+
-
+
+
+
+
+ 位置码 : {{dataContent.code}}
+
-
+
+
+
-
-
-
-
-
-
+
-
-
-
+
+
+
+
+
+
+ {{ item.partCode }}
+
+ {{ item.partName }}
+ {{ item.partDesc }}
+
+
+
+
+
+
+
+ 库位
+
+
+ {{ item.locationCode }}({{item.locationName}})
+
+
+
+
+ 数量
+
+
+
+
+
+
+
+
+ 单位
+
+
+ {{ item.basicUom }}
+
+
+
+
+ 标包数
+
+ {{item.stdPackQty }}
+
+
+
-
+
+
+
+
+
+
+
+
-
+
+
+
+
+
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/fe/PDA/pages/request/injectionIssueRequestList.vue b/fe/PDA/pages/request/injectionIssueRequestList.vue
new file mode 100644
index 000000000..1f98a1ea8
--- /dev/null
+++ b/fe/PDA/pages/request/injectionIssueRequestList.vue
@@ -0,0 +1,195 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/fe/PDA/pages/request/injectionIssueRequestListDetail.vue b/fe/PDA/pages/request/injectionIssueRequestListDetail.vue
new file mode 100644
index 000000000..010af9110
--- /dev/null
+++ b/fe/PDA/pages/request/injectionIssueRequestListDetail.vue
@@ -0,0 +1,222 @@
+
+
+
+
+
+
+
+
+
+
+
+ 位置码 : {{details[0].positionCode}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.itemCode }}
+
+ {{ item.itemName }}
+ {{ item.itemDesc1 }}
+
+
+
+
+
+
+
+ 库位
+
+
+ {{ item.toLocationCode }}
+
+
+
+
+ 叫料数量
+
+
+ {{item.issuedQty}}
+
+
+
+
+ 单位
+
+
+ {{ item.uom }}
+
+
+
+
+ 标包数
+
+ {{item.stdPackQty }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/PDA/pages/request/injectionPlanRequest.vue b/fe/PDA/pages/request/injectionPlanRequest.vue
new file mode 100644
index 000000000..2178e13b3
--- /dev/null
+++ b/fe/PDA/pages/request/injectionPlanRequest.vue
@@ -0,0 +1,242 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/PDA/pages/request/kittingIssueRequestListDetail.vue b/fe/PDA/pages/request/kittingIssueRequestListDetail.vue
index 7db4e4c73..39c1b2a02 100644
--- a/fe/PDA/pages/request/kittingIssueRequestListDetail.vue
+++ b/fe/PDA/pages/request/kittingIssueRequestListDetail.vue
@@ -138,15 +138,21 @@
//加载零件信息
getDetail() {
+ uni.showLoading({
+ title:"加载中",
+ mask:false
+ })
let that = this;
getKittingRequestDetail(that.id)
.then(item => {
+ uni.hideLoading()
console.log('item', item);
that.datacontent = item;
that.jobStatus = item.jobStatus
that.details = item.details;
})
.catch(err => {
+ uni.hideLoading()
this.showMessage('未查找到详细信息')
});
},
diff --git a/fe/PDA/pages/return/productionReturnFg.vue b/fe/PDA/pages/return/productionReturnFg.vue
new file mode 100644
index 000000000..f1753f5a8
--- /dev/null
+++ b/fe/PDA/pages/return/productionReturnFg.vue
@@ -0,0 +1,648 @@
+
+
+
+
+
+
+
+
+
+ 来源库位:
+ {{fromLocation.code}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.itemCode }}
+ {{ item.packingCode }}
+
+
+
+ {{item.itemName }}
+
+
+ {{item.qty}}
+ {{item.uom}}
+
+
+
+
+
+
+ 源库位
+ {{ item.locationCode }}
+
+
+
+ 目标库位
+ {{item.toLocationCode }}
+
+
+
+ 扫描目标库位
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/fe/PDA/pages/return/productionReturnRaw.vue b/fe/PDA/pages/return/productionReturnRaw.vue
new file mode 100644
index 000000000..f1753f5a8
--- /dev/null
+++ b/fe/PDA/pages/return/productionReturnRaw.vue
@@ -0,0 +1,648 @@
+
+
+
+
+
+
+
+
+
+ 来源库位:
+ {{fromLocation.code}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.itemCode }}
+ {{ item.packingCode }}
+
+
+
+ {{item.itemName }}
+
+
+ {{item.qty}}
+ {{item.uom}}
+
+
+
+
+
+
+ 源库位
+ {{ item.locationCode }}
+
+
+
+ 目标库位
+ {{item.toLocationCode }}
+
+
+
+ 扫描目标库位
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/fe/PDA/pages/task/coatingIssuleJobDetail.vue b/fe/PDA/pages/task/coatingIssuleJobDetail.vue
index 2c6bc34ae..abe70a75a 100644
--- a/fe/PDA/pages/task/coatingIssuleJobDetail.vue
+++ b/fe/PDA/pages/task/coatingIssuleJobDetail.vue
@@ -3,11 +3,8 @@
-
+
-
+
@@ -161,10 +158,11 @@
-
-
-
-
+
+
+
+
+
@@ -193,18 +191,21 @@
import comMessage from '@/mycomponents/common/comMessage.vue'
import winScanButton from '@/mycomponents/wincom/winScanButton.vue'
import winScanButtonTop from '@/mycomponents/wincom/winScanButtonTop.vue'
+ import winScanButtonBottom from '@/mycomponents/wincom/winScanButtonBottom.vue'
+
import winMulitScan from '@/mycomponents/wincom/winMulitScan.vue'
import comJobScanDetail from '@/mycomponents/comjob/comJobScanDetail.vue'
import winScanByPack from '@/mycomponents/wincom/winScanByPack.vue'
import comNumberBox from '@/mycomponents/common/comNumberBox.vue';
import winScanLocationCode from '@/mycomponents/wincom/winScanLocationCode.vue';
import selectClickList from "@/mycomponents/popup/selectClickList.vue"
-
+
export default {
components: {
comMessage,
winScanButton,
winScanButtonTop,
+ winScanButtonBottom,
winMulitScan,
comJobScanDetail,
winScanByPack,
@@ -228,7 +229,8 @@
isPack: true,
titleArray: ['箱标签'],
jobStatus: "",
- toLocationInfo: {}
+ toLocationInfo: {},
+ handleToPackingCodeLocationCode: ""
}
},
props: {
@@ -276,26 +278,47 @@
})
},
methods: {
- openScanPopupFrom() {
- this.$refs.scanPopupFrom.openScanPopup();
+ openScanPopupTo() {
+ this.$refs.scanPopupTo.openScanPopup();
},
openLocationTo() {
this.$refs.locationTo.openScanPopup()
},
+ openLocationFrom() {
+ this.$refs.locationFrom.openScanPopup()
+ },
+
+
+ geFromLocation(locationInfo) {
+ var current = this.details[0]
+ if (!current.handledToPackingCode) {
+ this.showMessage("请先扫描箱码")
+ return;
+ }
+
+ if (locationInfo.code != current.handleToPackingCodeLocationCode) {
+ this.showMessage("扫描来源库位[" + locationInfo.code + "]与箱码[" + current.handledToPackingCode +
+ "]对应的库位[" + current.handleToPackingCodeLocationCode + "]不一致,请重新扫描")
+ return;
+ }
+
+ current.handledFromLocationCode = locationInfo.code
+ current.handledFromLocationArea = locationInfo.locationArea
+ current.handledFromLocationGroup = locationInfo.locationGroup
+ current.handledFromLocationErpCode = locationInfo.locationErpCode
+ },
+
geToLocation(locationInfo) {
var current = this.details[0]
- if (locationInfo.code != current.transferLibToLocationCode) {
- this.showMessage(" 扫描目标库位[" + locationInfo.code + "]与推荐库位[" + this.details[0]
- .transferLibToLocationCode + "]不一致,请重新扫描")
+ if (locationInfo.code != current.recommendToLocationCode) {
+ this.showMessage(" 扫描目标库位[" + locationInfo.code + "]与推荐目标库位[" + current
+ .recommendToLocationCode + "]不一致,请重新扫描")
return;
}
current.handledToLocationCode = locationInfo.code
current.handledToLocationArea = locationInfo.locationArea
current.handledToLocationGroup = locationInfo.locationGroup
current.handledToLocationErpCode = locationInfo.locationErpCode
- current.handledToWarehouseCode = locationInfo.warehouseCode
- current.handledToPackingCode = ""
- current.handledToLot = ""
},
//加载零件信息
getDetail() {
@@ -321,20 +344,20 @@
r => {
r.scaned = false;
r.scanDate = new Date()
- r.handledFromContainerCode = r.transferLibFromContainerCode
- r.handledFromPackingCode = r.transferLibFromPackingCode
- r.handledFromSupplierBatch = r.transferLibFromSupplierBatch
- r.handledFromArriveDate = r.transferLibFromArriveDate
- r.handledFromProduceDate = r.transferLibFromProduceDate
- r.handledFromExpireDate = r.transferLibFromExpireDate
- r.handledFromLot = r.transferLibFromLot
- r.handledFromLocationCode = r.transferLibFromLocationCode
- r.handledFromLocationArea = r.transferLibFromLocationArea
- r.handledFromLocationGroup = r.transferLibFromLocationGroup
- r.handledFromLocationErpCode = r.transferLibFromLocationErpCode
- r.handledFromWarehouseCode = r.transferLibFromWarehouseCode
- r.handledFromQty = r.transferLibFromQty
- r.handledToQty = r.handledFromQty
+ r.handledFromContainerCode = r.recommendFromContainerCode
+ r.handledFromPackingCode = r.recommendFromPackingCode
+ r.handledFromSupplierBatch = r.recommendFromSupplierBatch
+ r.handledFromArriveDate = r.recommendFromArriveDate
+ r.handledFromProduceDate = r.recommendFromProduceDate
+ r.handledFromExpireDate = r.recommendFromExpireDate
+ r.handledFromLot = r.recommendFromLot
+ // r.handledFromLocationCode = r.recommendFromLocationCode
+ // r.handledFromLocationArea = r.recommendFromLocationArea
+ // r.handledFromLocationGroup = r.recommendFromLocationGroup
+ // r.handledFromLocationErpCode = r.recommendFromLocationErpCode
+ // r.handledFromWarehouseCode = r.recommendFromWarehouseCode
+ r.handledFromQty = r.recommendFromQty
+ // r.handledToQty = r.handledFromQty
}
);
that.ispending = item.jobStatus === 2;
@@ -349,7 +372,7 @@
});
},
- getScanResultFrom(result) {
+ getScanResultTo(result) {
var fromData = result.data;
var data = this.details.filter(r => r.itemCode == result.data.itemCode)
if (data.length == 0) {
@@ -360,52 +383,59 @@
if (res.totalCount > 0) {
var balancesItem = res.items[0];
var item = data[0];
- item.handledFromContainerCode = balancesItem.containerCode
- item.handledFromPackingCode = balancesItem.packingCode
- item.handledFromSupplierBatch = balancesItem.supplierBatch
- item.handledFromArriveDate = balancesItem.arriveDate
- item.handledFromProduceDate = balancesItem.produceDate
- item.handledFromExpireDate = balancesItem.expireDate
- item.handledFromLot = balancesItem.lot
- item.handledFromLocationCode = balancesItem.locationCode
- item.handledFromLocationArea = balancesItem.locationArea
- item.handledFromLocationGroup = balancesItem.locationGroup
- item.handledFromLocationErpCode = balancesItem.locationErpCode
- item.handledFromWarehouseCode = balancesItem.warehouseCode
- item.handledFromQty = balancesItem.qty;
- item.handledToQty =item.handledFromQty;
- this.$forceUpdate()
- }
- });
+ if (balancesItem.lot == item.recommendToLot) {
+ item.handledToContainerCode = balancesItem.containerCode
+ item.handledToPackingCode = balancesItem.packingCode
+ item.handledToSupplierBatch = balancesItem.supplierBatch
+ item.handledToArriveDate = balancesItem.arriveDate
+ item.handledToProduceDate = balancesItem.produceDate
+ item.handledToExpireDate = balancesItem.expireDate
+ item.handledToLot = balancesItem.lot
+ item.handledToWarehouseCode = balancesItem.warehouseCode
+ item.handledToQty = balancesItem.qty
+
+ item.handledFromContainerCode = balancesItem.containerCode
+ item.handledFromPackingCode = balancesItem.packingCode
+ item.handledFromSupplierBatch = balancesItem.supplierBatch
+ item.handledFromArriveDate = balancesItem.arriveDate
+ item.handledFromProduceDate = balancesItem.produceDate
+ item.handledFromExpireDate = balancesItem.expireDate
+ item.handledFromLot = balancesItem.lot
+ item.handledFromWarehouseCode = balancesItem.warehouseCode
+ item.handledFromQty = balancesItem.qty
+ item.handleToPackingCodeLocationCode = balancesItem.locationCode
+ } else {
+ showConfirmMsg("箱码[" + fromData.code + "]的批次[" + balancesItem.lot + "]与推荐目标批次[" + item
+ .recommendToLot + "]不一致,是否继续发料", res => {
+ if (res) {
+ item.handledToContainerCode = balancesItem.containerCode
+ item.handledToPackingCode = balancesItem.packingCode
+ item.handledToSupplierBatch = balancesItem.supplierBatch
+ item.handledToArriveDate = balancesItem.arriveDate
+ item.handledToProduceDate = balancesItem.produceDate
+ item.handledToExpireDate = balancesItem.expireDate
+ item.handledToLot = balancesItem.lot
+ item.handledToWarehouseCode = balancesItem.warehouseCode
+ item.handledToQty = balancesItem.qty
+
+ item.handledFromContainerCode = balancesItem.containerCode
+ item.handledFromPackingCode = balancesItem.packingCode
+ item.handledFromSupplierBatch = balancesItem.supplierBatch
+ item.handledFromArriveDate = balancesItem.arriveDate
+ item.handledFromProduceDate = balancesItem.produceDate
+ item.handledFromExpireDate = balancesItem.expireDate
+ item.handledFromLot = balancesItem.lot
+ item.handledFromWarehouseCode = balancesItem.warehouseCode
+ item.handledFromQty = balancesItem.qty
+ item.handleToPackingCodeLocationCode = balancesItem.locationCode
+ }
+ })
- },
+ }
- getScanResultTo(result) {
- var fromData = result.data;
- var data = this.details.filter(r => r.itemCode == result.data.itemCode)
- if (data.length == 0) {
- this.showMessage("扫描的箱码[" + fromData.code + "]的物品不在列表中")
- return;
- }
- this.getBalance(result, res => {
- if (res.totalCount > 0) {
- var balancesItem = res.items[0];
- var item = data[0];
- item.handledToContainerCode = balancesItem.containerCode
- item.handledToPackingCode = balancesItem.packingCode
- item.handledToSupplierBatch = balancesItem.supplierBatch
- item.handledToArriveDate = balancesItem.arriveDate
- item.handledToProduceDate = balancesItem.produceDate
- item.handledToExpireDate = balancesItem.expireDate
- item.handledToLot = balancesItem.lot
- item.handledToLocationCode = balancesItem.locationCode
- item.handledToLocationArea = balancesItem.locationArea
- item.handledToLocationGroup = balancesItem.locationGroup
- item.handledToLocationErpCode = balancesItem.locationErpCode
- item.handledToWarehouseCode = balancesItem.warehouseCode
- item.handledToQty = balancesItem.qty
- this.$forceUpdate()
+
+ this.$forceUpdate()
}
});
@@ -443,40 +473,32 @@
uni.hideLoading();
});
},
-
- recommend(){
- var itemCode =this.details[0].itemCode
- var productLine =this.details[0].prodLine
- if(!itemCode){
+
+ recommend() {
+ var itemCode = this.details[0].itemCode
+ var productLine = this.details[0].prodLine
+ if (!itemCode) {
this.showMessage("物料为空")
return;
}
- if(!productLine){
+ if (!productLine) {
this.showMessage("生产线为空")
return;
}
-
+
uni.showLoading({
title: "加载中",
mask: true
})
-
- getRecommendBalance(itemCode,productLine).then(res=>{
+
+ getRecommendBalance(itemCode, productLine, true).then(res => {
uni.hideLoading()
if (res.length > 0) {
- var list = [];
- list = res.Result;
- list.forEach(res => {
- res.label = res.PLAN_NO;
- res.value = res.SHIFT_CODE
- })
- this.$refs.selectPopup.openScanPopup(list)
- }
-
- else {
- this.showMessage("推荐列表为0")
+ this.$refs.selectPopup.openScanPopup(res)
+ } else {
+ this.showMessage("暂无推荐库存")
}
- }).catch(error=>{
+ }).catch(error => {
uni.hideLoading()
this.showMessage(error)
})
@@ -503,12 +525,16 @@
this.showMessage('该任务没有要上架的零件');
return;
}
- if (!that.details[0].handledFromPackingCode) {
+ if (!that.details[0].handledToPackingCode) {
this.showMessage('请先扫描箱码');
return;
}
if (!that.details[0].handledToLocationCode) {
- this.showMessage('请先扫描库位');
+ this.showMessage('请先扫描目标库位');
+ return;
+ }
+ if (!that.details[0].handledFromLocationCode) {
+ this.showMessage('请先扫描来源库位');
return;
}
that.finsh();
@@ -523,6 +549,7 @@
mask: true
});
let params = that.details[0];
+ // console.log("提交",JSON.stringify(params))
finshCoatingIssueJob(that.id, params.id, params)
.then(res => {
uni.hideLoading();
@@ -537,6 +564,7 @@
},
clear() {
+ this.handleToPackingCodeLocationCode = ""
this.getDetail();
},
showMessage(message) {
diff --git a/fe/PDA/pages/task/injectionIssueJob.vue b/fe/PDA/pages/task/injectionIssueJob.vue
index a40fe5714..9b3daabd9 100644
--- a/fe/PDA/pages/task/injectionIssueJob.vue
+++ b/fe/PDA/pages/task/injectionIssueJob.vue
@@ -1,24 +1,39 @@
-
-
+
+
+ -->
+
+
+
+
-
+
-
-
-
+
+
+
+
-
-
diff --git a/fe/PDA/pages/task/injectionIssueJobDetail.vue b/fe/PDA/pages/task/injectionIssueJobDetail.vue
index 37a8d49ef..e8b177b78 100644
--- a/fe/PDA/pages/task/injectionIssueJobDetail.vue
+++ b/fe/PDA/pages/task/injectionIssueJobDetail.vue
@@ -1,210 +1,241 @@
+
-
+
-
+
-
-
-
-
-
-
-
-
-
-
- {{ item.itemCode }}
-
- {{ item.itemName }}
- {{ item.itemDesc1 }}
-
+
+
+
+
+
+
+ {{ item.itemCode }}
+
+ {{ item.itemName }}
+ {{ item.itemDesc1 }}
-
-
-
-
-
- 收容数
-
- {{item.requestQty}}({{item.uom}})
-
-
-
-
-
-
-
-
- 来源库位
-
- {{ item.recommendFromLocationCode }}
-
-
-
-
-
+
+
+
+
+
+
+
+ 推荐
+
+ 来源
+ 目标
+
+
+
+ 箱码
+
+ {{item.recommendFromPackingCode}}
+ {{item.recommendToPackingCode}}
+
+
+ 批次
+ {{item.recommendFromLot}}
+ {{item.recommendToLot}}
+
+
+ 库位
+
+ {{item.recommendFromLocationCode}}
+
+ {{item.recommendToLocationCode}}
+
+
+ 数量({{item.uom}})
+ {{item.recommendFromQty}}
+ {{item.recommendToQty}}
+
+
+
-
-
+
+
+
+
+
+
+ 库移
+
+
+
+ 来源
+ 目标
+
+
+
+ 箱码
+
+ {{item.transferLibFromPackingCode}}
+
+ {{item.transferLibToPackingCode}}
+
+
+ 批次
+ {{item.transferLibFromLot}}
+ {{item.transferLibToLot}}
+
+
+ 库位
+
+ {{item.transferLibFromLocationCode}}
+
+ {{item.transferLibToLocationCode}}
+
+
+ 数量({{item.uom}})
+ {{item.transferLibFromQty}}
+ {{item.transferLibToQty}}
+
+
+
+
+
+
+
+
+
+
+ 实际
+ 来源
+ 目标
+
+
+
+ 箱码
+ {{item.handledFromPackingCode}}
+ {{item.handledToPackingCode}}
+
+
+ 批次
+ {{item.handledFromLot}}
+ {{item.handledToLot}}
+
+
+ 库位
+
+ {{item.handledFromLocationCode}}
+ {{item.handledToLocationCode}}
+
+
+ 数量({{item.uom}})
+ {{item.handledFromQty}}
+ {{item.handledToQty}}
+
+
+
+
+
+
+
+
+
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/fe/PDA/pages/task/injectionIssueJobDetailByQty.vue b/fe/PDA/pages/task/injectionIssueJobDetailByQty.vue
new file mode 100644
index 000000000..87628229b
--- /dev/null
+++ b/fe/PDA/pages/task/injectionIssueJobDetailByQty.vue
@@ -0,0 +1,547 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.itemCode }}
+
+ {{ item.itemName }}
+ {{ item.itemDesc1 }}
+
+
+
+
+
+
+
+
+ 推荐
+
+ 来源
+ 目标
+
+
+
+ 库位
+
+ {{item.recommendFromLocationCode}}
+
+ {{item.recommendToLocationCode}}
+
+
+ 数量({{item.uom}})
+ {{item.recommendFromQty}}
+ {{item.recommendToQty }}
+
+
+
+
+
+
+
+
+
+
+
+ 实际
+ 来源
+ 目标
+
+
+
+ 库位
+
+ {{item.handledFromLocationCode}}
+ {{item.handledToLocationCode}}
+
+
+ 数量({{item.uom}})
+ {{item.tempHandledFromQty}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 单件码
+
+
+
+
+
+ 来源库位
+
+
+
+
+
+ 目标库位
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/fe/PDA/pages/task/injectionPlanJob.vue b/fe/PDA/pages/task/injectionPlanJob.vue
new file mode 100644
index 000000000..6fff6fa45
--- /dev/null
+++ b/fe/PDA/pages/task/injectionPlanJob.vue
@@ -0,0 +1,169 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/fe/PDA/pages/task/injectionPlanJobDetail.vue b/fe/PDA/pages/task/injectionPlanJobDetail.vue
new file mode 100644
index 000000000..46f0d3abe
--- /dev/null
+++ b/fe/PDA/pages/task/injectionPlanJobDetail.vue
@@ -0,0 +1,464 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.itemCode }}
+
+ {{ item.itemName }}
+ {{ item.itemDesc1 }}
+
+
+
+
+
+
+
+ 收容数
+
+ {{item.requestQty}}({{item.uom}})
+
+
+
+
+
+
+
+
+ 来源库位
+
+ {{ item.recommendFromLocationCode }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file