no message

This commit is contained in:
蔡玲
2024-12-04 13:50:54 +08:00
parent 69e5f4f116
commit 4db84a8120

View File

@@ -118,7 +118,7 @@
onShow () {
if (this.$store.getters.publicObj !== '') {
this.currentData = this.$store.getters.publicObj
this.dataList = this.currentData.children
this.dataList = [...this.currentData.children]
this.dataList.map(el => {
this.$set(el, 'now_assign_qty', el.qty)
this.$set(el, 'checked', false)
@@ -152,6 +152,11 @@
if (res.code === '200') {
if (res.content.length > 0) {
this.currentData = res.content[0]
this.dataList = [...this.currentData.children]
this.dataList.map(el => {
this.$set(el, 'now_assign_qty', el.qty)
this.$set(el, 'checked', false)
})
}
} else {
uni.showToast({