From d8ae8d7a2598a5c82382ca27fff5cc6487876191 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Fri, 15 Aug 2025 15:23:07 +0800 Subject: [PATCH] change --- components/NumberInput.vue | 139 +++++++++++++++++++++++++++----- components/NumberInput0.vue | 34 ++++++++ pages/zw/manual-callmater.vue | 6 +- pages/zw/manual-returnmater.vue | 13 ++- 4 files changed, 169 insertions(+), 23 deletions(-) create mode 100644 components/NumberInput0.vue diff --git a/components/NumberInput.vue b/components/NumberInput.vue index 5a3e3f5..8542bcf 100644 --- a/components/NumberInput.vue +++ b/components/NumberInput.vue @@ -1,34 +1,135 @@ + + diff --git a/components/NumberInput0.vue b/components/NumberInput0.vue new file mode 100644 index 0000000..5a3e3f5 --- /dev/null +++ b/components/NumberInput0.vue @@ -0,0 +1,34 @@ + + + diff --git a/pages/zw/manual-callmater.vue b/pages/zw/manual-callmater.vue index e28769a..873e19a 100644 --- a/pages/zw/manual-callmater.vue +++ b/pages/zw/manual-callmater.vue @@ -106,10 +106,12 @@ onShow() { if (this.$store.getters.publicObj !== '') { this.currentData = this.$store.getters.publicObj + this.$store.dispatch('setPublicObj', '') } }, created () { this._getPdaSect() + this._getPdaStruct(e) }, methods: { toJump () { @@ -131,7 +133,7 @@ }, async _getPdaStruct (e) { try { - let res = await getPdaStruct(e) + let res = await getPdaStruct(this.index) if (res) { this.options2 = res.data } else { @@ -162,7 +164,7 @@ return } try { - let res = await checkoutbillcallMaterial(this.index, this.index2, this.currentData.material_code, this.index4) + let res = await checkoutbillcallMaterial(this.val1, this.index2, this.currentData.material_code, this.index4) if (res.code === '200') { uni.showToast({ title: res.message, diff --git a/pages/zw/manual-returnmater.vue b/pages/zw/manual-returnmater.vue index 94c4560..edbe31a 100644 --- a/pages/zw/manual-returnmater.vue +++ b/pages/zw/manual-returnmater.vue @@ -28,6 +28,7 @@ + 物料信息 @@ -65,10 +66,15 @@ 物料数量 - + + + @@ -80,11 +86,13 @@