Compare commits

..

2 Commits

Author SHA1 Message Date
bf86787a4f Merge pull request 'yyw提交' (#23) from yyw into master
Reviewed-on: #23
2025-12-08 01:49:32 +00:00
dee4daf887 yyw提交 2025-12-08 09:48:59 +08:00

View File

@ -338,7 +338,7 @@ export default {
let params = {
...data.itemInfo
}
params.skus = data.skusList
params.skus = data.skusList || []
params.images = imgs
if(data.opaType == 'add') {
post(`/api/goods`, params).then(() => {
@ -404,11 +404,11 @@ export default {
status: 1,
sort: 0,
gift: 0,
goods_cost: '',
other_cost: '',
freight_cost: '',
goods_cost: 0,
other_cost: 0,
freight_cost: 0,
freight_type: 1,
cost_factor: ''
cost_factor: 1
}
data.skusList.push(sku)
}