diff --git a/App.vue b/App.vue index fce6d215..32eb067a 100644 --- a/App.vue +++ b/App.vue @@ -21,11 +21,12 @@ @import "./uni_modules/vk-uview-ui/index.scss"; // @import './common/PDA_style.css'; @import './common/style/new_style.css'; - @import "./static/icon/iconfont.css"; @import './common/style/uni.css'; @import './common/style/pdabasic.css'; @import './uni.scss'; @import '@/static/scss/index.scss'; + @import './static/ali_icon/iconfont.css'; + body{ background-color: #EBEEF0; diff --git a/api/request2.js b/api/request2.js index 1db71757..45b1d8b6 100644 --- a/api/request2.js +++ b/api/request2.js @@ -2234,7 +2234,7 @@ export function getProductionReturnJobDetail(id) { */ export function takeProductionReturnJob(id) { return request({ - url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id, + url: baseApi + "/wms/productionreturn-job-main/accept?id=" + id, method: "put", data: {}, }); @@ -2247,7 +2247,7 @@ export function takeProductionReturnJob(id) { */ export function cancleTakeProductionReturnJob(id) { return request({ - url: baseApi + "/wms/purchasereceipt-job-main/abandon?id=" + id, + url: baseApi + "/wms/productionreturn-job-main/abandon?id=" + id, method: "put", data: {}, }); @@ -2260,7 +2260,7 @@ export function cancleTakeProductionReturnJob(id) { */ export function productionReturnJobSubmit(params) { return request({ - url: baseApi + "/magic-api/pda/job/purchasereceipt/jobSubmit", + url: baseApi + "/wms/productionreturn-job-main/execute", method: "put", data: params, }); diff --git a/common/basic.js b/common/basic.js index 45b24ed5..68e219a3 100644 --- a/common/basic.js +++ b/common/basic.js @@ -877,5 +877,16 @@ export function updateTitle(title) { } export function clearTirmAndWrap(content) { - return content.replace(/<\/?.+?\/?>|\r|\n|\s*/g,'') + return content.replace(/<\/?.+?\/?>|\r|\n|\s*/g, '') +} + +export function navigateBack(backIndex) { + let canNavBack = getCurrentPages() + if (canNavBack && canNavBack.length - 1 > backIndex) { + uni.navigateBack({ + delta: backIndex + }) + } else { + history.back(); + } } diff --git a/mycomponents/job/jobDetailPopup.vue b/mycomponents/job/jobDetailPopup.vue index 611bdd03..07cd68ea 100644 --- a/mycomponents/job/jobDetailPopup.vue +++ b/mycomponents/job/jobDetailPopup.vue @@ -1,7 +1,7 @@ diff --git a/mycomponents/recommend/recommend.vue b/mycomponents/recommend/recommend.vue index 44fb58d0..ffbbedd7 100644 --- a/mycomponents/recommend/recommend.vue +++ b/mycomponents/recommend/recommend.vue @@ -11,7 +11,7 @@ - diff --git a/mycomponents/scan/winScanPackAndLocation.vue b/mycomponents/scan/winScanPackAndLocation.vue index 8e91fa81..e84e4197 100644 --- a/mycomponents/scan/winScanPackAndLocation.vue +++ b/mycomponents/scan/winScanPackAndLocation.vue @@ -136,7 +136,7 @@ this.fromLocationCode = this.fromLocationList[0]; } } - this.$refs.popup.open('bottom'); + this.$refs.popup.open('bottom'); this.fromInventoryStatuses = jobContent.outInventoryStatuses this.inventoryStatus = getDirectoryItemArray(jobContent.outInventoryStatuses); //出库库存状态; //出库库存状态 this.fromLocationTypeArray = getDirectoryItemArray(jobContent.fromLocationTypes); //出库库存状态 diff --git a/pages.json b/pages.json index 8f8e9dce..b86ffb87 100644 --- a/pages.json +++ b/pages.json @@ -34,8 +34,30 @@ "style": { "navigationBarTitleText": "登录", "titleNView": { - "autoBackButton": "true", - "buttons": [{}] + // "autoBackButton": "true", + "buttons": [ + // 右边按钮 + // { + // "float": "right", + // "fontSize": "52rpx", //按钮上文字的大小 + // "text": "\ue706", + // "fontSrc": "/static/ali_icon/iconfont.ttf" + // } + + ] + } + } + }, + { + "path": "pages/config/config", + "style": { + "navigationBarTitleText": "配置", + "titleNView": { + // "autoBackButton": "true", + "buttons": [ + + + ] } } }, @@ -66,17 +88,17 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -101,17 +123,17 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -139,17 +161,17 @@ { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -174,15 +196,15 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -209,17 +231,17 @@ { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -251,17 +273,17 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -287,17 +309,17 @@ { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -330,17 +352,17 @@ { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -358,17 +380,17 @@ { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -423,17 +445,17 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -466,17 +488,17 @@ { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -515,17 +537,17 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -542,17 +564,17 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -615,17 +637,17 @@ { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -650,17 +672,17 @@ { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -694,16 +716,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -727,16 +749,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -753,16 +775,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -779,16 +801,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -805,16 +827,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -831,16 +853,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -903,16 +925,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -941,16 +963,16 @@ "titleNView": { "buttons": [{ "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -983,17 +1005,17 @@ { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1026,17 +1048,17 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1068,17 +1090,17 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1112,17 +1134,17 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1148,17 +1170,17 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1208,17 +1230,17 @@ { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1243,16 +1265,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1278,17 +1300,17 @@ { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1312,16 +1334,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1360,16 +1382,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1400,16 +1422,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1443,16 +1465,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1484,16 +1506,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1526,17 +1548,17 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "58rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1560,16 +1582,16 @@ // 右边按钮 { "float": "right", - "fontSize": "23px", //按钮上文字的大小 - "text": "\ue7c6", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSize": "52rpx", //按钮上文字的大小 + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf" }, { "float": "right", - "fontSize": "21px", //按钮上文字的大小 + "fontSize": "52rpx", //按钮上文字的大小 "text": "\ue6e2", - "fontSrc": "/static/iconfont/iconfont.ttf" + "fontSrc": "/static/ali_icon/iconfont.ttf" } ] } @@ -1648,9 +1670,9 @@ "autoBackButton": "true", "buttons": [{ "float": "right", - "text": "\ue7c6", - "fontSrc": "/static/icon/iconfont.ttf", - "fontSize": "22px" + "text": "\ue696", + "fontSrc": "/static/ali_icon/iconfont.ttf", + "fontSize": "58rpx" }] }, "softinputMode": "adjustPan" //adjustResize diff --git a/pages/config/config.vue b/pages/config/config.vue new file mode 100644 index 00000000..25011727 --- /dev/null +++ b/pages/config/config.vue @@ -0,0 +1,42 @@ + + + + + \ No newline at end of file diff --git a/pages/customerReturn/coms/comReturnJobCard.vue b/pages/customerReturn/coms/comReturnJobCard.vue index 1d282c73..4691483d 100644 --- a/pages/customerReturn/coms/comReturnJobCard.vue +++ b/pages/customerReturn/coms/comReturnJobCard.vue @@ -9,13 +9,7 @@ - 客户名称 : {{dataContent.customerName}} - - - - - - 物品代码 : {{dataContent.itemCode}} + 客户代码 : {{dataContent.customerCode}} diff --git a/pages/customerReturn/job/returnDetail.vue b/pages/customerReturn/job/returnDetail.vue index 7e9e7725..8affa224 100644 --- a/pages/customerReturn/job/returnDetail.vue +++ b/pages/customerReturn/job/returnDetail.vue @@ -95,8 +95,6 @@ }; }, onLoad(option) { - console.log("任务id",option.id) - console.log("任务状态",option.status) this.id = option.id; if (this.id != undefined) { //新建的任务自动接收 @@ -277,8 +275,7 @@ ']不一致,是否继续上架?', res => { if (res) { itemDetail.scaned = true; - itemDetail.handleQty = Number(result.label.qty) > Number(result.balance - .qty) ? Number(result.balance.qty) : Number(result.label.qty); + itemDetail.handleQty = Number(result.balance.qty) itemDetail.balance = result.balance; itemDetail.balance.balanceQty = result.balance.qty; itemDetail.balance.stdPackQty = result.package.stdPackQty @@ -290,8 +287,7 @@ }); } else { itemDetail.scaned = true; - itemDetail.handleQty = Number(result.label.qty) > Number(result.balance - .qty) ? Number(result.balance.qty) : Number(result.label.qty); + itemDetail.handleQty = Number(result.balance.qty) itemDetail.balance = result.balance; itemDetail.balance.balanceQty = result.balance.qty; itemDetail.balance.stdPackQty = result.package.stdPackQty @@ -363,19 +359,17 @@ this.managementList = res.list; var params = this.setParams() console.log("提交参数", JSON.stringify(params)); - // customerReturnJobSubmit(this.id, params).then(res => { - // uni.hideLoading() - // if (res.data) { - // var hint = res.data.Number; - // this.showCommitSuccessMessage("提交成功" + hint) - - // } else { - // this.showErrorMessage("提交失败[" + res.msg + "]") - // } - // }).catch(error => { - // uni.hideLoading() - // this.showErrorMessage(error) - // }) + customerReturnJobSubmit(params).then(res => { + uni.hideLoading() + if (res.data) { + this.showCommitSuccessMessage("提交成功
生成客户退货记录:" + res.data) + } else { + this.showErrorMessage("提交失败[" + res.msg + "]") + } + }).catch(error => { + uni.hideLoading() + this.showErrorMessage(error) + }) } else { uni.hideLoading(); this.showErrorMessage(res.message); @@ -394,7 +388,9 @@ var info = getPackingNumberAndBatch(this.managementList, detail.itemCode, detail.packingNumber, detail.batch); detail.toPackingNumber = info.packingNumber; + detail.toContainerNumber = detail.containerNumber; detail.toBatch = info.batch; + detail.toLocationCode = detail.toLocationCode; subList.push(detail) } }) diff --git a/pages/deliver/coms/comScanDeliverPack.vue b/pages/deliver/coms/comScanDeliverPack.vue index 8b02061f..42391651 100644 --- a/pages/deliver/coms/comScanDeliverPack.vue +++ b/pages/deliver/coms/comScanDeliverPack.vue @@ -138,7 +138,7 @@ fromLocationList: [], fromLocationCode: '', fromLocation: null, - issueRecord: [], //补料历史 + issueRecord: [], //发货历史 expand: true, scanOptions: {}, editItem: {}, @@ -212,7 +212,7 @@ let location = this.fromLocationList.find(r => r == fromlocation) if (location == undefined) { this.fromLocationCode = '' - this.showErrorMessage('补料库位【' + fromlocation + '】不存在') + this.showErrorMessage('发货库位【' + fromlocation + '】不存在') } }, onScan(result) { @@ -231,7 +231,7 @@ let lot = result.label.batch; let item = that.toLocation.Items.find(r => r.itemCode == itemCode); if (item == undefined) { - that.showErrorMessage('未查找到零件【' + itemCode + '】的补料明细', + that.showErrorMessage('未查找到零件【' + itemCode + '】的发货明细', res => { that.getfocus(); } @@ -321,21 +321,21 @@ } else { if (this.jobContent.AllowModifyBatch == null) { this.showQuestionMessage('在【' + that.fromLocationCode + '】库位下,未查找到批次【' + lot + - '】的补料明细,是否要继续补料?', res => { + '】的发货明细,是否要继续发货?', res => { if (res) { let batch = that.createBatchInfo(label, balance); fromLocation.Batchs.unshift(batch); } }) } else { - that.showErrorMessage('未查找到批次【' + lot + '】的补料明细', + that.showErrorMessage('未查找到批次【' + lot + '】的发货明细', res => { that.getfocus(); }); } } } else { - that.showErrorMessage('未查找到推荐库位【' + that.fromLocationCode + '】的补料明细', + that.showErrorMessage('未查找到推荐库位【' + that.fromLocationCode + '】的发货明细', res => { that.getfocus(); } diff --git a/pages/inspect/coms/inspectComDetailCard.vue b/pages/inspect/coms/inspectComDetailCard.vue index cae19e61..e788e4ff 100644 --- a/pages/inspect/coms/inspectComDetailCard.vue +++ b/pages/inspect/coms/inspectComDetailCard.vue @@ -1,23 +1,33 @@ @@ -40,7 +35,16 @@ }, methods: { - + getBusinessTypeName(value) { + var name = ""; + if (value == 'ReturnToStore') { + name = "合格退料" + } else if (value == 'ReturnToHold') { + name = "隔离退料" + } + return name; + + } } } diff --git a/pages/productionReturn/job/returnDetail.vue b/pages/productionReturn/job/returnDetail.vue index 8ab84e96..915013ad 100644 --- a/pages/productionReturn/job/returnDetail.vue +++ b/pages/productionReturn/job/returnDetail.vue @@ -14,14 +14,14 @@ - - + @@ -37,7 +37,6 @@