diff --git a/pages/entry/mater-group.vue b/pages/entry/mater-group.vue index e7226a5..b0b425f 100644 --- a/pages/entry/mater-group.vue +++ b/pages/entry/mater-group.vue @@ -1,6 +1,6 @@ @@ -129,13 +121,13 @@ }, async _groupPlate () { this.disabled = true - if (JSON.stringify(this.currentData) === '{}' || !this.val3) { + if (JSON.stringify(this.currentData) === '{}') { this.disabled = false return } try { this.currentData.stor_code = this.index - let res = await groupPlate(this.currentData.material_id, this.currentData.pcsn, this.currentData.qty, this.val2, this.val1, this.val3) + let res = await groupPlate(this.currentData.material_id, this.val3, this.currentData.qty, this.val2, this.val1) uni.showToast({ title: res.message, icon: 'none' diff --git a/pages/entry/mater-group2.vue b/pages/entry/mater-group2.vue index c4a8a60..8720698 100644 --- a/pages/entry/mater-group2.vue +++ b/pages/entry/mater-group2.vue @@ -1,6 +1,6 @@