mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 17:05:54 +08:00
发布文章图片不回显,发布商品不选类型可以点下一步
This commit is contained in:
@@ -18,14 +18,14 @@ export default {
|
||||
* @description api请求基础路径
|
||||
*/
|
||||
api_dev: {
|
||||
// common: 'https://common-api.pickmall.cn',
|
||||
// buyer: 'https://buyer-api.pickmall.cn',
|
||||
// seller: 'https://store-api.pickmall.cn',
|
||||
// manager: 'https://admin-api.pickmall.cn',
|
||||
common: 'http://192.168.0.109:8890',
|
||||
buyer: 'http://192.168.0.109:8888',
|
||||
seller: 'http://192.168.0.109:8889',
|
||||
manager: 'http://192.168.0.109:8887'
|
||||
common: 'https://common-api.pickmall.cn',
|
||||
buyer: 'https://buyer-api.pickmall.cn',
|
||||
seller: 'https://store-api.pickmall.cn',
|
||||
manager: 'https://admin-api.pickmall.cn',
|
||||
// common: 'http://192.168.0.109:8890',
|
||||
// buyer: 'http://192.168.0.109:8888',
|
||||
// seller: 'http://192.168.0.109:8889',
|
||||
// manager: 'http://192.168.0.109:8887'
|
||||
|
||||
},
|
||||
api_prod: {
|
||||
|
||||
@@ -151,12 +151,6 @@
|
||||
<Icon type="ios-eye-outline" size="30" @click.native="handleViewGoodsPicture(item.url)"></Icon>
|
||||
<Icon type="ios-trash-outline" size="30" @click.native="handleRemoveGoodsPicture(item)"></Icon>
|
||||
</div>
|
||||
<!-- <div>
|
||||
<Icon type="ios-arrow-dropleft" @click.native="
|
||||
handleGoodsPicRemoteUp(baseInfoForm.goodsGalleryFiles,__index)"/>
|
||||
<Icon type="ios-arrow-dropright" @click.native="
|
||||
handleGoodsPicRemoteDown(baseInfoForm.goodsGalleryFiles,__index)"/>
|
||||
</div> -->
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
@@ -808,23 +802,6 @@ export default {
|
||||
this.draftId = "";
|
||||
}
|
||||
},
|
||||
|
||||
// 移动商品图片位置
|
||||
handleGoodsPicRemoteUp(fieldData, index) {
|
||||
if (index != 0) {
|
||||
fieldData[index] = fieldData.splice(index - 1, 1, fieldData[index])[0];
|
||||
} else {
|
||||
fieldData.push(fieldData.shift());
|
||||
}
|
||||
},
|
||||
// 移动商品图片位置
|
||||
handleGoodsPicRemoteDown(fieldData, index) {
|
||||
if (index != fieldData.length - 1) {
|
||||
fieldData[index] = fieldData.splice(index + 1, 1, fieldData[index])[0];
|
||||
} else {
|
||||
fieldData.unshift(fieldData.splice(index, 1)[0]);
|
||||
}
|
||||
},
|
||||
// 获取商品模板
|
||||
GET_GoodsTemplate() {
|
||||
let searchParams = {
|
||||
@@ -1460,6 +1437,11 @@ export default {
|
||||
this.GET_GoodsParams();
|
||||
/** 1级校验 */
|
||||
this.loading = true;
|
||||
if (this.activestep === 0 && !this.baseInfoForm.goodsType) {
|
||||
this.$Message.error('请选择商品类型')
|
||||
this.loading = false;
|
||||
return
|
||||
}
|
||||
if (this.activestep === 0 && !this.activeCategoryName1) {
|
||||
this.$Message.error("请选择商品分类");
|
||||
this.loading = false;
|
||||
|
||||
Reference in New Issue
Block a user