代码优化

This commit is contained in:
GaoHao
2025-03-26 14:35:59 +08:00
parent 413222a5f0
commit 656793dae2
47 changed files with 142 additions and 4103 deletions

View File

@@ -32,11 +32,7 @@
<script setup>
import { reactive, ref, watch } from 'vue';
import {
$updateGrounding,
$updateProductStatus,$updateProductData,
$tbProskuConV2
} from '@/http/yskApi/goods.js'
import { hasPermission } from '@/commons/utils/hasPermission.js'
import infoBox from '@/commons/utils/infoBox.js'
@@ -103,14 +99,7 @@
emits('save')
}
function upDateGoods(par) {
return $updateProductData([{
id: data.value.id,
isSku: 1,
shopId: uni.getStorageSync('shopId'),
...par
}])
}
let canShangXiaJia=ref(false)
async function hasShangXiajia(tips=false){