This commit is contained in:
2024-07-25 13:36:55 +08:00
parent 9a7fabcdbd
commit b35147baf9
7 changed files with 44 additions and 75 deletions

View File

@@ -280,8 +280,7 @@
};
},
onLoad () {
this._getWarehouseInfo()
this._getOrganizationInfo()
this.toSearch()
},
methods: {
// 仓库下拉框
@@ -293,7 +292,6 @@
this.$set(e, 'text', e.ckmc)
this.$set(e, 'value', e.ckbm)
})
this.toSearch()
}
},
// 组织信息下拉框
@@ -305,7 +303,6 @@
this.$set(e, 'text', e.kczzmc)
this.$set(e, 'value', e.kczzbm)
})
this.toSearch()
}
},
// 查询一级表格
@@ -333,6 +330,8 @@
icon: 'none'
})
}
this._getWarehouseInfo()
this._getOrganizationInfo()
},
// 二级表格接口
async _allocationBillPage () {
@@ -400,7 +399,6 @@
},
// 二级表格详情修改接口
async _allocationBillUpdate (e) {
console.log(e)
try {
let res = await allocationBillUpdate(e)
uni.showToast({
@@ -524,10 +522,10 @@
}
this.currentPage2 = 1
this._allocationBillPage()
uni.showToast({
title: res.desc,
icon: 'none'
})
// uni.showToast({
// title: res.desc,
// icon: 'none'
// })
} else {
uni.showToast({
title: res.desc,