部分bug修改
parent
cc1afed902
commit
fc393ecd64
|
@ -29,6 +29,9 @@
|
||||||
{{ skuDetail.goodsName }}
|
{{ skuDetail.goodsName }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="sell-point">
|
||||||
|
{{skuDetail.sellingPoint}}
|
||||||
|
</div>
|
||||||
<!-- 限时秒杀 -->
|
<!-- 限时秒杀 -->
|
||||||
<Promotion v-if="promotionMap['SECKILL']" :time="promotionMap['SECKILL'].endTime"></Promotion>
|
<Promotion v-if="promotionMap['SECKILL']" :time="promotionMap['SECKILL'].endTime"></Promotion>
|
||||||
<!-- 商品详细 价格、优惠券、促销 -->
|
<!-- 商品详细 价格、优惠券、促销 -->
|
||||||
|
@ -655,5 +658,10 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.sell-point {
|
||||||
|
font-size: 12px;
|
||||||
|
color: red;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
}
|
||||||
/******************商品图片及购买详情结束******************/
|
/******************商品图片及购买详情结束******************/
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
<span class="ml_10">{{item.groupName}}</span>
|
<span class="ml_10">{{item.groupName}}</span>
|
||||||
<table class="mb_10" cellpadding='0' border="1" cellspacing="0" >
|
<table class="mb_10" cellpadding='0' border="1" cellspacing="0" >
|
||||||
<tr v-for="param in item.goodsParamsItemDTOList" :key="param.paramId">
|
<tr v-for="param in item.goodsParamsItemDTOList" :key="param.paramId">
|
||||||
<td style="text-align:right">{{param.paramName}}</td><td>{{param.paramValue}}</td>
|
<td style="text-align: center">{{param.paramName}}</td><td>{{param.paramValue}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
@ -492,14 +492,14 @@ table{
|
||||||
border-color:#efefef;
|
border-color:#efefef;
|
||||||
color: #999;
|
color: #999;
|
||||||
min-width: 30%;
|
min-width: 30%;
|
||||||
margin-left: 10px;
|
margin-left: 30px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
tr{
|
tr{
|
||||||
td:nth-child(1){
|
td:nth-child(1){
|
||||||
min-width: 70px;
|
width: 100px;
|
||||||
}
|
}
|
||||||
td:nth-child(2){
|
td:nth-child(2){
|
||||||
padding-left: 10px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
td{
|
td{
|
||||||
|
@ -508,7 +508,6 @@ table{
|
||||||
}
|
}
|
||||||
.goods-params {
|
.goods-params {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
span{color:#999}
|
span{color:#999}
|
||||||
|
|
|
@ -5,11 +5,8 @@
|
||||||
<div v-if="list.length">
|
<div v-if="list.length">
|
||||||
<template v-for="(item) in list">
|
<template v-for="(item) in list">
|
||||||
<div class="goodsItem" :key="item.skuId">
|
<div class="goodsItem" :key="item.skuId">
|
||||||
<div class="goodsImg hover-pointer">
|
<div class="goodsImg hover-pointer" v-if="params.type === 'GOODS'">
|
||||||
<img
|
<img :src="item.image" />
|
||||||
:src="params.type === 'GOODS'? item.image : item.logo"
|
|
||||||
alt=""
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="goodsTitle hover-pointer">
|
<div class="goodsTitle hover-pointer">
|
||||||
{{params.type === 'GOODS'? item.goodsName : item.storeName}}
|
{{params.type === 'GOODS'? item.goodsName : item.storeName}}
|
||||||
|
|
|
@ -17,14 +17,14 @@ export default {
|
||||||
* @description api请求基础路径
|
* @description api请求基础路径
|
||||||
*/
|
*/
|
||||||
api_dev: {
|
api_dev: {
|
||||||
// common: "https://common-api.pickmall.cn",
|
common: "https://common-api.pickmall.cn",
|
||||||
// buyer: "https://buyer-api.pickmall.cn",
|
buyer: "https://buyer-api.pickmall.cn",
|
||||||
// seller: "https://store-api.pickmall.cn",
|
seller: "https://store-api.pickmall.cn",
|
||||||
// manager: "https://admin-api.pickmall.cn"
|
manager: "https://admin-api.pickmall.cn"
|
||||||
common: 'http://192.168.0.109:8890',
|
// common: 'http://192.168.0.105:8890',
|
||||||
buyer: 'http://192.168.0.109:8888',
|
// buyer: 'http://192.168.0.105:8888',
|
||||||
seller: 'http://192.168.0.109:8889',
|
// seller: 'http://192.168.0.105:8889',
|
||||||
manager: 'http://192.168.0.109:8887'
|
// manager: 'http://192.168.0.105:8887'
|
||||||
},
|
},
|
||||||
api_prod: {
|
api_prod: {
|
||||||
common: "https://common-api.pickmall.cn",
|
common: "https://common-api.pickmall.cn",
|
||||||
|
|
|
@ -141,12 +141,14 @@
|
||||||
this.modalVisible = true;
|
this.modalVisible = true;
|
||||||
},
|
},
|
||||||
edit(v) {
|
edit(v) {
|
||||||
|
console.log(v);
|
||||||
this.modalType = 1;
|
this.modalType = 1;
|
||||||
this.modalTitle = "编辑";
|
this.modalTitle = "编辑";
|
||||||
this.formAdd.id = v.id;
|
this.formAdd.id = v.id;
|
||||||
this.formAdd.articleCategoryName = v.articleCategoryName;
|
this.formAdd.articleCategoryName = v.articleCategoryName;
|
||||||
this.formAdd.level = v.level;
|
this.formAdd.level = v.level;
|
||||||
this.formAdd.parentId = v.parentId;
|
this.formAdd.parentId = v.parentId;
|
||||||
|
this.formAdd.sort = v.sort;
|
||||||
this.showParent = false;
|
this.showParent = false;
|
||||||
this.modalVisible = true;
|
this.modalVisible = true;
|
||||||
},
|
},
|
||||||
|
|
|
@ -167,7 +167,6 @@
|
||||||
<Icon type="ios-camera" size="20"></Icon>
|
<Icon type="ios-camera" size="20"></Icon>
|
||||||
</div>
|
</div>
|
||||||
</Upload>
|
</Upload>
|
||||||
<!-- <upload-pic-thumb v-model="baseInfoForm.goodsGalleryFiles" :multiple="true"></upload-pic-thumb> -->
|
|
||||||
|
|
||||||
<Modal title="View Image" v-model="goodsPictureVisible">
|
<Modal title="View Image" v-model="goodsPictureVisible">
|
||||||
<img :src="previewGoodsPicture" v-if="goodsPictureVisible" style="width: 100%"/>
|
<img :src="previewGoodsPicture" v-if="goodsPictureVisible" style="width: 100%"/>
|
||||||
|
@ -227,7 +226,7 @@
|
||||||
.ivu-table-overflowX {
|
.ivu-table-overflowX {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
" :span-method="handleSpan">
|
">
|
||||||
<template slot-scope="{ row }" slot="sn">
|
<template slot-scope="{ row }" slot="sn">
|
||||||
<Input v-model="row.sn" placeholder="请输入货号" @on-change="updateSkuTable(row, 'sn')"/>
|
<Input v-model="row.sn" placeholder="请输入货号" @on-change="updateSkuTable(row, 'sn')"/>
|
||||||
</template>
|
</template>
|
||||||
|
@ -886,6 +885,7 @@ export default {
|
||||||
this.baseInfoForm.goodsGalleryFiles.filter((i) => i.url !== file.url);
|
this.baseInfoForm.goodsGalleryFiles.filter((i) => i.url !== file.url);
|
||||||
},
|
},
|
||||||
updateSkuPicture() {
|
updateSkuPicture() {
|
||||||
|
this.baseInfoForm.regeneratorSkuFlag = true;
|
||||||
let _index = this.selectedSku._index;
|
let _index = this.selectedSku._index;
|
||||||
this.skuTableData[_index] = this.selectedSku;
|
this.skuTableData[_index] = this.selectedSku;
|
||||||
},
|
},
|
||||||
|
@ -900,11 +900,10 @@ export default {
|
||||||
this.previewPicture = file.url;
|
this.previewPicture = file.url;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleSuccessGoodsPicture(res, file) {
|
handleSuccessGoodsPicture(res, file, fileList) {
|
||||||
if (file.response) {
|
console.log(res, file, fileList);
|
||||||
file.url = file.response.result;
|
file.url = res.result;
|
||||||
this.baseInfoForm.goodsGalleryFiles.push(file);
|
this.baseInfoForm.goodsGalleryFiles = fileList;
|
||||||
}
|
|
||||||
},
|
},
|
||||||
handleFormatError(file) {
|
handleFormatError(file) {
|
||||||
this.$Notice.warning({
|
this.$Notice.warning({
|
||||||
|
@ -1365,13 +1364,10 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// 规格表格操作
|
|
||||||
handleSpan({row, column, rowIndex, columnIndex}) {
|
|
||||||
},
|
|
||||||
/** 数据改变之后 抛出数据 */
|
/** 数据改变之后 抛出数据 */
|
||||||
updateSkuTable(row, item) {
|
updateSkuTable(row, item) {
|
||||||
let index = row._index;
|
let index = row._index;
|
||||||
|
this.baseInfoForm.regeneratorSkuFlag = true;
|
||||||
// this.skuTableData[index][item] = row[item];
|
// this.skuTableData[index][item] = row[item];
|
||||||
/** 进行自定义校验 判断是否是数字(小数也能通过)重量 */
|
/** 进行自定义校验 判断是否是数字(小数也能通过)重量 */
|
||||||
if (item === "weight") {
|
if (item === "weight") {
|
||||||
|
|
Loading…
Reference in New Issue