change
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user