diff --git a/fe/PDA/api/index.js b/fe/PDA/api/index.js index d013fb31c..6a56a9e2d 100644 --- a/fe/PDA/api/index.js +++ b/fe/PDA/api/index.js @@ -1571,4 +1571,160 @@ export const getItemCategoryList = () => request( method: "get" }) - \ No newline at end of file +//喷涂发料任务列表 +export const getSprayIssueList = (params) => request( + devUrl + "/api/pda/job/issue/list", { + method: 'get', + data: params + }); + +//根据Number 获取喷涂发料任务列表 +export const getSprayIssueJobByNumber = (jobNumber) => request( + devUrl + "/api/pda/job/issue/by-number/" + jobNumber, { + data: {}, + method: "get" + }); + +// 根据MaterialRequest Number获取喷涂发料任务列表 +export const getSprayIssueListByRequest = (requestNumber) => request( + devUrl + "/api/pda/job/issue/list/by-request/" + requestNumber, { // + data: {}, + method: "get" + }); + +//喷涂发料任务详情 +export const getSprayIssueDetail = (params) => request( + devUrl + "/api/pda/job/issue/" + params.id, { // + data: {}, + method: "get" + }); + +//承接喷涂发料任务 +export const takeSprayIssueJob = (params) => request( + devUrl + "/api/pda/job/issue/take/" + params.id, { // + data: {}, + method: "post" + }); + +//取消承接喷涂发料任务 +export const cancelTakeSprayIssueJob = (id) => request( + devUrl + "/api/pda/job/issue/cancel-take/" + id, { // + data: {}, + method: "post" + }); +//完成喷涂发料任务 +export const finshSprayIssueJob = (id, params) => request( + devUrl + "/api/pda/job/issue/finish/" + id, { // + data: params, + method: "post" + }) + +//装配发料任务列表 +export const getAssemblingIssueList = (params) => request( + devUrl + "/api/pda/job/issue/list", { + method: 'get', + data: params + }); + +//根据Number 获取装配发料任务列表 +export const getAssemblingIssueJobByNumber = (jobNumber) => request( + devUrl + "/api/pda/job/issue/by-number/" + jobNumber, { + data: {}, + method: "get" + }); + +// 根据MaterialRequest Number获取装配发料任务列表 +export const getAssemblingIssueListByRequest = (requestNumber) => request( + devUrl + "/api/pda/job/issue/list/by-request/" + requestNumber, { // + data: {}, + method: "get" + }); + +//装配发料任务详情 +export const getAssemblingIssueDetail = (params) => request( + devUrl + "/api/pda/job/issue/" + params.id, { // + data: {}, + method: "get" + }); + +//承接装配发料任务 +export const takeAssemblingIssueJob = (params) => request( + devUrl + "/api/pda/job/issue/take/" + params.id, { // + data: {}, + method: "post" + }); + +//取消承接装配发料任务 +export const cancelTakeAssemblingIssueJob = (id) => request( + devUrl + "/api/pda/job/issue/cancel-take/" + id, { // + data: {}, + method: "post" + }); +//完成装配发料任务 +export const finshAssemblingIssueJob = (id, params) => request( + devUrl + "/api/pda/job/issue/finish/" + id, { // + data: params, + method: "post" + }) + + //kiting发料任务列表 + export const getKittingIssueList = (pageIndex,pageSize,isFinished) => request( + devUrl + "/api/pda/job/kitting-issue/list?pageIndex="+pageIndex+"&pageSize="+pageSize+"&isFinished="+isFinished, { + method: 'post', + data: {} + }); + + //根据Number 获取kiting发料任务列表 + export const getKitingIssueJobByNumber = (jobNumber) => request( + devUrl + "/api/pda/job/kitting-issue/by-number/" + jobNumber, { + data: {}, + method: "get" + }); + + // 根据MaterialRequest Number获取kiting发料任务列表 + export const getKitingIssueListByRequest = (requestNumber) => request( + devUrl + "/api/pda/job/issue/list/by-request/" + requestNumber, { // + data: {}, + method: "get" + }); + + //kiting发料任务详情 + export const getKittingIssueDetail = (params) => request( + devUrl + "/api/pda/job/kitting-issue/" + params.id, { // + data: {}, + method: "get" + }); + + //承接kiting发料任务 + export const takeKittingIssueJob = (params) => request( + devUrl + "/api/pda/job/kitting-issue/take/" + params.id, { // + data: {}, + method: "post" + }); + + //取消承接kiting发料任务 + export const cancelTakeKittingIssueJob = (id) => request( + devUrl + "/api/pda/job/issue/cancel-take/" + id, { // + data: {}, + method: "post" + }); + //完成kiting发料任务 + export const finshKittingIssueJob = (masterId,detailId, params) => request( + devUrl + "/api/pda/job/kitting-issue/ExecuteDetail/" + masterId+"?detailId="+detailId, { // + data: params, + method: "post" + }) + //创建 kiting叫料申请 + export const kittingIssueRequest = (params) => request( + devUrl + "/api/pda/store/kitting-request", { // + data: params, + method: "post" + }) + //通过物料号查询收容数 + export const getCountByItemCode = (itemCode) => request( + devUrl + "/api/pda/item-container/by-item?itemCode="+itemCode, { // + data: {}, + method: "get" + }) + + \ No newline at end of file diff --git a/fe/PDA/common/basic.js b/fe/PDA/common/basic.js index f02cc7c2b..9550522bc 100644 --- a/fe/PDA/common/basic.js +++ b/fe/PDA/common/basic.js @@ -7,6 +7,7 @@ export function getJobStatuStyle(val) { else if (val == 2) return 'pending' else if (val == 3) return 'completed' else if (val == 4) return 'close' + else if (val == 30) return 'close' } //任务状态 //open pending completed close @@ -16,6 +17,7 @@ export function getJobStatuDesc(val) { else if (val == 2) return '进行中' else if (val == 3) return '完成' else if (val == 4) return '关闭' + else if (val == 30) return '等待' else return '其他' } diff --git a/fe/PDA/common/new_style.css b/fe/PDA/common/new_style.css index 492cf0e9d..5aaf197b4 100644 --- a/fe/PDA/common/new_style.css +++ b/fe/PDA/common/new_style.css @@ -135,7 +135,7 @@ uni-page-head .uni-page-head__title { position: fixed; z-index: 10; right: 20rpx; - bottom: 20%; + bottom: 25%; width: 110rpx; height: 110rpx; background-color: #5A7CF3; diff --git a/fe/PDA/common/pdabasic.css b/fe/PDA/common/pdabasic.css index c82ae3785..06290efc2 100644 --- a/fe/PDA/common/pdabasic.css +++ b/fe/PDA/common/pdabasic.css @@ -272,6 +272,12 @@ color: #FFFFFF; } +/* 等待 */ +.close { + background-color: #D5D5AD; + color: #FFFFFF; +} + /* 关闭 */ .other { diff --git a/fe/PDA/common/request.js b/fe/PDA/common/request.js index 5d583d02c..cc1741259 100644 --- a/fe/PDA/common/request.js +++ b/fe/PDA/common/request.js @@ -117,7 +117,7 @@ request.globalRequest = (url, options = {}, power) => { } }) .catch(params => { - throw new Error(params); + throw new Error("后台提示 : "+params); }) } diff --git a/fe/PDA/mycomponents/comjob/comJobScanDetail.vue b/fe/PDA/mycomponents/comjob/comJobScanDetail.vue index 745f37b83..df40c4cf5 100644 --- a/fe/PDA/mycomponents/comjob/comJobScanDetail.vue +++ b/fe/PDA/mycomponents/comjob/comJobScanDetail.vue @@ -13,7 +13,7 @@ 总数量 {{ allCount}} - + {{scanHint}} {{ scanCount}} @@ -50,6 +50,10 @@ type: String, default: "已扫描" }, + isShowScanHint:{ + type: Boolean, + default: true + } }, data() { return { diff --git a/fe/PDA/mycomponents/coms/task/comCountScanDetail.vue b/fe/PDA/mycomponents/coms/task/comCountScanDetail.vue index 1936fb680..710aefedb 100644 --- a/fe/PDA/mycomponents/coms/task/comCountScanDetail.vue +++ b/fe/PDA/mycomponents/coms/task/comCountScanDetail.vue @@ -25,7 +25,11 @@ {{ newCount}} --> - 盘点 + 盘点次数 + {{ countOrder}} + + + 已经盘点 {{ scanCount}} @@ -61,6 +65,10 @@ type: Number, default: 0 }, + countOrder: { + type: Number, + default: 0 + }, location: { type: Object, default: {} diff --git a/fe/PDA/mycomponents/coms/task/comKittingIssue.vue b/fe/PDA/mycomponents/coms/task/comKittingIssue.vue new file mode 100644 index 000000000..ae43ac8d9 --- /dev/null +++ b/fe/PDA/mycomponents/coms/task/comKittingIssue.vue @@ -0,0 +1,83 @@ + + + + + + diff --git a/fe/PDA/mycomponents/wincom/winScanButton.vue b/fe/PDA/mycomponents/wincom/winScanButton.vue index 681f31e4a..665614c39 100644 --- a/fe/PDA/mycomponents/wincom/winScanButton.vue +++ b/fe/PDA/mycomponents/wincom/winScanButton.vue @@ -1,12 +1,18 @@ diff --git a/fe/PDA/mycomponents/wincom/winScanButtonLeft.vue b/fe/PDA/mycomponents/wincom/winScanButtonLeft.vue new file mode 100644 index 000000000..b1d3830e3 --- /dev/null +++ b/fe/PDA/mycomponents/wincom/winScanButtonLeft.vue @@ -0,0 +1,58 @@ + + + + + diff --git a/fe/PDA/mycomponents/wincom/winScanButtonTop.vue b/fe/PDA/mycomponents/wincom/winScanButtonTop.vue new file mode 100644 index 000000000..b5738ba84 --- /dev/null +++ b/fe/PDA/mycomponents/wincom/winScanButtonTop.vue @@ -0,0 +1,58 @@ + + + + + diff --git a/fe/PDA/mycomponents/wincom/winScanButtonbottom.vue b/fe/PDA/mycomponents/wincom/winScanButtonbottom.vue new file mode 100644 index 000000000..a67735836 --- /dev/null +++ b/fe/PDA/mycomponents/wincom/winScanButtonbottom.vue @@ -0,0 +1,58 @@ + + + + + diff --git a/fe/PDA/mycomponents/wincom/winScanByPack.vue b/fe/PDA/mycomponents/wincom/winScanByPack.vue index df05c4010..e2eb98c4a 100644 --- a/fe/PDA/mycomponents/wincom/winScanByPack.vue +++ b/fe/PDA/mycomponents/wincom/winScanByPack.vue @@ -3,7 +3,7 @@ - 扫描箱标签 + 扫描{{title}} 关闭 @@ -11,7 +11,7 @@ 箱标签 --> - @@ -41,7 +41,7 @@ props: { title: { type: String, - default: '' + default: '箱标签' }, }, data() { diff --git a/fe/PDA/mycomponents/wincom/winScanByPosition.vue b/fe/PDA/mycomponents/wincom/winScanByPosition.vue index 0a6d140bc..11df72ff0 100644 --- a/fe/PDA/mycomponents/wincom/winScanByPosition.vue +++ b/fe/PDA/mycomponents/wincom/winScanByPosition.vue @@ -70,10 +70,10 @@ getScanResult(result) { console.log("扫描",result.data.code) if (result != null) { - if(result.data.code[0].toUpperCase()!="W"){ - this.showMessage("标签格式不正确") - return; - } + // if(result.data.code[0].toUpperCase()!="W"){ + // this.showMessage("标签格式不正确") + // return; + // } uni.showLoading({ title: '扫描中...', mask: true diff --git a/fe/PDA/pages.js b/fe/PDA/pages.js index e17e4a243..2efe20a17 100644 --- a/fe/PDA/pages.js +++ b/fe/PDA/pages.js @@ -737,6 +737,62 @@ module.exports = () => ({ "navigationBarTitleText": "注塑发料任务详情", "enablePullDownRefresh": false } + }, + { + "path": "pages/task/sprayIssuleJob", + "style": { + "navigationBarTitleText": "喷涂发料", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/task/sprayIssuleJobDetail", + "style": { + "navigationBarTitleText": "喷涂发料详情", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/task/assemblingIssueJob", + "style": { + "navigationBarTitleText": "装配发料", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/task/assemblingIssueJobDetail", + "style": { + "navigationBarTitleText": "装配发料详情", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/task/kittingIssueJob", + "style": { + "navigationBarTitleText": "kiting发料", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/task/kittingIssueJobDetail", + "style": { + "navigationBarTitleText": "kiting发料详情", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/task/kittingIssueJobDetailByQty", + "style": { + "navigationBarTitleText": "kiting发料详情", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/request/kittingIssueRequest", + "style": { + "navigationBarTitleText": "kiting叫料申请", + "enablePullDownRefresh": false + } } diff --git a/fe/PDA/pages.json b/fe/PDA/pages.json index 8614053c0..18a71e1fd 100644 --- a/fe/PDA/pages.json +++ b/fe/PDA/pages.json @@ -714,11 +714,65 @@ "navigationBarTitleText": "注塑发料任务详情", "enablePullDownRefresh": false } - } - - + }, + { + "path": "pages/task/sprayIssuleJob", + "style": { + "navigationBarTitleText": "喷涂发料", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/task/sprayIssuleJobDetail", + "style": { + "navigationBarTitleText": "喷涂发料详情", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/task/assemblingIssueJob", + "style": { + "navigationBarTitleText": "装配发料", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/task/assemblingIssueJobDetail", + "style": { + "navigationBarTitleText": "装配发料详情", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/task/kittingIssueJob", + "style": { + "navigationBarTitleText": "kiting发料", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/task/kittingIssueJobDetail", + "style": { + "navigationBarTitleText": "kiting发料详情", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/task/kittingIssueJobDetailByQty", + "style": { + "navigationBarTitleText": "kiting发料详情", + "enablePullDownRefresh": false + } + }, + { + "path": "pages/request/kittingIssueRequest", + "style": { + "navigationBarTitleText": "kiting叫料申请", + "enablePullDownRefresh": false + } + } ], diff --git a/fe/PDA/pages/new_file.html b/fe/PDA/pages/new_file.html new file mode 100644 index 000000000..18c304f0d --- /dev/null +++ b/fe/PDA/pages/new_file.html @@ -0,0 +1,19 @@ + + + + +段落文本 + + + +

