This commit is contained in:
2025-08-15 15:23:07 +08:00
parent 868ae960e1
commit d8ae8d7a25
4 changed files with 169 additions and 23 deletions

View File

@@ -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,