Compare commits

..

No commits in common. "bf86787a4f04f205194cc541d276ee1e810168ae" and "5acb4dd70ea0f32695c59f034b4c62773ab4561a" have entirely different histories.

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: 0,
other_cost: 0,
freight_cost: 0,
goods_cost: '',
other_cost: '',
freight_cost: '',
freight_type: 1,
cost_factor: 1
cost_factor: ''
}
data.skusList.push(sku)
}