这是一个h2标签层级的居中标题

+

这是一个使用了P段落标签的文章的开头

+

类型:实例

+

这是文章的正文,通过使用两个段落标签p可以实现两个 + 段落文本的分层

+ + + diff --git a/fe/PDA/pages/request/kittingIssueRequest.vue b/fe/PDA/pages/request/kittingIssueRequest.vue new file mode 100644 index 000000000..e9d793632 --- /dev/null +++ b/fe/PDA/pages/request/kittingIssueRequest.vue @@ -0,0 +1,286 @@ + + + + + \ No newline at end of file diff --git a/fe/PDA/pages/task/assemblingIssueJob.vue b/fe/PDA/pages/task/assemblingIssueJob.vue new file mode 100644 index 000000000..6af6d5a45 --- /dev/null +++ b/fe/PDA/pages/task/assemblingIssueJob.vue @@ -0,0 +1,238 @@ + + + + diff --git a/fe/PDA/pages/task/assemblingIssueJobDetail.vue b/fe/PDA/pages/task/assemblingIssueJobDetail.vue new file mode 100644 index 000000000..cb8ff2b44 --- /dev/null +++ b/fe/PDA/pages/task/assemblingIssueJobDetail.vue @@ -0,0 +1,713 @@ + + + + + + diff --git a/fe/PDA/pages/task/countRawDetail.vue b/fe/PDA/pages/task/countRawDetail.vue index 0b12832b7..6e88749a6 100644 --- a/fe/PDA/pages/task/countRawDetail.vue +++ b/fe/PDA/pages/task/countRawDetail.vue @@ -4,7 +4,7 @@ + :newCount="newCount" :location="location" :countOrder="datacontent.inventoryStage"> @@ -360,8 +360,8 @@ that.originalDetails = res.details; that.allCount = res.details.length - that.scanAllDetails = res.depDetails; - that.scanCount = res.depDetails.length + that.scanAllDetails = res.depDetails.filter(r=>r.inventoryStage==res.inventoryStage); + that.scanCount = that.scanAllDetails.length that.scanAllDetails.forEach(res=>{ res.IsDelete = false; diff --git a/fe/PDA/pages/task/kittingIssueJob.vue b/fe/PDA/pages/task/kittingIssueJob.vue new file mode 100644 index 000000000..8bc990662 --- /dev/null +++ b/fe/PDA/pages/task/kittingIssueJob.vue @@ -0,0 +1,246 @@ + + + + diff --git a/fe/PDA/pages/task/kittingIssueJobDetail.vue b/fe/PDA/pages/task/kittingIssueJobDetail.vue new file mode 100644 index 000000000..7295d69ce --- /dev/null +++ b/fe/PDA/pages/task/kittingIssueJobDetail.vue @@ -0,0 +1,554 @@ + + + + + + \ No newline at end of file diff --git a/fe/PDA/pages/task/kittingIssueJobDetailByQty.vue b/fe/PDA/pages/task/kittingIssueJobDetailByQty.vue new file mode 100644 index 000000000..3ec5abc36 --- /dev/null +++ b/fe/PDA/pages/task/kittingIssueJobDetailByQty.vue @@ -0,0 +1,554 @@ + + + + + + \ No newline at end of file diff --git a/fe/PDA/pages/task/sprayIssuleJob.vue b/fe/PDA/pages/task/sprayIssuleJob.vue new file mode 100644 index 000000000..c136c591d --- /dev/null +++ b/fe/PDA/pages/task/sprayIssuleJob.vue @@ -0,0 +1,238 @@ + + + + diff --git a/fe/PDA/pages/task/sprayIssuleJobDetail.vue b/fe/PDA/pages/task/sprayIssuleJobDetail.vue new file mode 100644 index 000000000..46c31aa46 --- /dev/null +++ b/fe/PDA/pages/task/sprayIssuleJobDetail.vue @@ -0,0 +1,713 @@ + + + + + +