From b6cce5bc444c5e9d272e4566541e51d8a8eaf253 Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Wed, 21 Aug 2024 15:18:47 +0800
Subject: [PATCH 1/6] =?UTF-8?q?HL-5227=E6=8F=90=E4=BE=9B=E6=96=B0=E7=9A=84?=
=?UTF-8?q?=E6=89=B9=E9=87=8F=E9=87=87=E8=B4=AD=E4=B8=8A=E6=9E=B6=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD=EF=BC=8C=E4=B8=BA=E4=BA=86=E8=A7=A3=E5=86=B3=E4=BD=BF?=
=?UTF-8?q?=E7=94=A8=E5=9C=B0=E5=A0=86=E5=BA=93=E4=BD=8D=E7=9A=84=E7=89=A9?=
=?UTF-8?q?=E6=96=99=E6=93=8D=E4=BD=9C=E7=B9=81=E7=90=90=E7=9A=84=E6=83=85?=
=?UTF-8?q?=E5=86=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/mycomponents/job/jobFilter.vue | 8 +-
src/pages.json | 2 +-
src/pages/putaway/job/quantityPutawayJob.vue | 80 ++++++++++++--------
3 files changed, 57 insertions(+), 33 deletions(-)
diff --git a/src/mycomponents/job/jobFilter.vue b/src/mycomponents/job/jobFilter.vue
index 0b47d7e6..feb2e9bf 100644
--- a/src/mycomponents/job/jobFilter.vue
+++ b/src/mycomponents/job/jobFilter.vue
@@ -11,7 +11,7 @@
-
+
只看待处理
@@ -152,7 +152,11 @@
isShowToAreaCode: {
type: Boolean,
default: false
- }
+ },
+ isShowStatus: {
+ type: Boolean,
+ default: true
+ },
},
data() {
return {
diff --git a/src/pages.json b/src/pages.json
index 419f3380..0e300d43 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -462,7 +462,7 @@
{
"path": "pages/putaway/job/quantityPutawayJob",
"style": {
- "navigationBarTitleText": "采购上架(批量)",
+ "navigationBarTitleText": "批量采购上架",
"enablePullDownRefresh": false,
"titleNView": {
// "autoBackButton": "true",
diff --git a/src/pages/putaway/job/quantityPutawayJob.vue b/src/pages/putaway/job/quantityPutawayJob.vue
index fbbae604..ae4a2297 100644
--- a/src/pages/putaway/job/quantityPutawayJob.vue
+++ b/src/pages/putaway/job/quantityPutawayJob.vue
@@ -1,13 +1,16 @@
+
+
+
-
-
+
+
-
+
@@ -29,7 +32,7 @@
-->
@@ -42,7 +45,8 @@
getPutawayJobList,
cancleTakePutawayJob,
putawayJobAllExecute,
- takeAllPutawayJob
+ takeAllPutawayJob,
+ cancleAllTakePutawayJob
} from '@/api/request2.js';
import {
@@ -130,13 +134,13 @@
this.$refs.filter.openFilter();
}
},
- onReachBottom() {
- //避免多次触发
- if (this.loadingType == 'loading' || this.loadingType == 'nomore') {
- return;
- }
- this.getList("more");
- },
+ // onReachBottom() {
+ // //避免多次触发
+ // if (this.loadingType == 'loading' || this.loadingType == 'nomore') {
+ // return;
+ // }
+ // this.getList("more");
+ // },
onPullDownRefresh() {
this.getList('refresh');
},
@@ -174,12 +178,12 @@
action: "==",
value: this.$store.state.user.id
})
- if(toAreaCode){
+ if(this.toAreaCode){
//到库区
filters.push({
column: "toAreaCode",
action: "==",
- value: toAreaCode
+ value: this.toAreaCode
})
}
var params = {
@@ -197,15 +201,16 @@
var list = res.data.list;
this.totalCount = res.data.total
+ console.log(333,this.totalCount)
updateTitle(this.title + "(" + this.totalCount + ")");
- this.loadingType = "loadmore";
- if (list == null || list.length == 0) {
- this.loadingType = "nomore";
- return;
- }
- this.jobList = type === "refresh" ? list : this.jobList.concat(list);
+ // this.loadingType = "loadmore";
+ // if (list == null || list.length == 0) {
+ // this.loadingType = "nomore";
+ // return;
+ // }
+ this.jobList = list
this.jobNumberList = list.map(item=>item.number)
- this.pageNo++;
+ // this.pageNo++;
}).catch(error => {
if (type === "refresh") {
@@ -273,7 +278,7 @@
switchChangeWait(state, jobStatus) {
this.checkedWaitTask = state;
- this.status = jobStatus;
+ // this.status = jobStatus;
this.getList("refresh");
},
@@ -446,13 +451,7 @@
title: "加载中....",
mask: true
});
-
- if (params.status) {
- this.status = params.status
-
- }else{
- this.status = "1"
- }
+ this.status = "1"
if(params.creationTime==""){
this.checkedToday = false;
}
@@ -492,17 +491,38 @@
uni.hideLoading()
this.$refs.comMessage.showSuccessMessage( "执行任务成功", res => {
if (res) {
- this.getList("refresh")
+ this.getList()
}
});
} else {
uni.hideLoading()
this.showMessage("执行任务失败")
+ this.cancleAllJob()
+
}
}).catch(error => {
uni.hideLoading()
this.showMessage(error)
+ this.cancleAllJob()
})
+
+ },
+ // 取消承接全部任务
+ cancleAllJob(){
+ cancleAllTakePutawayJob({
+ jobNumberList:this.jobNumberList
+ }).then(res => {
+
+ }).catch(error => {
+ uni.hideLoading()
+ this.showMessage(error)
+ })
+ },
+ changePage(e){
+ console.log(e)
+ this.pageNo = e.current
+ this.status = 1
+ this.getList()
}
}
From cfd75ddf93993a23ae2bc1e4ae292593723b9b26 Mon Sep 17 00:00:00 2001
From: lijuncheng
Date: Wed, 21 Aug 2024 19:02:49 +0800
Subject: [PATCH 2/6] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A1=E5=88=92?=
=?UTF-8?q?=E6=8A=A5=E5=B7=A5=E6=9F=A5=E8=AF=A2=E5=8D=95=E6=8D=AE=E5=8F=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/manifest.json | 4 +-
src/pages/fg/receiptByPlan.vue | 1138 ++++++++++++++++----------------
2 files changed, 569 insertions(+), 573 deletions(-)
diff --git a/src/manifest.json b/src/manifest.json
index 14ca485d..7a74e63a 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -3,8 +3,8 @@
"package" : "uni.UNI43932FE",
"appid" : "__UNI__C9CF4BF",
"description" : "",
- "versionName" : "1.0.66",
- "versionCode" : 66,
+ "versionName" : "1.0.67",
+ "versionCode" : 67,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
diff --git a/src/pages/fg/receiptByPlan.vue b/src/pages/fg/receiptByPlan.vue
index ad34b963..7d509303 100644
--- a/src/pages/fg/receiptByPlan.vue
+++ b/src/pages/fg/receiptByPlan.vue
@@ -1,574 +1,570 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
From 71ca94c93f6f969351c99ef2281a1ab4e1dc7668 Mon Sep 17 00:00:00 2001
From: wangyufei <2267742828@qq.com>
Date: Thu, 22 Aug 2024 10:49:15 +0800
Subject: [PATCH 3/6] =?UTF-8?q?HL-5553WMS=20PDA=20=E7=89=A9=E6=96=99?=
=?UTF-8?q?=E9=9A=94=E7=A6=BB=E4=BB=BB=E5=8A=A1=E6=89=A7=E8=A1=8C=E6=88=90?=
=?UTF-8?q?=E5=8A=9F=E7=9A=84=E6=8F=90=E7=A4=BA=E8=AF=AD=E4=B8=8D=E6=AD=A3?=
=?UTF-8?q?=E7=A1=AE=EF=BC=8C=E5=BA=94=E8=AF=A5=E6=98=AF=E7=94=9F=E6=88=90?=
=?UTF-8?q?=E7=89=A9=E6=96=99=E9=9A=94=E7=A6=BB=E8=AE=B0=E5=BD=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/inventoryMove/job/inventoryMoveDetail.vue | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/pages/inventoryMove/job/inventoryMoveDetail.vue b/src/pages/inventoryMove/job/inventoryMoveDetail.vue
index dad77e16..cdc32371 100644
--- a/src/pages/inventoryMove/job/inventoryMoveDetail.vue
+++ b/src/pages/inventoryMove/job/inventoryMoveDetail.vue
@@ -420,7 +420,11 @@
inventoryMoveSubmit(params).then(res => {
uni.hideLoading()
if (res.data) {
- this.showCommitSuccessMessage("提交成功\n生成库存转移记录\n" + res.data)
+ let showTitle = this.title
+ if(this.title.indexOf('任务')==this.title.length-2){
+ showTitle = this.title.replace('任务','')
+ }
+ this.showCommitSuccessMessage("提交成功\n生成"+showTitle+"记录\n" + res.data)
} else {
this.showErrorMessage("提交失败[" + res.msg + "]")
}
From f78a514a0ee984c30a9e1d817638bf72fa936147 Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Thu, 22 Aug 2024 13:11:18 +0800
Subject: [PATCH 4/6] =?UTF-8?q?HL-5227=E6=8F=90=E4=BE=9B=E6=96=B0=E7=9A=84?=
=?UTF-8?q?=E6=89=B9=E9=87=8F=E9=87=87=E8=B4=AD=E4=B8=8A=E6=9E=B6=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD=EF=BC=8C=E4=B8=BA=E4=BA=86=E8=A7=A3=E5=86=B3=E4=BD=BF?=
=?UTF-8?q?=E7=94=A8=E5=9C=B0=E5=A0=86=E5=BA=93=E4=BD=8D=E7=9A=84=E7=89=A9?=
=?UTF-8?q?=E6=96=99=E6=93=8D=E4=BD=9C=E7=B9=81=E7=90=90=E7=9A=84=E6=83=85?=
=?UTF-8?q?=E5=86=B5=20bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/putaway/job/quantityPutawayJob.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pages/putaway/job/quantityPutawayJob.vue b/src/pages/putaway/job/quantityPutawayJob.vue
index ae4a2297..279ccb2b 100644
--- a/src/pages/putaway/job/quantityPutawayJob.vue
+++ b/src/pages/putaway/job/quantityPutawayJob.vue
@@ -1,7 +1,7 @@
-
+
Date: Thu, 22 Aug 2024 13:23:21 +0800
Subject: [PATCH 5/6] =?UTF-8?q?=E6=B7=BB=E5=8A=A0refer1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/httpRequest3.js | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/api/httpRequest3.js b/src/api/httpRequest3.js
index 99e3086e..b194c36d 100644
--- a/src/api/httpRequest3.js
+++ b/src/api/httpRequest3.js
@@ -16,13 +16,17 @@ function service(options = {}) {
// }
var requestUrl = ""
requestUrl = import.meta.env.VITE_BASE_URL
-
+ // 获取当前页面路由
+ let pages = getCurrentPages(); // 获取所有页面栈的实例数组
+ let currentPage = pages[pages.length - 1]; // 获取最后一个页面的实例
+ let currentRoute = currentPage.route; // 获取当前页面的路由
options.header = {
"content-type": "application/json",
"Authorization": "Bearer " + token,
"dataType": "json",
"dataSource": "PDA",
- "tenant-id": tenantId
+ "tenant-id": tenantId,
+ "referer1":currentPage.route
};
options.timeout = 300000
From 18504930cabbdf09917a43d0f2e22e098a973917 Mon Sep 17 00:00:00 2001
From: zhang_li <2235006734@qqq.com>
Date: Thu, 22 Aug 2024 13:25:02 +0800
Subject: [PATCH 6/6] =?UTF-8?q?=E6=B7=BB=E5=8A=A0Referer1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/httpRequest3.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/api/httpRequest3.js b/src/api/httpRequest3.js
index b194c36d..ea11f417 100644
--- a/src/api/httpRequest3.js
+++ b/src/api/httpRequest3.js
@@ -26,7 +26,7 @@ function service(options = {}) {
"dataType": "json",
"dataSource": "PDA",
"tenant-id": tenantId,
- "referer1":currentPage.route
+ "Referer1":currentPage.route
};
options.timeout = 300000