gh代码合并跟新设置店铺页面

This commit is contained in:
2024-09-28 15:24:41 +08:00
11 changed files with 242 additions and 177 deletions

View File

@@ -403,7 +403,12 @@
const control = ref(null)
const model = ref(null)
const goodsStockModel = ref(null)
let reportDamage = ref(null) //报损组件
// 商品报损
function reportDamageClick(index) {
pageData.reportData = pageData.goodsList[index]
reportDamage.value.open();
}
function returnGoodsStockData() {
return reactive({
sort: 0,
@@ -451,6 +456,7 @@
Object.assign(goodsStockData, goods)
goodsStockModel.value.open()
}
//删除商品
function goodsDel(index) {
const goods = pageData.goodsList[index]