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 @@
-
-
- 检验类型 : {{getInspectType(jobContent.inspectType)}}
-
-
- 收货数量 : {{jobContent.receiveQty}}{{getUnitInfo(jobContent.uom)}}
-
-
- 检验数量 : {{jobContent.sampleQty}}{{getUnitInfo(jobContent.uom)}}
-
-
- 不合格数量 : {{jobContent.failedQty}}{{getUnitInfo(jobContent.uom)}}
-
-
- 报废数量 : {{jobContent.crackQty}}{{getUnitInfo(jobContent.uom)}}
+
+
+
+
+ 类型
+ {{getInspectType(jobContent.inspectType)}}
+
+
+ 收货数
+ {{jobContent.receiveQty}}{{getUnitInfo(jobContent.uom)}}
+
+
+ 检验数
+ {{jobContent.sampleQty}}{{getUnitInfo(jobContent.uom)}}
+
+
+ 不合格数
+ {{jobContent.failedQty}}{{getUnitInfo(jobContent.uom)}}
+
+
+ 报废数
+ {{jobContent.crackQty}}{{getUnitInfo(jobContent.uom)}}
+
+
+
@@ -168,7 +178,7 @@
detail(item) {
this.showItem = item;
- this.$refs.receiptHint.openScanPopup()
+ this.$refs.receiptHint.openScanPopup(item)
},
remove(item) {
this.$refs.message.showQuestionMessage("确定移除扫描信息?",
@@ -181,6 +191,7 @@
item.notPassedQty = 0;
item.inspectResult =""
item.failedReason =""
+ item.handleQty =0;
item.photos =""
this.$forceUpdate()
this.$emit('remove', item)
diff --git a/pages/inspect/coms/inspectEdit.vue b/pages/inspect/coms/inspectEdit.vue
index 27157e93..9857f87b 100644
--- a/pages/inspect/coms/inspectEdit.vue
+++ b/pages/inspect/coms/inspectEdit.vue
@@ -100,7 +100,7 @@
openEditPopup(item) {
this.failedReasonArray = getInspectFailedReasonList();
//拷贝数据到页面显示,防止修改数据原数据修改
- Object.assign(this.dataContent, item)
+ this.dataContent = Object.assign({}, item)
this.$refs['editPopup'].open("bottom");
},
@@ -138,6 +138,7 @@
this.dataContent.failedQty = failedQty;
this.dataContent.crackQty = crackQty
this.dataContent.goodQty = this.dataContent.handleQty -failedQty-crackQty
+ debugger
this.afterSave()
diff --git a/pages/inspect/job/inspectDetail.vue b/pages/inspect/job/inspectDetail.vue
index 9344f778..f79f0cb3 100644
--- a/pages/inspect/job/inspectDetail.vue
+++ b/pages/inspect/job/inspectDetail.vue
@@ -42,6 +42,7 @@
goHome,
getCurrDateTime,
getPackingNumberAndBatch,
+ navigateBack
} from '@/common/basic.js';
import {
getInventoryStatusName,
@@ -194,8 +195,6 @@
res.photos = ""
res.inspectResult = ""
})
- // that.jobContent.outInventoryStatuses='INSP,OK'
- that.jobContent.outInventoryStatuses='HOLD'
that.fromInventoryStatuses = that.jobContent.outInventoryStatuses
that.detailSource = getDataSource(that.subList);
} else {
@@ -293,8 +292,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;
this.calcHandleQty();
} else {
@@ -304,8 +302,7 @@
} else {
itemDetail.scaned = true;
itemDetail.balance = result.balance;
- itemDetail.handleQty = Number(result.label.qty) > Number(result.balance.qty) ? Number(
- result.balance.qty) : Number(result.label.qty);
+ itemDetail.handleQty = Number(result.balance.qty)
this.calcHandleQty();
}
}
@@ -372,7 +369,7 @@
inspectJobSubmit(params).then(res => {
uni.hideLoading()
if (res.data) {
- this.showCommitSuccessMessage("提交成功
生成到货检验记录" + res.data, )
+ this.showCommitSuccessMessage("提交成功
生成到货检验记录" + res.data)
} else {
this.showErrorMessage("提交失败[" + res.msg + "]")
}
@@ -480,9 +477,15 @@
showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => {
- uni.navigateTo({
- url: './inspectJob'
- })
+ // let canNavBack = getCurrentPages()
+ // if( canNavBack && canNavBack.length>1) {
+ // uni.navigateBack({
+ // delta:2
+ // })
+ // } else {
+ // history.back();
+ // }
+ navigateBack(2);
})
},
diff --git a/pages/inspect/job/inspectResult.vue b/pages/inspect/job/inspectResult.vue
index bfadca80..3946deaa 100644
--- a/pages/inspect/job/inspectResult.vue
+++ b/pages/inspect/job/inspectResult.vue
@@ -51,7 +51,7 @@
不合格数量
-
@@ -63,7 +63,7 @@
报废数量
-
@@ -155,6 +155,11 @@
getInspectType,
getUnitInfo
} from '@/common/directory.js';
+
+ import {
+ goHome,
+ navigateBack
+ } from '@/common/basic.js';
export default {
components: {
@@ -181,6 +186,12 @@
}
},
+ //返回首页
+ onNavigationBarButtonTap(e) {
+ if (e.index === 0) {
+ goHome();
+ }
+ },
onLoad(option) {
this.id = option.id;
this.status = option.status;
@@ -317,7 +328,14 @@
}
}
},
-
+
+ clearFailedQty(){
+ this.jobContent.failedQty = null;
+ },
+
+ clearCrackQty(){
+ this.jobContent.crackQty = null
+ },
commit() {
@@ -394,7 +412,7 @@
res.photos = ""
res.inspectResult = ""
res.toInventoryStatus = "NOK"
- re.inspectUser = this.$store.state.user.id
+ res.inspectUser = this.$store.state.user.id
})
this.jobContent.nextAction = this.nextAction;
this.jobContent.goodQty = 0
@@ -458,9 +476,7 @@
},
showCommitSuccessMessage(hint) {
this.$refs.comMessage.showSuccessMessage(hint, res => {
- uni.navigateTo({
- url: './inspectJob'
- })
+ navigateBack(1)
})
},
showErrorMessage(message) {
diff --git a/pages/inspect/request/inspectRequestDetail.vue b/pages/inspect/request/inspectRequestDetail.vue
index a74b28ba..78d19a77 100644
--- a/pages/inspect/request/inspectRequestDetail.vue
+++ b/pages/inspect/request/inspectRequestDetail.vue
@@ -5,10 +5,10 @@
- 发货单号 :
+ 单据号 : {{requestContent.number}}
- 供应商 :
+ 供应商代码 : {{requestContent.supplierCode}}
@@ -93,7 +93,7 @@
that.showMessage('未获取到详情');
} else {
if (res.data.subList.length > 0) {
- that.jobContent = res.data;
+ that.requestContent = res.data;
that.subList = res.data.subList;
that.detailSource = getDataSource(that.subList)
// that.subList = res.data[0];
diff --git a/pages/login/index.vue b/pages/login/index.vue
index dd305289..790d8e4a 100644
--- a/pages/login/index.vue
+++ b/pages/login/index.vue
@@ -136,6 +136,14 @@
backgroundColor: "#476DF5 !important"
})
},
+ //返回首页
+ onNavigationBarButtonTap(e) {
+ if (e.index === 0) {
+ uni.navigateTo({
+ url:"/pages/config/config"
+ })
+ }
+ },
onLoad() {
getCaptchaImage().then(res => {
if (res) {
diff --git a/pages/productionReturn/coms/comReturnJobCard.vue b/pages/productionReturn/coms/comReturnJobCard.vue
index 0c128100..9f4c26ec 100644
--- a/pages/productionReturn/coms/comReturnJobCard.vue
+++ b/pages/productionReturn/coms/comReturnJobCard.vue
@@ -9,15 +9,10 @@
- 物品代码 : {{dataContent.itemCode}}
+ 业务类型 : {{getBusinessTypeName(dataContent.businessType)}}
-
-
- 目标库位 : {{dataContent.toLocationCode}}
-
-
@@ -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 @@
-