From 8885e72b1ba9feabd2361f09de757abdc24d16f8 Mon Sep 17 00:00:00 2001
From: caill <815519168@qq.com>
Date: Tue, 24 Jun 2025 18:38:30 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AD=90=E5=8D=B7=E8=B4=A8=E6=A3=80=E3=80=81ad?=
=?UTF-8?q?d=E7=AE=A1=E5=88=B6=E7=82=B9=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages.json | 8 ++
pages/SecondPhase/production/ControlPoint.vue | 90 +++++++++++++++++++
pages/SecondPhase/production/ZjCheck.vue | 20 +----
utils/getData3.js | 9 +-
utils/mork2.js | 1 +
5 files changed, 111 insertions(+), 17 deletions(-)
create mode 100644 pages/SecondPhase/production/ControlPoint.vue
diff --git a/pages.json b/pages.json
index e4a21da..b087286 100644
--- a/pages.json
+++ b/pages.json
@@ -385,6 +385,14 @@
}
}
+ ,{
+ "path" : "pages/SecondPhase/production/ControlPoint",
+ "style" :
+ {
+ "navigationStyle": "custom"
+ }
+
+ }
],
"globalStyle": {
// "pageOrientation": "landscape",
diff --git a/pages/SecondPhase/production/ControlPoint.vue b/pages/SecondPhase/production/ControlPoint.vue
new file mode 100644
index 0000000..b24a543
--- /dev/null
+++ b/pages/SecondPhase/production/ControlPoint.vue
@@ -0,0 +1,90 @@
+
+
+
+
+
+
+
+
+ {{$t('grid.sub-roll-number')}}
+
+
+
+
+
+
+ {{$t('filter.control-point')}}
+
+
+
+
+
+ {{$t('filter.inspection-results')}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/SecondPhase/production/ZjCheck.vue b/pages/SecondPhase/production/ZjCheck.vue
index a51e373..7941cf2 100644
--- a/pages/SecondPhase/production/ZjCheck.vue
+++ b/pages/SecondPhase/production/ZjCheck.vue
@@ -12,12 +12,6 @@
-
- {{$t('filter.control-point')}}
-
-
-
-
{{$t('filter.inspection-results')}}
@@ -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: '管制品'}],
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 dc1e02f..73c4d59 100644
--- a/utils/getData3.js
+++ b/utils/getData3.js
@@ -148,8 +148,15 @@ 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}
+})
+/**
+ * 管制点修改
+ */
+export const updatePackageInfo2 = (ivt, cn, code) => request({
+ url:'/api/twoPda/vehicle/updatePackageInfo2',
data: {ivt_status: ivt, container_name: cn, pointCode: code}
})
/**
diff --git a/utils/mork2.js b/utils/mork2.js
index dc6ed29..49dc081 100644
--- a/utils/mork2.js
+++ b/utils/mork2.js
@@ -21,6 +21,7 @@ export const allAuthority = () => {
// {menu_id: '4', title: '表处工序', path: '/pages/SecondPhase/production/SurfaceProcess'},
{menu_id: '5', title: '人工烘烤', path: '/pages/SecondPhase/production/ManmadeBake'},
{menu_id: '6', title: '子卷质检', path: '/pages/SecondPhase/production/ZjCheck'},
+ {menu_id: '6', title: '管制点修改', path: '/pages/SecondPhase/production/ControlPoint'},
{menu_id: '8', title: '子卷装箱', path: '/pages/SecondPhase/production/ZjContainer'},
{menu_id: '8', title: '木箱库存', path: '/pages/SecondPhase/production/BoxStock'},
{menu_id: '8', title: '子卷入库', path: '/pages/SecondPhase/production/ZjInStore'},