Merge branch 'master' of https://gitee.com/beijing_hongye_huicheng/lilishop-ui
This commit is contained in:
commit
859d60c0bf
@ -1,4 +0,0 @@
|
|||||||
registry "https://registry.npmmirror.com"
|
|
||||||
sass_binary_site "https://npmmirror.com/mirrors/node-sass"
|
|
||||||
phantomjs_cdnurl "https://npmmirror.com/mirrors/phantomjs"
|
|
||||||
electron_mirror "https://npmmirror.com/mirrors/electron"
|
|
@ -1,5 +0,0 @@
|
|||||||
registry "https://registry.npmmirror.com"
|
|
||||||
sass_binary_site "https://npmmirror.com/mirrors/node-sass"
|
|
||||||
phantomjs_cdnurl "https://npmmirror.com/mirrors/phantomjs"
|
|
||||||
electron_mirror "https://npmmirror.com/mirrors/electron"
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
registry "https://registry.npmmirror.com"
|
|
||||||
sass_binary_site "https://npmmirror.com/mirrors/node-sass"
|
|
||||||
phantomjs_cdnurl "https://npmmirror.com/mirrors/phantomjs"
|
|
||||||
electron_mirror "https://npmmirror.com/mirrors/electron"
|
|
@ -1,5 +0,0 @@
|
|||||||
registry "https://registry.npmmirror.com"
|
|
||||||
sass_binary_site "https://npmmirror.com/mirrors/node-sass"
|
|
||||||
phantomjs_cdnurl "https://npmmirror.com/mirrors/phantomjs"
|
|
||||||
electron_mirror "https://npmmirror.com/mirrors/electron"
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
registry "https://registry.npmmirror.com"
|
|
||||||
sass_binary_site "https://npmmirror.com/mirrors/node-sass"
|
|
||||||
phantomjs_cdnurl "https://npmmirror.com/mirrors/phantomjs"
|
|
||||||
electron_mirror "https://npmmirror.com/mirrors/electron"
|
|
@ -1,5 +0,0 @@
|
|||||||
registry "https://registry.npmmirror.com"
|
|
||||||
sass_binary_site "https://npmmirror.com/mirrors/node-sass"
|
|
||||||
phantomjs_cdnurl "https://npmmirror.com/mirrors/phantomjs"
|
|
||||||
electron_mirror "https://npmmirror.com/mirrors/electron"
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
|||||||
"dev": "vue-cli-service serve"
|
"dev": "vue-cli-service serve"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"-": "0.0.1",
|
|
||||||
"@amap/amap-jsapi-loader": "0.0.7",
|
"@amap/amap-jsapi-loader": "0.0.7",
|
||||||
"@antv/g2": "^4.1.14",
|
"@antv/g2": "^4.1.14",
|
||||||
"axios": "^0.21.1",
|
"axios": "^0.21.1",
|
||||||
|
@ -185,9 +185,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<AutoComplete v-model="item.name" :filter-method="filterMethod"
|
<AutoComplete v-model="item.name" :filter-method="filterMethod"
|
||||||
:maxlength="30" placeholder="请输入规格项名称" style="width: 150px"
|
:maxlength="30" placeholder="请输入规格项名称" style="width: 150px"
|
||||||
@on-focus="changeSkuItem(item.name)" @on-change="
|
@on-focus="changeSkuItem(item.name)" @on-change="editSkuItem(item.name, $index, item)">
|
||||||
editSkuItem(item.name, $index, item)
|
|
||||||
">
|
|
||||||
</AutoComplete>
|
</AutoComplete>
|
||||||
|
|
||||||
<iSwitch v-if="$index === 0" style="margin-left: 10px" size="small" @on-change="changeSkuOpenImage" v-model="openImage" /><span v-if="$index === 0" style="margin-left: 5px">添加规格图片</span>
|
<iSwitch v-if="$index === 0" style="margin-left: 10px" size="small" @on-change="changeSkuOpenImage" v-model="openImage" /><span v-if="$index === 0" style="margin-left: 5px">添加规格图片</span>
|
||||||
@ -1639,10 +1637,10 @@ export default {
|
|||||||
id: skus[index].id,
|
id: skus[index].id,
|
||||||
sn: skus[index].sn,
|
sn: skus[index].sn,
|
||||||
quantity: skus[index].quantity,
|
quantity: skus[index].quantity,
|
||||||
// alertQuantity: skus[index].alertQuantity,
|
cost: skus[index].cost,
|
||||||
cost: 1,
|
|
||||||
price: skus[index].price,
|
price: skus[index].price,
|
||||||
[spec[0].name]: skus[index][spec[0].name] ? skus[index][spec[0].name] : specItem.value,
|
// [spec[0].name]: skus[index][spec[0].name] ? skus[index][spec[0].name] : specItem.value,
|
||||||
|
[spec[0].name]: specItem.value,
|
||||||
images:
|
images:
|
||||||
skus[index].images || this.baseInfoForm.goodsGalleryFiles || [],
|
skus[index].images || this.baseInfoForm.goodsGalleryFiles || [],
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user