From 1bc5e2e83f38a3d7270aacea97a43b2dfca76c83 Mon Sep 17 00:00:00 2001 From: "qianhao.xu" Date: Wed, 15 May 2024 14:52:20 +0800 Subject: [PATCH] 1234324 --- manifest.json | 4 +- pages/login/login.vue | 260 ++++--- .../MaterialProductionInput.vue | 30 +- .../MaterialRequisition.vue | 702 +++++++++--------- .../MaterialWarehousing.vue | 23 +- 5 files changed, 533 insertions(+), 486 deletions(-) diff --git a/manifest.json b/manifest.json index a480493..3f01d56 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "干巷仓库APP", "appid" : "__UNI__A82C0EC", "description" : "", - "versionName" : "2.1.8", - "versionCode" : 218, + "versionName" : "2.1.9", + "versionCode" : 219, "transformPx" : false, "app-plus" : { "usingComponents" : true, diff --git a/pages/login/login.vue b/pages/login/login.vue index c18a319..6054c4a 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -9,158 +9,156 @@ - + - + - + - + + + 版本号:{{ version }} \ No newline at end of file +.bangben { + margin-top: 110px; + margin-left: 35%; + font-size: 0.8rem; +} +@import url('login.scss'); + diff --git a/pages/materialManagement/MaterialProductionInput/MaterialProductionInput.vue b/pages/materialManagement/MaterialProductionInput/MaterialProductionInput.vue index 7a2f03c..ccc135d 100644 --- a/pages/materialManagement/MaterialProductionInput/MaterialProductionInput.vue +++ b/pages/materialManagement/MaterialProductionInput/MaterialProductionInput.vue @@ -54,7 +54,7 @@ 已经上件数 - + 选中 @@ -63,15 +63,17 @@ - + + - + + - + @@ -79,15 +81,15 @@ - + - + - + @@ -143,6 +145,10 @@ export default { this.get_startpoints(); }, methods: { + containsChinese(str) { + var pattern = /[\u4e00-\u9fa5]/; + return pattern.test(str); + }, // todo 获取上料起点 get_startpoints() { achievestartpoints().then((res) => { @@ -163,9 +169,9 @@ export default { }); }, //todo 下拉更新 - changepage({type,current}) { - this.page.pageNum=current; - + changepage({ type, current }) { + this.page.pageNum = current; + this.$nextTick(() => { this.get_workorder_list(); }); @@ -203,12 +209,13 @@ export default { safeAreaInsetTop: true }); this.workerorder_list = res.data.item1; - this.page.total=res.data.item2 + this.page.total = res.data.item2; // this.workerorder_list = res.data; for (let item = 0; item < this.workerorder_list.length; item++) { this.workerorder_list[item].selected = false; this.workerorder_list[item].previousNumbered = 0; } + console.log('this.workerorder_list', this.workerorder_list); } }); }, @@ -287,7 +294,6 @@ export default { } .scrollable-container { - overflow: auto; border: 3px solid #9e9b99; } diff --git a/pages/materialManagement/MaterialRequisition/MaterialRequisition.vue b/pages/materialManagement/MaterialRequisition/MaterialRequisition.vue index 1a57212..a1b54ca 100644 --- a/pages/materialManagement/MaterialRequisition/MaterialRequisition.vue +++ b/pages/materialManagement/MaterialRequisition/MaterialRequisition.vue @@ -1,14 +1,12 @@ \ No newline at end of file +.tip-text { + margin-top: 10px; + font-size: 16px; + color: #333; +} + diff --git a/pages/materialManagement/MaterialWarehousing/MaterialWarehousing.vue b/pages/materialManagement/MaterialWarehousing/MaterialWarehousing.vue index aef8c43..a075003 100644 --- a/pages/materialManagement/MaterialWarehousing/MaterialWarehousing.vue +++ b/pages/materialManagement/MaterialWarehousing/MaterialWarehousing.vue @@ -3,20 +3,24 @@ - - + + - + - - + + - + + agv + + + @@ -47,7 +51,9 @@ startOptions: [], end_point: '', endOptions: [], - reqCode: '' + reqCode: '', + agv_num_list:[{value:"1743",text:"1号"},{value:"1744",text:"2号"}], + agv_num:"" }; }, watch: {}, @@ -84,7 +90,8 @@ } const query = { start_point: this.start_point, - end_point: this.end_point + end_point: this.end_point, + agvCode:this.agv_num }; go_workshop(query).then((res) => { if (res.code == 200) {