From 75291ece8be07085269e56210e2d3fe10adb4735 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期三, 31 七月 2024 14:56:16 +0800 Subject: [PATCH] # --- pages/pakin/bomPakin.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pages/pakin/bomPakin.vue b/pages/pakin/bomPakin.vue index 426c5fb..38aa3b7 100644 --- a/pages/pakin/bomPakin.vue +++ b/pages/pakin/bomPakin.vue @@ -238,7 +238,7 @@ method: 'POST', header: { 'token': uni.getStorageSync('token') }, success(res) { - console.log(res); + // console.log(res); res = res.data if (res.code === 200) { if (res.data) { @@ -287,8 +287,10 @@ that.matData = result.data that.matnr = '' that.matData['batch'] = '' - if (that.maxAnfme) { + if (that.maxAnfme > 0) { that.matData['maxNum'] = that.maxAnfme + } else if (that.maxAnfme == 0){ + that.matData['maxNum'] = 0 } uni.navigateTo({ url: "../mat/matSelected", @@ -470,8 +472,9 @@ } } uni.request({ - url: that.baseUrl + '/mobile/comb/auth', + url: that.baseUrl + '/mobile/comb/auth2', data: JSON.stringify({ + bomCode: that.bomCode, barcode: that.barcode, combMats: that.dataList }), -- Gitblit v1.9.1