添加本地生活商品删除功能
This commit is contained in:
parent
0e4eaa0109
commit
d03d30bd7a
@ -63,12 +63,12 @@
|
||||
}
|
||||
},
|
||||
created() {
|
||||
uni.$on("refreshorder", () => {
|
||||
uni.$on("refresh_local_shop_list", () => {
|
||||
this.refresh()
|
||||
})
|
||||
},
|
||||
destroyed() {
|
||||
uni.$off("refreshorder")
|
||||
uni.$off("refresh_local_shop_list")
|
||||
},
|
||||
methods: {
|
||||
refresh() {
|
||||
@ -130,9 +130,7 @@
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
</view>
|
||||
|
||||
<view @click="showPopup = true">
|
||||
<u-field label="商品规格" label-width="200" :border-bottom="false" required disabled />
|
||||
<u-field label="商品规格" label-width="200" :border-bottom="false" disabled />
|
||||
<view class="m-l-30 bold">+ 添加规格(默认为单规格)</view>
|
||||
</view>
|
||||
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
</view>
|
||||
|
||||
<view @click="showSpecPopup = true" v-if="is_multiple_spec == 1">
|
||||
<u-field label="商品规格" label-width="200" :border-bottom="false" required disabled />
|
||||
<u-field label="商品规格" label-width="200" :border-bottom="false" disabled />
|
||||
<view class="m-l-30 bold">+ 添加规格(默认为单规格)</view>
|
||||
</view>
|
||||
|
||||
@ -354,6 +354,9 @@
|
||||
});
|
||||
}
|
||||
},
|
||||
onUnload() {
|
||||
uni.$emit('refresh_local_shop_list', true)
|
||||
},
|
||||
computed: {
|
||||
btnText() {
|
||||
if (this.state == 1) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user