From 87ae089be92093bd8eec48c5881caf8ec056630a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=94=A1=E7=8E=B2?= <8702040+cai-ling@user.noreply.gitee.com> Date: Fri, 3 Jan 2025 11:25:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=9B=9E=E6=9D=A5104?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++-- pages/manage/split-cut.vue | 38 +++++++------------------------------- utils/getData2.js | 4 ++-- 3 files changed, 11 insertions(+), 35 deletions(-) diff --git a/manifest.json b/manifest.json index 4fcc89f..7ebb393 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "龙电宁鑫", "appid" : "__UNI__759339F", "description" : "龙电宁鑫手持系统", - "versionName" : "1.0.3", - "versionCode" : 103, + "versionName" : "1.0.4", + "versionCode" : 104, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/manage/split-cut.vue b/pages/manage/split-cut.vue index 52c0a40..ed6c4cd 100644 --- a/pages/manage/split-cut.vue +++ b/pages/manage/split-cut.vue @@ -11,28 +11,8 @@ - - - 上轴子卷号 - - - - - - - - 下轴子卷号 - - - - - - + - + @@ -74,8 +54,6 @@ title: '', options: [], index: '', - val1: '', - val2: '', obj: {up: '-', down: '-', msg: '-'}, disabled: false }; @@ -90,7 +68,7 @@ this.options = [...res] }, selectChange (e) { - // this._querySlitterDeviceSubVolumeInfos(e) + this._querySlitterDeviceSubVolumeInfos(e) }, async _querySlitterDeviceSubVolumeInfos (e) { try { @@ -102,19 +80,17 @@ }, clearUp () { this.index = '' - this.val1 = '' - this.val2 = '' - // this.obj = {up: '-', down: '-', msg: '-'} + this.obj = {up: '-', down: '-', msg: '-'} this.disabled = false }, async _slitterDown () { this.disabled = true - if (!this.index || !this.val1 || !this.val2) { + if (!this.index) { this.disabled = false return } try { - let res = await slitterDown(this.index, this.val1, this.val2) + let res = await slitterDown(this.index) this.clearUp() uni.showToast({ title: res.message, diff --git a/utils/getData2.js b/utils/getData2.js index 228de19..4a2d94e 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -140,9 +140,9 @@ export const querySlitterDeviceSubVolumeInfos = (code) => request({ url:'api/pda/slitter/querySlitterDeviceSubVolumeInfos', data: {point_code: code} }) -export const slitterDown = (code, cn1, cn2) => request({ +export const slitterDown = (code) => request({ url:'api/pda/slitter/slitterDown', - data: {point_code: code, container1: cn1, container2: cn2} + data: {point_code: code} }) // 子卷绑定 export const devicePointQuery = (code) => request({