no message
This commit is contained in:
@@ -118,7 +118,7 @@
|
|||||||
onShow () {
|
onShow () {
|
||||||
if (this.$store.getters.publicObj !== '') {
|
if (this.$store.getters.publicObj !== '') {
|
||||||
this.currentData = 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.dataList.map(el => {
|
||||||
this.$set(el, 'now_assign_qty', el.qty)
|
this.$set(el, 'now_assign_qty', el.qty)
|
||||||
this.$set(el, 'checked', false)
|
this.$set(el, 'checked', false)
|
||||||
@@ -152,6 +152,11 @@
|
|||||||
if (res.code === '200') {
|
if (res.code === '200') {
|
||||||
if (res.content.length > 0) {
|
if (res.content.length > 0) {
|
||||||
this.currentData = res.content[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 {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
|||||||
Reference in New Issue
Block a user