From 18918d272b40cd870b6a011b8dfe60592dcf4ce6 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: Mon, 4 Nov 2024 15:02:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E7=AE=94=E5=B7=A5=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/SecondPhase/production/SboProcess.vue | 17 +++++++++++++++-- utils/getData3.js | 5 +++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/pages/SecondPhase/production/SboProcess.vue b/pages/SecondPhase/production/SboProcess.vue index 53562d2..b69ebce 100644 --- a/pages/SecondPhase/production/SboProcess.vue +++ b/pages/SecondPhase/production/SboProcess.vue @@ -32,6 +32,15 @@ + + + + + + + 是否大车 + + @@ -119,7 +128,8 @@ }, totalCount: 0, pageNum: 1, - pageSize: 10 + pageSize: 10, + isV: '0' }; }, onLoad (options) { @@ -135,6 +145,9 @@ this.$refs.scanChild.handleFocus() }, methods: { + isVirtual () { + this.isV = this.isV === '0' ? '1' : '0' + }, searchList () { this.pkId = '' this.pkObj = {} @@ -178,7 +191,7 @@ async _needEmptyAxisTest () { this.disabled1 = true try { - let res = await needEmptyAxisTest(this.val1, this.val2) + let res = await needEmptyAxisTest(this.val1, this.val2, this.isV) this.disabled1 = false uni.showToast({ title: res.message, diff --git a/utils/getData3.js b/utils/getData3.js index 123ce1a..6789f5d 100644 --- a/utils/getData3.js +++ b/utils/getData3.js @@ -84,11 +84,12 @@ export const surfaceConfirm = (code) => request({ * 生箔工序 */ // 1.1呼叫 -export const needEmptyAxisTest = (code, name) => request({ +export const needEmptyAxisTest = (code, name, type) => request({ url: 'api/pda/raw/needEmptyAxisTest', data: { point_code: code, - container_name: name + container_name: name, + big_type: type } }) // 创建工单