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 } }) // 创建工单