From 86188e10552b4c56548950e7f3f9cf7704e05901 Mon Sep 17 00:00:00 2001
From: caill <815519168@qq.com>
Date: Mon, 28 Apr 2025 10:34:08 +0800
Subject: [PATCH] =?UTF-8?q?add=E4=BA=BA=E5=B7=A5=E7=82=B9=E7=BB=B4?=
=?UTF-8?q?=E6=8A=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 8 +++
pages/SecondPhase/ManMaintain.vue | 78 ++++++++++++++++++++++++
pages/SecondPhase/production/ZjCheck.vue | 20 ++----
utils/getData3.js | 11 +++-
utils/mork2.js | 3 +-
5 files changed, 101 insertions(+), 19 deletions(-)
create mode 100644 pages/SecondPhase/ManMaintain.vue
diff --git a/pages.json b/pages.json
index 2e8a189..330135f 100644
--- a/pages.json
+++ b/pages.json
@@ -687,6 +687,14 @@
}
}
+ ,{
+ "path" : "pages/SecondPhase/ManMaintain",
+ "style" :
+ {
+ "navigationStyle": "custom"
+ }
+
+ }
],
"globalStyle": {
// "pageOrientation": "landscape",
diff --git a/pages/SecondPhase/ManMaintain.vue b/pages/SecondPhase/ManMaintain.vue
new file mode 100644
index 0000000..aaec7ba
--- /dev/null
+++ b/pages/SecondPhase/ManMaintain.vue
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+ 人工点
+
+
+
+
+
+
+ 检验结果
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/SecondPhase/production/ZjCheck.vue b/pages/SecondPhase/production/ZjCheck.vue
index 856b5f5..81457bf 100644
--- a/pages/SecondPhase/production/ZjCheck.vue
+++ b/pages/SecondPhase/production/ZjCheck.vue
@@ -12,12 +12,6 @@
-
- 管制点
-
-
-
-
检验结果
@@ -28,7 +22,7 @@
-
+
@@ -46,10 +40,8 @@
return {
title: '',
val1: '',
- options: [{value: '3', text: '合格品'}, {value: '4', text: '管制品'}, {value: '0', text: '空点位'}, {value: '1', text: '有架子'}],
+ options: [{value: '3', text: '合格品'}, {value: '4', text: '管制品'}, {value: '5', text: '人工卷'}],
index: '',
- options1: [{value: '1', text: '1'}, {value: '2', text: '2'}],
- index1: '',
disabled: false
};
},
@@ -60,17 +52,14 @@
selectChange (e) {
this.index = e
},
- selectChange1 (e) {
- this.index1 = e
- },
async _updatePackageInfo () {
this.disabled = true
- if (!this.val1 && !this.index1) {
+ if (!this.val1) {
this.disabled = false
return
}
try {
- let res = await updatePackageInfo(this.index, this.val1, this.index1)
+ let res = await updatePackageInfo(this.index, this.val1)
uni.showToast({
title: res.message,
icon: 'none'
@@ -83,7 +72,6 @@
clearUp () {
this.val1 = ''
this.index = ''
- this.index1 = ''
}
}
}
diff --git a/utils/getData3.js b/utils/getData3.js
index 7cf508c..9ef9d7e 100644
--- a/utils/getData3.js
+++ b/utils/getData3.js
@@ -156,9 +156,9 @@ export const doInitShaftPoint = (code, is) => request({
/**
* 子卷质检
*/
-export const updatePackageInfo = (ivt, cn, code) => request({
+export const updatePackageInfo = (ivt, cn) => request({
url:'api/twoPda/vehicle/updatePackageInfo',
- data: {ivt_status: ivt, container_name: cn, pointCode: code}
+ data: {ivt_status: ivt, container_name: cn}
})
/**
* 纸管绑定
@@ -550,4 +550,11 @@ export const downBait = (area, device, point, lk, lkv, rk, rkv, up) => request({
right_spec_value: rkv,
up_or_down: up
}
+})
+/**
+ * 人工点维护
+ */
+export const updatePackagePoint = (ivt, code) => request({
+ url:'api/twoPda/vehicle/updatePackagePoint',
+ data: {ivt_status: ivt, pointCode: code}
})
\ No newline at end of file
diff --git a/utils/mork2.js b/utils/mork2.js
index 2660e83..4b8a654 100644
--- a/utils/mork2.js
+++ b/utils/mork2.js
@@ -112,7 +112,8 @@ export const allAuthority = () => {
]},
{menu_id: '10', path: 'RF15', title: '打包间管理', sonTree: [
{menu_id: '1', title: '子卷包装解绑', path: '/pages/SecondPhase/SubRollPackUnbind'},
- {menu_id: '1', title: '装箱口木箱回库', path: '/pages/SecondPhase/BoxReturn'}
+ {menu_id: '1', title: '装箱口木箱回库', path: '/pages/SecondPhase/BoxReturn'},
+ {menu_id: '1', title: '人工点维护', path: '/pages/SecondPhase/ManMaintain'}
]},
{menu_id: '6', path: 'RF04', title: '点位管理', sonTree: [
{menu_id: '1', title: '点位管理', path: '/pages/SecondPhase/point/PointManage'},