'将饿了么更名为淘宝闪购'

This commit is contained in:
wtq
2025-12-09 17:17:49 +08:00
parent 1b18e0d011
commit 01eee9e091
82 changed files with 273 additions and 273 deletions

View File

@@ -485,7 +485,7 @@ export default {
},
// 导出excel
async exportExcel() {
const vendorMap = ['京东', '美团', '', '饿百']
const vendorMap = ['京东', '美团', '', '淘宝闪购']
try {
let res = await this.getAfsOrder('all')
let keys = Object.keys(res[0])
@@ -503,7 +503,7 @@ export default {
} else if (attr === 'skuUserMoney') {
json['退款金额'] = item[attr] || ''
} else if (attr === 'vendorOrderID2') {
json['订单号2(饿百)'] = item[attr] || ''
json['订单号2(淘宝闪购)'] = item[attr] || ''
} else {
json[attr] = (item[attr] === 0 || item[attr] === '0') ? 0 : item[attr] || ''
}

View File

@@ -49,7 +49,7 @@
<el-select v-model="searchForm.orderFlag" clearable placeholder="请选择订单平台">
<el-option :label="'京东'" :value="0" :key="0"></el-option>
<el-option :label="'美团'" :value="1" :key="1"></el-option>
<el-option :label="'饿了么'" :value="2" :key="2"></el-option>
<el-option :label="'淘宝闪购'" :value="2" :key="2"></el-option>
</el-select>
</el-form-item>
@@ -691,7 +691,7 @@ export default {
'用户评价',
'评价标签'
])
const vendorArr = ['京东', '美团', '饿了么', '饿百']
const vendorArr = ['京东', '美团', '淘宝闪购', '淘宝闪购']
let {stores} = await getStores({pageSize: -1, statuss: JSON.stringify([-1, 0, 1]), briefLevel: 1}, false)
this.getBadList(data, res => {
let list = JSON.parse(res.data).list

View File

@@ -106,7 +106,7 @@ export default {
0: '0', // 京东不限定
1: '0', // 美团不限定
2: '0', // e了么不限定
3: '0', // 饿百
3: '0', // 淘宝闪购
4: '0',
5: '0',
9: '0', // 京西

View File

@@ -57,10 +57,10 @@
<span :class="{ bindActive: data.storeMapsJD }"></span>
<!-- <span :class="{ bindActive: data.storeMapsJG }"></span> -->
<span :class="{ bindActive: data.storeMapsMT }"></span>
<span :class="{ bindActive: data.storeMapsEB }">饿</span>
<span :class="{ bindActive: data.storeMapsEB }"></span>
<span :class="{ bindActive: data.storeMapsJX }">西</span>
<span :class="{ bindActive: data.storeMapsDD }"></span>
<span :class="{ bindActive: data.storeMapsTao }"></span>
<!-- <span :class="{ bindActive: data.storeMapsTao }"></span> -->
</span>
<span class="level-person">{{ data.marketManName }} {{ data.operatorName }}{{ data.operatorName2 }}</span>
</div>

View File

@@ -57,10 +57,10 @@
<span :class="{ bindActive: data.storeMapsJD }"></span>
<!-- <span :class="{ bindActive: data.storeMapsJG }"></span> -->
<span :class="{ bindActive: data.storeMapsMT }"></span>
<span :class="{ bindActive: data.storeMapsEB }">饿</span>
<span :class="{ bindActive: data.storeMapsEB }"></span>
<span :class="{ bindActive: data.storeMapsJX }">西</span>
<span :class="{ bindActive: data.storeMapsDD }"></span>
<span :class="{ bindActive: data.storeMapsTao }"></span>
<!-- <span :class="{ bindActive: data.storeMapsTao }"></span> -->
</span>
<span class="level-person">{{ data.marketManName }} {{ data.operatorName }}{{ data.operatorName2 }}</span>
</div>

View File

@@ -128,8 +128,8 @@
</el-form-item>
名称
<br />
饿百分类绑定
<el-form-item label="饿百分类绑定:">
淘宝闪购分类绑定
<el-form-item label="淘宝闪购分类绑定:">
<el-cascader
ref="createeBaiCategoryID"
placeholder="试试搜索:蔬菜"
@@ -142,7 +142,7 @@
style="width: 300px;"
></el-cascader>
</el-form-item>
饿百分类绑定
淘宝闪购分类绑定
<br />
按钮
<el-button
@@ -209,7 +209,7 @@
名称
<br />
<el-form-item
label="饿百分类绑定:"
label="淘宝闪购分类绑定:"
v-if="
currentPick.level === 2 ||
!(
@@ -348,7 +348,7 @@ export default {
showCatNameError: false,
expandKey: [], // 展开菜单
allowDrag: true, // 是否开启拖拽功能
// 饿百分类规定字段
// 淘宝闪购分类规定字段
eBaiCatProp: {
value: "vendorCategoryID",
label: "name"
@@ -368,7 +368,7 @@ export default {
watch: {
eBaiCatLevel1(to) {
if (to) {
// 组合饿百分类
// 组合淘宝闪购分类
// 把三级挂载到二级上
let eBaiCatData = this.eBaiCatLevel1;
let temeBaiCat = this.eBaiCatLevel2;
@@ -702,7 +702,7 @@ export default {
return false;
}
// 保存饿百分类数组
// 保存淘宝闪购分类数组
let eBaiCatID = "";
if (
this.$refs.editoreBaiCategoryID &&

View File

@@ -61,7 +61,7 @@ export default {
// 判断饿分类是否获取成功
if (!eBaicat) {
this.$message({
message: '[获取饿百分类列表失败] ' + eBaicat.desc,
message: '[获取淘宝闪购分类列表失败] ' + eBaicat.desc,
type: 'warning',
center: true
})

View File

@@ -283,15 +283,15 @@
<!-- 抖店分类绑定 -->
<br />
<!-- 饿百分类绑定 -->
<el-form-item label="饿百分类绑定:">
<!-- 淘宝闪购分类绑定 -->
<el-form-item label="淘宝闪购分类绑定:">
<cateBind
:type="'EB'"
@getClass="getClass"
v-model="newCat.ebaiCategoryID">
</cateBind>
</el-form-item>
<!-- 饿百分类绑定 -->
<!-- 淘宝闪购分类绑定 -->
<br />
<!-- 按钮 -->
<el-button
@@ -490,9 +490,9 @@
</el-form-item>
<!-- 抖店分类绑定 -->
<br />
<!-- 饿百分类绑定 -->
<!-- 淘宝闪购分类绑定 -->
<el-form-item
label="饿百分类绑定:"
label="淘宝闪购分类绑定:"
v-if="
currentPick.level === 2 ||
!(
@@ -507,7 +507,7 @@
v-model="cateInfo.ebaiCategoryID">
</cateBind>
</el-form-item>
<!-- 饿百分类绑定 -->
<!-- 淘宝闪购分类绑定 -->
<br />
<!-- 保存按钮 -->
<div style="margin-top: 20px;">
@@ -618,7 +618,7 @@
// 校验京东分类绑定是否填写
showjdCatError: false,
showjgCatError: false,
// 校验饿百分类绑定是否填写
// 校验淘宝闪购分类绑定是否填写
showeBaiCatError: false,
showmTCatError: false,
showdDCatError: false,
@@ -751,7 +751,7 @@
await store.dispatch('getCate',{vendorID:14,parentID:-1})
break
case 'EB':
// 饿百
// 淘宝闪购
if(this.eBCategoryData && this.eBCategoryData.length>0) return
await store.dispatch('getCate',{vendorID:3,parentID:-1})
break
@@ -1037,7 +1037,7 @@
this.showCatNameError = false;
}
},
// 校验京东饿百分类是否选择
// 校验京东淘宝闪购分类是否选择
// @change="checkCatPick('editorjdCategoryID')"
// @change="checkCatPick('editoreBaiCategoryID')"
checkCatPick(ref) {
@@ -1056,21 +1056,21 @@
// this.showjgCatError = false;
// }
} else if (ref === "editoreBaiCategoryID") {
// 饿百
// 淘宝闪购
if (this.$refs[ref].currentValue.length === 0) {
this.showeBaiCatError = true;
} else {
this.showeBaiCatError = false;
}
} else if (ref === "editoremTCategoryID") {
// 饿百
// 淘宝闪购
if (this.$refs[ref].currentValue.length === 0) {
this.showmTCatError = true;
} else {
this.showmTCatError = false;
}
}else if(ref === "editoredDCategoryID"){
// 饿百
// 淘宝闪购
if (this.$refs[ref].currentValue.length === 0) {
this.showdDCatError = true;
} else {

View File

@@ -212,8 +212,8 @@
</el-input>
</el-form-item> -->
<!-- 调价百分比 -->
<!-- 饿百分类绑定 -->
<!-- <el-form-item label="饿百分类绑定:">
<!-- 淘宝闪购分类绑定 -->
<!-- <el-form-item label="淘宝闪购分类绑定:">
<el-cascader
ref="createeBaiCategoryID"
placeholder="试试搜索:蔬菜"
@@ -226,7 +226,7 @@
style="width: 300px;"
></el-cascader>
</el-form-item> -->
<!-- 饿百分类绑定 -->
<!-- 淘宝闪购分类绑定 -->
<!-- 调价百分比 -->
<!-- <el-form-item label="调价" label-width="60px" prop="ebaiPricePercentage">
<el-input style="width: 110px;" v-model.number="newCat.ebaiPricePercentage">
@@ -362,8 +362,8 @@
</el-input>
</el-form-item> -->
<!-- 调价百分比 -->
<!-- 饿百分类绑定 -->
<!-- <el-form-item label="饿百分类绑定:" v-if="currentPick.level===2 || !('children' in currentPick && currentPick.children.length !== 0)">
<!-- 淘宝闪购分类绑定 -->
<!-- <el-form-item label="淘宝闪购分类绑定:" v-if="currentPick.level===2 || !('children' in currentPick && currentPick.children.length !== 0)">
<el-cascader
ref="editoreBaiCategoryID"
placeholder="试试搜索:蔬菜"
@@ -378,7 +378,7 @@
<!-- <span
style="color: #f56c6c;font-size: 12px;position: absolute;bottom: -25px;left:0;" v-if="showeBaiCatError">请选择分类</span> -->
<!-- </el-form-item> -->
<!-- 饿百分类绑定 -->
<!-- 淘宝闪购分类绑定 -->
<!-- 调价百分比 -->
<!-- <el-form-item label="调价" label-width="60px" prop="ebaiPricePercentage" v-if="currentPick.level===2 || currentPick.children.length ===0">
<el-input style="width: 110px;" v-model.number="currentPick.ebaiPricePercentage">
@@ -494,7 +494,7 @@ export default {
jdCategoryID: [], // ['20307', '20353', '20362'], // 京东分类的ID
// elmCategoryID: 0,
jgCategoryID: [],
ebaiCategoryID: [], // ['151301831158513', '151301831158514', '151301831158523'] // 饿百分类ID
ebaiCategoryID: [], // ['151301831158513', '151301831158514', '151301831158523'] // 淘宝闪购分类ID
mtwmCategoryID: [],
// jdID: 4714962, //
// jdSyncStatus: 0
@@ -567,7 +567,7 @@ export default {
// 校验京东分类绑定是否填写
showjdCatError: false,
showjgCatError: false,
// 校验饿百分类绑定是否填写
// 校验淘宝闪购分类绑定是否填写
showeBaiCatError: false,
showmTCatError: false,
jxcategoriesArr: [],
@@ -577,14 +577,14 @@ export default {
value: "vendorCategoryID",
label: "name",
},
eBaiCatData: [], // 饿百分类,一二三级已挂载
// 饿百分类规定字段
eBaiCatData: [], // 淘宝闪购分类,一二三级已挂载
// 淘宝闪购分类规定字段
eBaiCatProp: {
value: "vendorCategoryID",
label: "name",
},
mTCatData: [], // 美团分类,一二三级已挂载
// 饿百分类规定字段
// 淘宝闪购分类规定字段
mTCatProp: {
value: "vendorCategoryID",
label: "name",
@@ -703,7 +703,7 @@ export default {
// 判断饿分类是否获取成功
if (!eBaicat) {
this.$message({
message: "[获取饿百分类列表失败] " + eBaicat.desc,
message: "[获取淘宝闪购分类列表失败] " + eBaicat.desc,
type: "warning",
center: true,
});
@@ -769,7 +769,7 @@ export default {
// le1.children = level2;
// });
// this.jgCatData = jgCatData;
// 组合饿百分类
// 组合淘宝闪购分类
// 把三级挂载到二级上
let eBaiCatData = this.eBaiCatLevel1;
let temeBaiCat = this.eBaiCatLevel2;
@@ -1459,7 +1459,7 @@ export default {
this.showCatNameError = false;
}
},
// 校验京东饿百分类是否选择
// 校验京东淘宝闪购分类是否选择
// @change="checkCatPick('editorjdCategoryID')"
// @change="checkCatPick('editoreBaiCategoryID')"
checkCatPick(ref) {
@@ -1478,14 +1478,14 @@ export default {
// this.showjgCatError = false;
// }
} else if (ref === "editoreBaiCategoryID") {
// 饿百
// 淘宝闪购
if (this.$refs[ref].currentValue.length === 0) {
this.showeBaiCatError = true;
} else {
this.showeBaiCatError = false;
}
} else if (ref === "editoremTCategoryID") {
// 饿百
// 淘宝闪购
if (this.$refs[ref].currentValue.length === 0) {
this.showmTCatError = true;
} else {
@@ -1514,7 +1514,7 @@ export default {
// this.showjdCatError = true
// return false
// }
// // 如果饿百分类未选择
// // 如果淘宝闪购分类未选择
// if (this.$refs.editoreBaiCategoryID.currentValue.length === 0) {
// this.showeBaiCatError = true
// return false
@@ -1547,7 +1547,7 @@ export default {
// jgCatID = this.$refs.editorjgCategoryID.currentValue;
// jgCatID = jgCatID[jgCatID.length - 1];
// }
// 保存饿百分类数组
// 保存淘宝闪购分类数组
let eBaiCatID = "";
if (
this.$refs.editoreBaiCategoryID &&

View File

@@ -271,7 +271,7 @@
</div>
<!-- 新京东显示 -->
<!-- 抖店商品后缀显示 -->
<div>饿百:upc-{{ item.id }}</div>
<div>淘宝闪购:upc-{{ item.id }}</div>
<div>: 未知 </div>
</div>
<el-button size="mini" slot="reference" class="tiny-btn tiny-btn2">平台信息</el-button>
@@ -1194,7 +1194,7 @@ export default {
jdSkuID1: sku.mapList && sku.mapList[0] && sku.mapList[0].vendorThingID,
jdSkuID2: sku.mapList && sku.mapList[1] && sku.mapList[1].vendorThingID,
skuNamePrice: skuName.price,
饿百条形码: "upc-" + sku.id,
淘宝闪购条形码: "upc-" + sku.id,
// ...jdCatJson,
Upc: skuName.Upc,
销售城市: this.comPlaces(skuName.places, skuName.isGlobal),

View File

@@ -149,8 +149,8 @@
<el-button type="danger" size="mini" icon="el-icon-delete" v-if="skuName.unit === '份'"
style="margin-left:10px;" @click="handleDeleteSku(item)"></el-button>
<div style="color: #777;margin-top:5px">
最少起购份数(美团饿百):
<el-input placeholder="最少起购份数(美团、饿百)" type="number" style="width: 160px;" v-model="item.minOrderCount"></el-input>
最少起购份数(美团淘宝闪购):
<el-input placeholder="最少起购份数(美团、淘宝闪购)" type="number" style="width: 160px;" v-model="item.minOrderCount"></el-input>
</div>
<div style="color: #777;">
商品名:
@@ -227,8 +227,8 @@
<el-tag type="danger">注意有卖点无时间将会一直展示</el-tag>
</el-form-item>
<!-- (饿百)准备时长 -->
<el-form-item label="(饿百)准备时长" prop="preparationTime">
<!-- (淘宝闪购)准备时长 -->
<el-form-item label="(淘宝闪购)准备时长" prop="preparationTime">
<el-input
style="width: 200px"
v-model.number="skuName.preparationTime"
@@ -298,8 +298,8 @@
</cateBind>
</el-form-item>
<!-- 饿百分类绑定 -->
<el-form-item label="饿百分类绑定">
<!-- 淘宝闪购分类绑定 -->
<el-form-item label="淘宝闪购分类绑定">
<cateBind
:type="'EB'"
@onChange="changeCategory"
@@ -397,9 +397,9 @@
</div>
</div>
</el-collapse-item>
<el-collapse-item title="饿百属性列表" name="3" v-show="(ebCategoryData && ebCategoryData.length>0)">
<el-collapse-item title="淘宝闪购属性列表" name="3" v-show="(ebCategoryData && ebCategoryData.length>0)">
<template slot="title">
<div class="attributeList-title">饿百属性列表</div>
<div class="attributeList-title">淘宝闪购属性列表</div>
</template>
<div class="separator " >
<div class="limitBorder">
@@ -658,7 +658,7 @@
<el-form-item
label="商品详情图"
prop="descImg">
宽度 750px图片不得大于1M (<span style="color:#f56c6c;">饿百美团需要到同步管理中同步商品后才能同步到平台</span>)
宽度 750px图片不得大于1M (<span style="color:#f56c6c;">淘宝闪购美团需要到同步管理中同步商品后才能同步到平台</span>)
<jx-upload-file
:listType="'picture-card'"
:imgType="['image/jpeg','image/png','image/gif']"
@@ -754,7 +754,7 @@ export default {
Upc:"", // UPC
price:0, // 商品价格
sellPoint:"", // 商品卖点
preparationTime:0, // 饿百准备时长
preparationTime:0, // 淘宝闪购准备时长
// jdsStockSwitch:1, // 京狗库存开关
places:[], // 城市
isGlobal: 0, // 是否全国
@@ -764,7 +764,7 @@ export default {
// jdsCategoryID:"", // 京狗分类绑定
mtwmCategoryID:"", // 美团分类绑定
ddCategoryID:"", // 抖店分类绑定
ebaiCategoryID:"", // 饿百分类绑定
ebaiCategoryID:"", // 淘宝闪购分类绑定
// bestSeller // 畅销品开关 更新
// img: "https://image.jxc4.com/image/ee83b797df391410fec48ff9d8a264db.jpg", // 图片,五张
img: "", // 图片,五张
@@ -911,7 +911,7 @@ export default {
}
if(reqSkuName.ebaiCategoryID) {
await this.getClass('EB') // 饿百
await this.getClass('EB') // 淘宝闪购
await this.changeCategory('EB',[reqSkuName.ebaiCategoryID])
if(reqSkuName.ebaiAttribute) this.categoryDataGet(reqSkuName.ebaiAttribute,'EB')
}
@@ -1567,7 +1567,7 @@ export default {
end_time : this.sellPointTimes[1] / 1000
}) : ""
data.preparationTime = +data.preparationTime // 饿百准备时长
data.preparationTime = +data.preparationTime // 淘宝闪购准备时长
// 处理资质信息
if(data.quaPictures.length){
@@ -1690,14 +1690,14 @@ export default {
}
}else if(type === 'EB'){
// result = {}
// // 饿百
// // 淘宝闪购
// if(this.ebCategoryData && this.ebCategoryData.length>0){
// this.ebCategoryData.forEach(item => {
// if((typeof item.selectedValue === 'string' && item.selectedValue.length>0) || typeof item.selectedValue === 'object') result[item.propertyId] = [{ value:item.selectedValue,name:item.propertyName }]
// })
// }
result = []
// 饿百
// 淘宝闪购
if(this.ebCategoryData && this.ebCategoryData.length>0){
this.ebCategoryData.forEach(item => {
if((typeof item.selectedValue === 'string' && item.selectedValue.length>0) || typeof item.selectedValue === 'object') {

View File

@@ -205,7 +205,7 @@ export default {
await store.dispatch('getCate',{vendorID:14,parentID:-1})
break
case 'EB':
// 饿百
// 淘宝闪购
if(this.eBCategoryData && this.eBCategoryData.length>0) return
await store.dispatch('getCate',{vendorID:3,parentID:-1})
break

View File

@@ -112,7 +112,7 @@ export default {
// 校验京东分类绑定是否填写
showjdCatError: false,
showjgCatError: false,
// 校验饿百分类绑定是否填写
// 校验淘宝闪购分类绑定是否填写
showeBaiCatError: false,
showmTCatError: false,
jxcategoriesArr: [],
@@ -293,7 +293,7 @@ export default {
this.showCatNameError = false;
}
},
// 校验京东饿百分类是否选择
// 校验京东淘宝闪购分类是否选择
// 更新分类
async updateCat() {
// 保存京东分类数组

View File

@@ -390,7 +390,7 @@ export default {
jdCategoryID: [], // ['20307', '20353', '20362'], // 京东分类的ID
// elmCategoryID: 0,
jgCategoryID: [],
ebaiCategoryID: [], // ['151301831158513', '151301831158514', '151301831158523'] // 饿百分类ID
ebaiCategoryID: [], // ['151301831158513', '151301831158514', '151301831158523'] // 淘宝闪购分类ID
mtwmCategoryID: [],
// jdID: 4714962, //
// jdSyncStatus: 0
@@ -464,7 +464,7 @@ export default {
// 校验京东分类绑定是否填写
showjdCatError: false,
showjgCatError: false,
// 校验饿百分类绑定是否填写
// 校验淘宝闪购分类绑定是否填写
showeBaiCatError: false,
showmTCatError: false,
jxcategoriesArr: [],
@@ -474,14 +474,14 @@ export default {
value: "vendorCategoryID",
label: "name",
},
eBaiCatData: [], // 饿百分类,一二三级已挂载
// 饿百分类规定字段
eBaiCatData: [], // 淘宝闪购分类,一二三级已挂载
// 淘宝闪购分类规定字段
eBaiCatProp: {
value: "vendorCategoryID",
label: "name",
},
mTCatData: [], // 美团分类,一二三级已挂载
// 饿百分类规定字段
// 淘宝闪购分类规定字段
mTCatProp: {
value: "vendorCategoryID",
label: "name",
@@ -610,10 +610,10 @@ export default {
// this.jgCatLevel2 = jGcat.filter((item) => item.level === 2);
// this.jgCatLevel3 = jGcat.filter((item) => item.level === 3);
// }
// 判断饿分类是否获取成功
// 判断淘宝闪购分类是否获取成功
if (!eBaicat) {
this.$message({
message: "[获取饿百分类列表失败] " + eBaicat.desc,
message: "[获取淘宝闪购分类列表失败] " + eBaicat.desc,
type: "warning",
center: true,
});
@@ -685,7 +685,7 @@ export default {
le1.children = level2;
});
this.jgCatData = jgCatData;
// 组合饿百分类
// 组合淘宝闪购分类
// 把三级挂载到二级上
let eBaiCatData = this.eBaiCatLevel1;
let temeBaiCat = this.eBaiCatLevel2;
@@ -1428,7 +1428,7 @@ export default {
this.showCatNameError = false;
}
},
// 校验京东饿百分类是否选择
// 校验京东淘宝闪购分类是否选择
// @change="checkCatPick('editorjdCategoryID')"
// @change="checkCatPick('editoreBaiCategoryID')"
checkCatPick(ref) {
@@ -1447,14 +1447,14 @@ export default {
// this.showjgCatError = false;
// }
} else if (ref === "editoreBaiCategoryID") {
// 饿百
// 淘宝闪购
if (this.$refs[ref].currentValue.length === 0) {
this.showeBaiCatError = true;
} else {
this.showeBaiCatError = false;
}
} else if (ref === "editoremTCategoryID") {
// 饿百
// 淘宝闪购
if (this.$refs[ref].currentValue.length === 0) {
this.showmTCatError = true;
} else {
@@ -1483,7 +1483,7 @@ export default {
// this.showjdCatError = true
// return false
// }
// // 如果饿百分类未选择
// // 如果淘宝闪购分类未选择
// if (this.$refs.editoreBaiCategoryID.currentValue.length === 0) {
// this.showeBaiCatError = true
// return false
@@ -1516,7 +1516,7 @@ export default {
// jgCatID = this.$refs.editorjgCategoryID.currentValue;
// jgCatID = jgCatID[jgCatID.length - 1];
// }
// 保存饿百分类数组
// 保存淘宝闪购分类数组
let eBaiCatID = "";
if (
this.$refs.editoreBaiCategoryID &&

View File

@@ -180,12 +180,12 @@ export default {
path: "/syncjdskunames",
},
{
name: "维护美团饿百商品",
name: "维护美团淘宝闪购商品",
path: "/syncamtebgoods",
// color: 'red'
},
{
name: "同步美团饿百分类",
name: "同步美团淘宝闪购分类",
path: "/synccats",
},
{

View File

@@ -117,7 +117,7 @@ export default {
keyword: "", // 关键字
waybillVendorID: "", // 配送方式
dateRange: [], // fromDate toDate
//vendorID: -1, // 0京东 1美团 2e了么 3饿百 11微盟微商城
//vendorID: -1, // 0京东 1美团 2e了么 3淘宝闪购 11微盟微商城
// storeIDs: [], // 京西门店ID列表[1,2,3]
skuIDs: [],
placeCode: "", // 城市

View File

@@ -114,7 +114,7 @@ export default {
jobIDs: "", // 关键字
waybillVendorID: "", // 配送方式
dateRange: [], // fromDate toDate
//vendorID: -1, // 0京东 1美团 2e了么 3饿百 11微盟微商城
//vendorID: -1, // 0京东 1美团 2e了么 3淘宝闪购 11微盟微商城
// storeIDs: [], // 京西门店ID列表[1,2,3]
skuIDs: [],
placeCode: "", // 城市

View File

@@ -363,7 +363,7 @@ export default {
keyword: "", // 关键字
waybillVendorID: "", // 配送方式
dateRange: [], // fromDate toDate
//vendorID: -1, // 0京东 1美团 2e了么 3饿百 11微盟微商城
//vendorID: -1, // 0京东 1美团 2e了么 3淘宝闪购 11微盟微商城
// storeIDs: [], // 京西门店ID列表[1,2,3]
skuIDs: [],
placeCode: "", // 城市

View File

@@ -195,7 +195,7 @@ export default {
keyword: "", // 关键字
waybillVendorID: "", // 配送方式
dateRange: [], // fromDate toDate
//vendorID: -1, // 0京东 1美团 2e了么 3饿百 11微盟微商城
//vendorID: -1, // 0京东 1美团 2e了么 3淘宝闪购 11微盟微商城
// storeIDs: [], // 京西门店ID列表[1,2,3]
skuIDs: [],
placeCode: "", // 城市

View File

@@ -1259,7 +1259,7 @@ export default {
if (data) {
this.filterAfsData = await this.handleFilterAfsOrder(data)
if (this.filterAfsData.length) {
// 部分售后商品(非全部售后) 平台结算取订单的totalShopMoney 饿百订单
// 部分售后商品(非全部售后) 平台结算取订单的totalShopMoney 淘宝闪购订单
// this.afsTotalShopMoney = this.order.vendorID === 3 ? this.order.totalShopMoney - data[0].afsTotalShopMoney : data[0].afsTotalShopMoney
// this.afsTotalShopMoney = this.order.vendorID === 3 ? this.order.totalShopMoney : data[0].afsTotalShopMoney
this.afsTotalShopMoney = this.order.totalShopMoney

View File

@@ -45,7 +45,7 @@
<el-option label="京东到家专送" :value="0"></el-option>
<el-option label="美团专送" :value="1"></el-option>
<!-- <el-option label="e了么专送" :value="2"></el-option> -->
<el-option label="饿百专送" :value="3"></el-option>
<el-option label="淘宝闪购专送" :value="3"></el-option>
<el-option label="达达配送" :value="101"></el-option>
<el-option label="美团配送" :value="102"></el-option>
<el-option label="三方配送" :value="101102103"></el-option>
@@ -103,7 +103,7 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item style="margin-left:10px;" label="饿百负责人:">
<el-form-item style="margin-left:10px;" label="淘宝闪购负责人:">
<el-select v-model="searchForm.ebaiPhone" clearable filterable placeholder="请选择平台负责人">
<el-option v-if="ebStore" v-for="(namePhone, index) in ebStore " :key="index" :label="namePhone[0]"
:value="namePhone[1]">
@@ -284,7 +284,7 @@
<span v-if="scope.row.vendorID === 0">{{ scope.row.operatorName }}</span>
<!-- 美团 -->
<span v-else-if="scope.row.vendorID === 1">{{ scope.row.operatorName2 }}</span>
<!-- 饿百 -->
<!-- 淘宝闪购 -->
<span v-else-if="scope.row.vendorID === 3">{{ scope.row.operatorName3 }}</span>
<!-- 其它 -->
<span v-else>{{ scope.row.operatorName }}</span>
@@ -687,7 +687,7 @@ export default {
marketManPhone: "", //"平台负责人"
jdPhone: "", //"京东负责人电话"
mtPhone: "", //"美团负责人电话"
ebaiPhone: "", //"饿百负责人电话"
ebaiPhone: "", //"淘宝闪购负责人电话"
vendorOrderID: "", // 订单号
jxIncomeBegin: null,
jxIncomeEnd: null,
@@ -695,7 +695,7 @@ export default {
waybillVendorID: "", // 平台配送
deliveryTypes: [], //配送方式
dateRange: [], // fromDate toDate
vendorID: -1, // 0京东 1美团 2e了么 3饿百 11微盟微商城
vendorID: -1, // 0京东 1美团 2e了么 3淘宝闪购 11微盟微商城
storeIDs: [], // 京西门店ID列表[1,2,3]
skuIDs: [],
placeCode: "", // 城市
@@ -1671,9 +1671,9 @@ export default {
"美团id",
"美团运营",
"美团运营电话",
"饿百id",
"饿百运营",
"饿百运营电话",
"淘宝闪购id",
"淘宝闪购运营",
"淘宝闪购运营电话",
]);
// body
data.forEach(async (item, index) => {
@@ -1872,8 +1872,8 @@ export default {
item.vendorID === '美团外卖' ? item.vendorStoreID : '',
item.operatorName2,
item.operatorPhone2,
// 饿百id
item.vendorID === '饿百新零售' ? item.vendorStoreID : '',
// 淘宝闪购id
item.vendorID === '淘宝闪购新零售' ? item.vendorStoreID : '',
item.operatorName3,
item.operatorPhone3,
]);

View File

@@ -61,7 +61,7 @@
<el-option :value="-1" label="全部"></el-option>
<el-option :value="0" label="京东"></el-option>
<el-option :value="1" label="美团"></el-option>
<el-option :value="3" label="饿百"></el-option>
<el-option :value="3" label="淘宝闪购"></el-option>
</el-select>
<StoresPick
ref="storesPick"

View File

@@ -45,7 +45,7 @@
>
<!-- <el-radio-button :label="0" :disabled="vendorIDs2 !==0">京东</el-radio-button>
<el-radio-button :label="1" :disabled="vendorIDs2 !==1">美团</el-radio-button>
<el-radio-button :label="3" :disabled="vendorIDs2 !==3">饿百</el-radio-button> -->
<el-radio-button :label="3" :disabled="vendorIDs2 !==3">淘宝闪购</el-radio-button> -->
<el-radio-button
v-for="item in ConVendorName"
:label="item.vendorID"

View File

@@ -221,7 +221,7 @@
type="primary"
size="mini"
@click="reloadPlatfrom('3')"
>刷新饿百平台活动</el-button>
>刷新淘宝闪购平台活动</el-button>
<!-- 活动折扣 -->
<br />
<!-- 门店检索 prop="storeIDs"storeList -->
@@ -882,7 +882,7 @@ export default {
{},
{
key: "ebaiSyncStatus",
name: "饿百",
name: "淘宝闪购",
},
{},
{},
@@ -1822,7 +1822,7 @@ export default {
}
},
/**
* 刷新平台活动 美团 / 饿百
* 刷新平台活动 美团 / 淘宝闪购
*/
async reloadPlatfrom(v){
try{

View File

@@ -59,7 +59,7 @@
<div class="group-item">
<span class="title">活动规则:</span>
<span class="content" v-if="item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.saleRule">
<span>活动商品原价最低{{ item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.saleRule.saleRange.minPrice |toFixed2}}元起,商品折后价{{item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.saleRule.saleRange.minPrice |toFixed2}}~{{item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.saleRule.saleRange.maxPrice |toFixed2}},活动折扣优惠价/原价不可低于{{item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.saleRule.saleRange.minDiscount }},<span>{{item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.saleRule.saleRange.elemeSubsidy>0?'每件商品饿了么补贴'+item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.saleRule.saleRange.elemeSubsidy/100+'元':'饿了么无补贴.'}}</span><br></span>
<span>活动商品原价最低{{ item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.saleRule.saleRange.minPrice |toFixed2}}元起,商品折后价{{item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.saleRule.saleRange.minPrice |toFixed2}}~{{item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.saleRule.saleRange.maxPrice |toFixed2}},活动折扣优惠价/原价不可低于{{item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.saleRule.saleRange.minDiscount }},<span>{{item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.saleRule.saleRange.elemeSubsidy>0?'每件商品淘宝闪购补贴'+item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.saleRule.saleRange.elemeSubsidy/100+'元':'淘宝闪购无补贴.'}}</span><br></span>
<span>{{userScope[item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.userScope]}}可享受此活动<br></span>
<span v-if="item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.userLimit.dayLimit">每人每天限购{{item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.userLimit.dayLimit.value}}<br></span>
<span v-if="item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.userLimit.totalLimit">每人活动期间限购{{item.GetSubActivityDetailResult.activity.marketPlay.instance.fields.userLimit.totalLimit.value}}<br></span>

View File

@@ -1,7 +1,7 @@
<template>
<div class="sync-store baselayout">
<div>
<h2 style="color: #606266;">同步<span style="color: #E6A23C;">美团饿百分类</span>
<h2 style="color: #606266;">同步<span style="color: #E6A23C;">美团淘宝闪购分类</span>
<div class="tool-tip">
<el-button type="primary" size="mini" @click="downloadExcel">下载样表</el-button>
<!-- <el-button type="success" size="mini" @click="importExcel">导入表格</el-button> -->
@@ -22,7 +22,7 @@
<!-- 说明列表 -->
<ul style="color: #606266">
<li>
仅用于美团饿百当改变京西分类名称时使用该功能进行分类同步
仅用于美团淘宝闪购当改变京西分类名称时使用该功能进行分类同步
</li>
<li>
强制更新: 强制以京西数据同步如非必要请勿勾选

View File

@@ -36,7 +36,7 @@
<el-checkbox-group v-model="searchForm.vendorIDs">
<el-checkbox :label="0">京东</el-checkbox>
<el-checkbox :label="2">e了么</el-checkbox>
<el-checkbox :label="3">饿百</el-checkbox>
<el-checkbox :label="3">淘宝闪购</el-checkbox>
</el-checkbox-group>
</el-form-item> -->
<!-- 同步平台 -->

View File

@@ -31,7 +31,7 @@
<el-checkbox-group v-model="vendorIDs" :min="1">
<el-checkbox :label="0">京东</el-checkbox>
<el-checkbox :label="2">e了么</el-checkbox>
<el-checkbox :label="3">饿百</el-checkbox>
<el-checkbox :label="3">淘宝闪购</el-checkbox>
</el-checkbox-group>
</el-form-item> -->
<!-- 同步平台 -->

View File

@@ -58,7 +58,7 @@
</el-form-item>
<el-form-item label="平台价:">
<el-tag size="mini" type="info">美团:{{(currentPromotionSku.mtwmPrice/100).toFixed(2) }}</el-tag>
<el-tag size="mini" type="info">饿百:{{(currentPromotionSku.ebaiPrice/100).toFixed(2) }}</el-tag>
<el-tag size="mini" type="info">淘宝闪购:{{(currentPromotionSku.ebaiPrice/100).toFixed(2) }}</el-tag>
<el-tag size="mini" type="info">京东:{{(currentPromotionSku.jdsPrice/100).toFixed(2) }}</el-tag>
</el-form-item>
<!-- 活动类型 -->

View File

@@ -715,7 +715,7 @@
v-if="!isNewPriceDisplay"
style="border-top: 1px solid #ccc; margin: 10px 0"
></div>
<div v-if="!isNewPriceDisplay">饿百:upc-{{ item.id }}</div>
<div v-if="!isNewPriceDisplay">淘宝闪购:upc-{{ item.id }}</div>
<div style="border-top: 1px solid #ccc; margin: 10px 0"></div>
<div v-for="(val, key) in vendorMap" :key="key">
{{ val[0] }}: {{ item[val[1]] }}
@@ -2311,8 +2311,8 @@ export default {
json["商品名称"] = skuName.name;
json["sku后缀名"] = sku.comment;
json["京西分类"] = catName.join(",");
json["饿百skuID"] = sku.ebaiID;
json["饿百同步状态"] = sku.ebaiSyncStatus;
json["淘宝闪购skuID"] = sku.ebaiID;
json["淘宝闪购同步状态"] = sku.ebaiSyncStatus;
json["京东skuID"] = sku.jdID;
json["京东同步状态"] = sku.jdSyncStatus;
json["美团skuID"] = sku.mtwmID;
@@ -2326,7 +2326,7 @@ export default {
json["京西平台价(单位:分)"] = sku.jxPrice;
json["京东平台价(单位:分)"] = sku.jdPrice;
json["美团平台价(单位:分)"] = sku.mtwmPrice;
json["饿百平台价(单位:分)"] = sku.ebaiPrice;
json["淘宝闪购平台价(单位:分)"] = sku.ebaiPrice;
json["抖店平台价(单位:分)"] = sku.ybPrice;
// json["京狗平台价(单位:分)"] = sku.jdsPrice;
json["规格数值"] = sku.specQuality;
@@ -2337,7 +2337,7 @@ export default {
json["最后操作人"] = sku.lastOperator;
json["京东同步标识"] = this.dealSyncStatus(sku.jdSyncStatus);
json["美团同步标识"] = this.dealSyncStatus(sku.mtwmSyncStatus);
json["饿百同步标识"] = this.dealSyncStatus(sku.ebaiSyncStatus);
json["淘宝闪购同步标识"] = this.dealSyncStatus(sku.ebaiSyncStatus);
json["Upc"] = skuName.Upc;
excelData.push(json);
});

View File

@@ -96,7 +96,7 @@ export default {
'配送竞争': '1',
'调价比例': '100',
'同步状态': '1',
'调价套餐': '饿了么调价策略7.1'
'调价套餐': '淘宝闪购调价策略7.1'
})
json2Excel(arr, '批量绑定京西平台样表')
},

View File

@@ -102,8 +102,8 @@ export default {
京东负责人角色组: "operatorRole",
美团负责人电话: "operatorPhone2",
美团负责人角色组: "operatorRole2",
饿百负责人电话: "operatorPhone3",
饿百负责人角色组: "operatorRole3",
淘宝闪购负责人电话: "operatorPhone3",
淘宝闪购负责人角色组: "operatorRole3",
门店结算比例: "payPercentage",
"门店营业状态(1营业,0临时休息,-1休息,-2禁用)": "status",
门店公告: "promoteInfo",
@@ -126,8 +126,8 @@ export default {
京东负责人角色组: "角色的key",
美团负责人电话: "1301234567890",
美团负责人角色组: "角色的key",
饿百负责人电话: "1301234567890",
饿百负责人角色组: "角色的key",
淘宝闪购负责人电话: "1301234567890",
淘宝闪购负责人角色组: "角色的key",
门店结算比例: "20",
"门店营业状态(1营业,0临时休息,-1休息,-2禁用)": "1",
门店公告: "出餐及售后问题请联系{phone}",

View File

@@ -72,7 +72,7 @@ export default {
methods: {
// 删除
deleteBindStore () {
let vendorName = this.$store.state.serverInfo.vendorName // ['京东到家', '美团', '饿了么', '饿百', '微盟新商城']
let vendorName = this.$store.state.serverInfo.vendorName // ['京东到家', '美团', '淘宝闪购', '淘宝闪购', '微盟新商城']
// 找到平台
let vendor = this.vendorID
let vendorStoreID = this.storeMap.vendorStoreID

View File

@@ -101,14 +101,14 @@
<el-button v-else type="danger" size="mini" @click="delRole('yunying2')">删除角色组</el-button>
</el-form-item>
<br>
<!-- 饿百负责人3 -->
<el-form-item label="饿百负责人:">
<!-- 淘宝闪购负责人3 -->
<el-form-item label="淘宝闪购负责人:">
<span style="color: #666;">{{storeInfo.operatorName3}} {{storeInfo.operatorPhone3}}</span>
<el-button v-if="!storeInfo.operatorPhone3" type="primary" size="mini" @click="pickUser('operatorName3', 'operatorPhone3')">选择用户</el-button>
<el-button v-else type="danger" size="mini" @click="delUser('operatorName3', 'operatorPhone3')">删除用户</el-button>
</el-form-item>
<br>
<el-form-item label="饿百负责角色组:">
<el-form-item label="淘宝闪购负责角色组:">
<SearchFromRole v-if="storeInfo.operatorRole3" :role="{key: storeInfo.operatorRole3}" :btnName="storeInfo.operatorRole3"></SearchFromRole>
<span style="color: #999;" v-if="operatorRole3Name">{{operatorRole3Name}}</span>
<el-button v-if="!storeInfo.operatorRole3" type="primary" size="mini" @click="pickRole('yunying3')">选择角色组</el-button>

View File

@@ -694,13 +694,13 @@
<el-button v-else type="danger" size="mini" @click="delUser('operatorName2', 'operatorPhone2')">删除用户</el-button>
</el-form-item>
<br>
<el-form-item label="饿百负责人:">
<el-form-item label="淘宝闪购负责人:">
<span style="color: #666;">{{storeInfo.operatorName3}} {{storeInfo.operatorPhone3}}</span>
<el-button v-if="!storeInfo.operatorPhone3" type="primary" size="mini" @click="pickUser('operatorName3', 'operatorPhone3')">选择用户</el-button>
<el-button v-else type="danger" size="mini" @click="delUser('operatorName3', 'operatorPhone3')">删除用户</el-button>
</el-form-item>
<br>
<el-form-item label="饿百负责角色组:">
<el-form-item label="淘宝闪购负责角色组:">
<SearchFromRole v-if="storeInfo.operatorRole3" :role="{key: storeInfo.operatorRole3}" :btnName="storeInfo.operatorRole3"></SearchFromRole>
<span style="color: #999;" v-if="operatorRole3Name">{{operatorRole3Name}}</span>
<el-button v-if="!storeInfo.operatorRole3" type="primary" size="mini" @click="pickRole('yunying3')">选择角色组</el-button>
@@ -1735,9 +1735,9 @@ export default {
case '1':
return '【美团】'
case '2':
return '【饿了么】'
return '【淘宝闪购】'
case '3':
return '【饿百】'
return '【淘宝闪购】'
default:
return '【未知店铺】'
}

View File

@@ -757,11 +757,11 @@
v-if="vendorQuery.vendorID === 3"
>
<el-select v-model="createEbaiForm.supplierID" placeholder="请选择">
<!-- 果园只用饿百果园一个供应商 -->
<!-- 果园只用淘宝闪购果园一个供应商 -->
<el-option
v-for="(item, key, index) in serverInfo.ebaiSupplierID"
:key="item.index"
:disabled="item !== '饿百果园' && !isNewPriceDisplay"
:disabled="item !== '淘宝闪购果园' && !isNewPriceDisplay"
:label="item"
:value="key"
>
@@ -976,7 +976,7 @@
type="primary"
v-if="vendorQuery.vendorID === 3"
@click="createStoreVisible = true"
>饿百建店</el-button
>淘宝闪购建店</el-button
>
<el-button
size="mini"
@@ -1502,7 +1502,7 @@ export default {
'&orgCode=' +
orgCode, //jddj
1: `https://h5.waimai.meituan.com/waimai/mindex/menu?mtShopId=${storeID}`, //美团
3: `https://h5.ele.me/newretail/p/shop/?&id=${storeID}`, //饿了么
3: `https://h5.ele.me/newretail/p/shop/?&id=${storeID}`, //淘宝闪购
5: `https://mini-app-static.jd.com/apps/mpshare/index.html?category=jump&des=jdmp&vapptype=1&appId=10569615&param={"storeId":"${storeID}","source":"qrcode","skuId":""}`
}
if (document.getElementById('qrcode')) {

View File

@@ -11,7 +11,7 @@
<el-select v-model="vendorID">
<el-option :value="0" label="京东"></el-option>
<el-option :value="1" label="美团"></el-option>
<el-option :value="3" label="饿百"></el-option>
<el-option :value="3" label="淘宝闪购"></el-option>
</el-select>
</el-form-item>
<el-form-item>

View File

@@ -24,7 +24,7 @@
></el-option>
<el-option
:value="3"
label="饿百"
label="淘宝闪购"
></el-option>
<!-- <el-option
:value="16"

View File

@@ -11,7 +11,7 @@
<el-select v-model="vendorID">
<el-option :value="0" label="京东"></el-option>
<!-- <el-option :value="1" label="美团"></el-option>
<el-option :value="3" label="饿百"></el-option> -->
<el-option :value="3" label="淘宝闪购"></el-option> -->
</el-select>
</el-form-item>
<el-form-item :label="'免运包(' + key + '):'" v-for="(val, key) in packJson" :key="key">

View File

@@ -39,7 +39,7 @@ export default {
'京东',
'美团',
// 'e了么',
'饿百',
'淘宝闪购',
'微盟微商城'
],
vendorStoreId: '', // 平台门店ID

View File

@@ -113,7 +113,7 @@
</el-select>
</div> -->
<div style="margin: 3px 0">
<span>饿&emsp;:</span>
<span>&emsp;:</span>
<el-select
v-model="searchForm.vendorStoreConds['3']"
style="width: 120px"
@@ -345,7 +345,7 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item style="margin-left: 10px" label="饿百负责人:">
<el-form-item style="margin-left: 10px" label="淘宝闪购负责人:">
<el-select
v-model="searchForm.ebaiPhone"
clearable
@@ -745,7 +745,7 @@
"
></el-button>
</div>
<!-- 饿百 -->
<!-- 淘宝闪购 -->
<div style="width: 50%">
<span
:class="{
@@ -1536,7 +1536,7 @@ export default {
0: '0', // 京东不限定
1: '0', // 美团不限定
2: '0', // e了么不限定
3: '0', // 饿百
3: '0', // 淘宝闪购
4: '0',
5: '0',
9: '0', // 京西
@@ -1688,7 +1688,7 @@ export default {
// }
// if (findIemEB) {
// console.log(findIemEB,'----------饿百')
// console.log(findIemEB,'----------淘宝闪购')
// arr.push({
// vendorStoreID: findIemEB.vendorStoreID,
// vendorID: "3",
@@ -1707,7 +1707,7 @@ export default {
// if (res.data.code === '0') {
// if(res.data.data !== "{}") {
// let fmtUserList =findIemMT? JSON.parse(res.data.data)[`${findIemMT.vendorOrgCode}:${findIemMT.vendorStoreID}:1`] || []:[] // 美团
// let febUserList =findIemEB? JSON.parse(res.data.data)[`${findIemEB.vendorOrgCode}:${findIemEB.vendorStoreID}:3`] || []:[] // 饿百
// let febUserList =findIemEB? JSON.parse(res.data.data)[`${findIemEB.vendorOrgCode}:${findIemEB.vendorStoreID}:3`] || []:[] // 淘宝闪购
// // 美团
// if (fmtUserList && fmtUserList.length > 0) {
@@ -1754,7 +1754,7 @@ export default {
// })
// }
// // 饿百
// // 淘宝闪购
// if (febUserList && febUserList.length > 0) {
// chatRecod[`百${findIemEB.vendorStoreID}`] = {}
// febUserList.forEach(async (i) => {
@@ -1817,7 +1817,7 @@ export default {
// // console.log('获取聊天详情数据',newArrEB)
// }
// }).catch((e) => {
// // console.log('获取聊天详情失败,饿百',e)
// // console.log('获取聊天详情失败,淘宝闪购',e)
// })
// })
// }
@@ -1849,7 +1849,7 @@ export default {
0: '0', // 京东不限定
1: '0', // 美团不限定
2: '0', // e了么不限定
3: '0', // 饿百
3: '0', // 淘宝闪购
9: '0', // 京西商城
11: '0',
14: '0',
@@ -2101,7 +2101,7 @@ export default {
},
// 删除平台门店映射
deleteBindStore(item, vendorID) {
let vendorName = ['京东到家', '美团', '饿了么', '饿百', '抖店']
let vendorName = ['京东到家', '美团', '淘宝闪购', '淘宝闪购', '抖店']
vendorName[9] = '京西商城'
vendorName[14] = '抖店'
// vendorName[16] = '淘鲜达'
@@ -2496,7 +2496,7 @@ export default {
'平台负责人角色组',
'京东负责人角色组',
'美团负责人角色组',
'饿百负责人角色组',
'淘宝闪购负责人角色组',
'京东门店编号',
'京东门店名称',
'京东门店状态',
@@ -2507,10 +2507,10 @@ export default {
'美团门店名称',
'美团门店状态',
'美团调价套餐',
'饿百门店编号',
'饿百门店名称',
'饿百门店状态',
'饿百调价套餐',
'淘宝闪购门店编号',
'淘宝闪购门店名称',
'淘宝闪购门店状态',
'淘宝闪购调价套餐',
'抖店门店编号',
'抖店门店名称',
'抖店门店状态',
@@ -2537,8 +2537,8 @@ export default {
'京东负责人电话',
'美团负责人姓名',
'美团负责人电话',
'饿百负责人姓名',
'饿百负责人电话',
'淘宝闪购负责人姓名',
'淘宝闪购负责人电话',
'门店结算比例',
'门店公告',
'门店备注',
@@ -2547,7 +2547,7 @@ export default {
'禁止购买物料',
'京东上线状态',
'美团上线状态',
'饿百上线状态',
'淘宝闪购上线状态',
// '京狗上线状态'
]
// 销量

View File

@@ -245,10 +245,10 @@
<div style="border-top: 1px solid #DCDFE6;"></div>
<!-- 关联京东 -->
<br>
<!-- 关联饿百 -->
<!-- 关联淘宝闪购 -->
<el-form :model="StoreVendorMaps.ebai" :rules="rules" ref="StoreVendorMapsEBAI" label-position="right"
:inline="true" size="small" label-width="130px">
<el-form-item label="关联饿百门店:" prop="">
<el-form-item label="关联淘宝闪购门店:" prop="">
<el-input v-model="StoreVendorMaps.ebai.vendorStoreID" style="width: 200px;" disabled ref="ebai">
<el-button slot="append" class="bind-btn" type="primar" v-if="!StoreVendorMaps.ebai.vendorStoreID"
@click="addBindStore(storeItem.id, 3)">关联</el-button>
@@ -290,7 +290,7 @@
</el-form-item>
</span>
</el-form>
<!-- 关联饿百 -->
<!-- 关联淘宝闪购 -->
<div style="border-top: 1px solid #DCDFE6;"></div>
<br>
<!-- 关联美团 -->
@@ -1645,9 +1645,9 @@ export default {
case '1':
return '【美团】'
case '2':
return '【饿了么】'
return '【淘宝闪购】'
case '3':
return '【饿百】'
return '【淘宝闪购】'
case '14':
return '【抖店】'
case '16':

View File

@@ -365,7 +365,7 @@ export default {
let jdStoreArr = res4.filter(item => item.code === 5)
this.$store.commit('SET_ALLPLATEARR', res4) //全部的平台
this.$store.commit('SET_JDVENDOR', jdArr) //京东
this.$store.commit('SET_EBVENDOR', ebArr) //饿百
this.$store.commit('SET_EBVENDOR', ebArr) //淘宝闪购
this.$store.commit('SET_MTVENDOR', MTArr) //美团
this.$store.commit('SET_JDSTOREVENDOR', jdStoreArr) //京东商城
this.$store.commit('save_vendorOrgCode', res3)

View File

@@ -46,7 +46,7 @@
>
<el-checkbox :label="0">京东</el-checkbox>
<el-checkbox :label="1">美团</el-checkbox>
<el-checkbox :label="3">饿百</el-checkbox>
<el-checkbox :label="3">淘宝闪购</el-checkbox>
</el-checkbox-group> -->
</div>
@@ -179,7 +179,7 @@
<el-radio-group v-model="actInfo.vendorID">
<el-radio :label="0">京东</el-radio>
<el-radio :label="1">美团</el-radio>
<el-radio :label="3">饿百</el-radio>
<el-radio :label="3">淘宝闪购</el-radio>
</el-radio-group>
</div>
<div style="position:relative;">

View File

@@ -54,7 +54,7 @@
</div>
<div :style="{
color:chatObj['eb'][0].imDetail[0].imStatus? '':'#909399'
}">饿百</div>
}">淘宝闪购</div>
</el-tooltip>
<span>聊天</span>
</div>
@@ -83,7 +83,7 @@
<div class="userInfo">
<div class="userName">
<div v-if="item.vendorID === 1">{{item.userID !== '0' ? `美团${item.orderDesc}${item.userID}`:'美团群发消息' }}</div>
<div v-else>{{ `饿了么${item.userID}` }}</div>
<div v-else>{{ `淘宝闪购${item.userID}` }}</div>
<div>{{ item.latestTime }}</div>
</div>
<div class="textMessage">{{item.latestMsg}}</div>
@@ -291,7 +291,7 @@ export default {
if(!this.isCloudMt && !this.isCloudMt) {
return this.$message({
message: `该门店未绑定美团/饿百`,
message: `该门店未绑定美团/淘宝闪购`,
type: 'warning',
center: true,
})
@@ -409,9 +409,9 @@ export default {
this.mtUserList(fmtUserList,this.chatObj['mt'][0].vendorOrgCode) // 解密消息
}
// 饿百
// 淘宝闪购
if(this.isCloudEb){
febUserList = this.chatObj['eb'].length ? res[`${this.chatObj['eb'][0].vendorOrgCode}:${ this.chatObj['eb'][0].vendorStoreID}:3`] || [] : [] // 饿百
febUserList = this.chatObj['eb'].length ? res[`${this.chatObj['eb'][0].vendorOrgCode}:${ this.chatObj['eb'][0].vendorStoreID}:3`] || [] : [] // 淘宝闪购
this.getEbUserList(febUserList)
}
this.isShowConnect = false
@@ -425,9 +425,9 @@ export default {
}
hideLoad()
},
// 获取饿百列表
// 获取淘宝闪购列表
getEbUserList(reverseListEb){
// 饿百
// 淘宝闪购
reverseListEb.map((element) => {
let resData = JSON.parse(element)
let findIndex = this.allUserList.findIndex(item => item.payLoad.groupId === resData.payLoad.groupId)
@@ -439,7 +439,7 @@ export default {
latestMsgHandler = findItem && findItem.length > 0 ? JSON.parse(findItem[0].elementContent).text.replace('@商家', '') : latestMsgHandler
}
//
// 饿百参考文档https://open-retail.ele.me/#/apidoc/me.ele.retail:im.message.send-3?aopApiCategory=IM_all&type=api_menu resData.userID != 0 && isAddUserLiset
// 淘宝闪购参考文档https://open-retail.ele.me/#/apidoc/me.ele.retail:im.message.send-3?aopApiCategory=IM_all&type=api_menu resData.userID != 0 && isAddUserLiset
let userList = {
...resData,
latestMsg: latestMsgHandler,

View File

@@ -81,18 +81,18 @@ export const msgInfo = {
// M/whRohCtpsVTviiMAK8hQ==
}
// 饿百用户列表
// 淘宝闪购用户列表
// code: "0"
// data: "{"34665:1157916361:3":["{\"vendorID\":3,\"userID\":\"$2$13205337818$PNM\",\"orderID\":\"\",\"NewMessageNum\":1,\"latestMsg\":\"{\\\"extensions\\\":{\\\"appName\\\":\\\"ELEME\\\",\\\"industryType\\\":\\\"NEW_RETAIL\\\",\\\"current_msg_source\\\":\\\"ELEME\\\",\\\"imsdk_role_name\\\":\\\"顾客\\\",\\\"imsdk_self_show_name\\\":\\\"45d46975e\\\",\\\"imsdk_other_show_name\\\":\\\"45d46975e\\\"},\\\"text\\\":\\\"[微笑]\\\"}\",\"latestTime\":1698303946914}"],"5873:18003191:1":["{\"vendorID\":1,\"userID\":\"9533643193\",\"orderID\":\"\",\"NewMessageNum\":0,\"latestMsg\":\"dTZiwxiOJI5b5zwb1/uCwcCxh3F9MrZtyR+ojZoql4wtzgMh/gzuGRffhgWQd4Sz\",\"latestTime\":1698295674}","{\"vendorID\":1,\"userID\":\"12169240445\",\"orderID\":\"1100782041270894459\",\"NewMessageNum\":0,\"latestMsg\":\"ZiiFa7hQp0BV60OuBKPExiN6IN7fRkjzmcVpaA+kQoQ=\",\"latestTime\":1698295257}","{\"vendorID\":1,\"userID\":\"10892282642\",\"orderID\":\"1100782384203287879\",\"NewMessageNum\":0,\"latestMsg\":\"K/qIurzlbi2B7zv65/mCQg==\",\"latestTime\":1698295422}","{\"vendorID\":1,\"userID\":\"11009807262\",\"orderID\":\"\",\"NewMessageNum\":0,\"latestMsg\":\"+tFz6s6u+O8Ndpc2dwP4HA==\",\"latestTime\":1698297046}","{\"vendorID\":1,\"userID\":\"11436731575\",\"orderID\":\"\",\"NewMessageNum\":0,\"latestMsg\":\"iMqYgHLYMjKY3JoSMG9YLQ==\",\"latestTime\":1698295279}","{\"vendorID\":1,\"userID\":\"9167982931\",\"orderID\":\"\",\"NewMessageNum\":0,\"latestMsg\":\"R4cR7u9LPax/LDKqVHWVLw==\",\"latestTime\":1698300481}","{\"vendorID\":1,\"userID\":\"11432640354\",\"orderID\":\"\",\"NewMessageNum\":0,\"latestMsg\":\"QY5plA6VHEKS7GqXV4jJElsh0x90ftjPFGGoZjX4M/84LQn7ucu0ZeruelSd/VmmZ0OD966b6g5+0ZrgsLBIZiDo2sEOk8a02UUwNt60FPKZEhaCURWvYjCBqDJA8laH\",\"latestTime\":1698304171}","{\"vendorID\":1,\"userID\":\"10946780381\",\"orderID\":\"1100782881905266609\",\"NewMessageNum\":1,\"latestMsg\":\"dtj7qIlXCPm1ZWUjwfEPc65cnsG57UYatDG6g/kYjYU+CSzeFNPE1THgv2cHUB0QhpNo6jEnCDc0Vte2V5h14J7NJ5Zbaprfysx+gLRua68o2Pp4pF0LDSMLQ+7pGh/GRDjdfYYS4qFqU17eBbT82x1LjsuY1HWe8Z2znWyo43nEcLbtPFU09HwXFgxOQLBhF4As08Inc7bvN6BPR8F46QtQR52+PvxiWdsDRV54/F2CqxuoFR3up6wKmxvyzDWyEAgFI8Ym7zqItVBfG8HtEXTezY3gCjtpK0qRoYJqJ+dIuQewnDXbbxyqu/JvXSdiLYVRdrZgY9UI1hBDQU4zN6XI2u/w8tzk3a6mSrTCfUyaB0xr5/bwLYfgwV4WDw0EaLQEr2R0OmMerlRMheR3A+GMYVxl+BcYx0fUrKuH7Fs1TNSRCS4ug4iMr/GoTv76J8jl1b2ihrFDPiVQRxPdSw==\",\"latestTime\":1698308642}"]}"
// desc: ""
// $2$13205337818$PNM
// 饿百聊天详情
// 淘宝闪购聊天详情
// code: "0"
// data: "{"34665:1157916361:3:$2$13205337818$PNM":["{\"sendType\":\"elm\",\"msgContent\":{\"subBizType\":\"SEND_MESSAGE\",\"bizType\":\"IM\",\"payLoad\":{\"senderId\":\"10154538612\",\"receiverIds\":[\"301157916361\",\"10154538612\",\"321921188187760\"],\"createTime\":1698303833173,\"groupId\":\"$2$13205337818$PNM\",\"msgId\":\"1997094742949.PNM\",\"contentType\":8,\"content\":\"{\\\"elements\\\":[{\\\"elementContent\\\":\\\"{\\\\\\\"atAll\\\\\\\":false,\\\\\\\"defaultNick\\\\\\\":\\\\\\\"商家\\\\\\\",\\\\\\\"uid\\\\\\\":{\\\\\\\"appUid\\\\\\\":\\\\\\\"301157916361\\\\\\\",\\\\\\\"domain\\\\\\\":\\\\\\\"eleme\\\\\\\"}}\\\",\\\"elementType\\\":3},{\\\"elementContent\\\":\\\"{\\\\\\\"extensions\\\\\\\":{\\\\\\\"imsdk_self_show_name\\\\\\\":\\\\\\\"45d46975e\\\\\\\",\\\\\\\"appName\\\\\\\":\\\\\\\"ELEME\\\\\\\",\\\\\\\"imsdk_role_name\\\\\\\":\\\\\\\"顾客\\\\\\\",\\\\\\\"imsdk_other_show_name\\\\\\\":\\\\\\\"45d46975e\\\\\\\",\\\\\\\"industryType\\\\\\\":\\\\\\\"NEW_RETAIL\\\\\\\",\\\\\\\"current_msg_source\\\\\\\":\\\\\\\"ELEME\\\\\\\"},\\\\\\\"text\\\\\\\":\\\\\\\"您好,请问我的订单还要多久送达?\\\\\\\"}\\\",\\\"elementType\\\":1}]}\"},\"platformShopId\":\"1157916361\"}}","{\"sendType\":\"elm\",\"msgContent\":{\"subBizType\":\"SEND_MESSAGE\",\"bizType\":\"IM\",\"payLoad\":{\"senderId\":\"10154538612\",\"receiverIds\":[\"301157916361\",\"10154538612\",\"321921188187760\"],\"createTime\":1698303918483,\"groupId\":\"$2$13205337818$PNM\",\"msgId\":\"1996910978679.PNM\",\"contentType\":1,\"content\":\"{\\\"extensions\\\":{\\\"industryType\\\":\\\"NEW_RETAIL\\\",\\\"imsdk_other_show_name\\\":\\\"45d46975e\\\",\\\"imsdk_role_name\\\":\\\"顾客\\\",\\\"imsdk_self_show_name\\\":\\\"45d46975e\\\",\\\"appName\\\":\\\"ELEME\\\",\\\"current_msg_source\\\":\\\"ELEME\\\"},\\\"text\\\":\\\"您好\\\"}\"},\"platformShopId\":\"1157916361\"}}","{\"sendType\":\"elm\",\"msgContent\":{\"subBizType\":\"SEND_MESSAGE\",\"bizType\":\"IM\",\"payLoad\":{\"senderId\":\"10154538612\",\"receiverIds\":[\"301157916361\",\"10154538612\",\"321921188187760\"],\"createTime\":1698303946914,\"groupId\":\"$2$13205337818$PNM\",\"msgId\":\"1991934371357.PNM\",\"contentType\":1,\"content\":\"{\\\"extensions\\\":{\\\"appName\\\":\\\"ELEME\\\",\\\"industryType\\\":\\\"NEW_RETAIL\\\",\\\"current_msg_source\\\":\\\"ELEME\\\",\\\"imsdk_role_name\\\":\\\"顾客\\\",\\\"imsdk_self_show_name\\\":\\\"45d46975e\\\",\\\"imsdk_other_show_name\\\":\\\"45d46975e\\\"},\\\"text\\\":\\\"[微笑]\\\"}\"},\"platformShopId\":\"1157916361\"}}"]}"
// desc: ""
// 饿百用户发送消息时
// 淘宝闪购用户发送消息时
// 模拟客户发消息
// let msg1 = JSON.stringify({
// sendType: 'elm',
@@ -122,7 +122,7 @@ export const msgInfo = {
// })
// 饿百,需测试优化
// 淘宝闪购,需测试优化
// 聊天列表
// code: "0"
// data: "{"34665:32267630646:3:$2$21107997212$PNM":["{\"sendType\":\"elm\",\"msgContent\":{\"subBizType\":\"SEND_MESSAGE\",\"bizType\":\"IM\",\"payLoad\":{\"senderId\":\"20115813777\",\"receiverIds\":[\"10494269706\",\"20115813777\",\"302036272194\",\"322233065879\"],\"createTime\":1715677161257,\"groupId\":\"$2$21107997212$PNM\",\"msgId\":\"2902868590187.PNM\",\"contentType\":\"101\",\"content\":\"{\\\"data\\\":\\\"{\\\\\\\"mistTemplate\\\\\\\":{\\\\\\\"error\\\\\\\":\\\\\\\"[当前消息不支持,请升级版本]\\\\\\\",\\\\\\\"layoutId\\\\\\\":\\\\\\\"10007\\\\\\\",\\\\\\\"layoutVersion\\\\\\\":\\\\\\\"20240320171418\\\\\\\",\\\\\\\"placeHolder\\\\\\\":{\\\\\\\"hight\\\\\\\":600,\\\\\\\"width\\\\\\\":300}},\\\\\\\"shortTitle\\\\\\\":\\\\\\\"[卡片消息]\\\\\\\"}\\\",\\\"degradeText\\\":\\\"\\\",\\\"summary\\\":\\\"\\\",\\\"title\\\":\\\"\\\",\\\"type\\\":10007}\"},\"platformShopId\":\"32267630646\"}}"]}"

View File

@@ -2,7 +2,7 @@
<div class="deleteGood baselayout">
<div style="padding: 0 50px 50px 50px;font-size: 18px; color: #409EFF
; margin-bottom: -100px;font-weight: bold; line-height: 1.5;">
<p>由于饿百平台问题删除商品马上创建同名商品会返回之前的商品ID导致之后访问错误大家在对饿百平台做删除平台门店商品初始化门店商品操作时删除后等待10分钟以上的时间再进行初始化门店商品操作其它平台没有这个问题</p>
<p>由于淘宝闪购平台问题删除商品马上创建同名商品会返回之前的商品ID导致之后访问错误大家在对淘宝闪购平台做删除平台门店商品初始化门店商品操作时删除后等待10分钟以上的时间再进行初始化门店商品操作其它平台没有这个问题</p>
<p>另外强烈建议一般情况下直接使用初始化平台门店商品速度更快且不会影响已有商品的销量只有在直接操作初始化平台门店商品不能达成目的时才使用删除平台门店商品</p>
</div>
<el-dialog

View File

@@ -22,7 +22,7 @@
<!-- 说明列表 -->
<ul style="color: #606266">
<li>
仅用于美团饿百删除平台上面有但是京西没有的商品
仅用于美团淘宝闪购删除平台上面有但是京西没有的商品
</li>
</ul>
<el-form

View File

@@ -1,7 +1,7 @@
<template>
<div class="sync-delete-goods baselayout">
<div>
<h2 style="color: #606266;">维护<span style="color: #E6A23C;">美团饿百商品</span>
<h2 style="color: #606266;">维护<span style="color: #E6A23C;">美团淘宝闪购商品</span>
<div class="tool-tip">
<el-button type="primary" size="mini" @click="downloadExcel">下载样表</el-button>
<!-- <el-button type="success" size="mini" @click="importExcel">导入表格</el-button> -->
@@ -22,7 +22,7 @@
<!-- 说明列表 -->
<ul style="color: #606266">
<li>
用于美团饿百添加京西有平台无的商品删除京西无平台有的商品
用于美团淘宝闪购添加京西有平台无的商品删除京西无平台有的商品
</li>
</ul>
<el-form
@@ -198,7 +198,7 @@ export default {
}
]
// 下载表格
json2Excel(json, '维护美团饿百商品样表')
json2Excel(json, '维护美团淘宝闪购商品样表')
},
// 导入表格
// importExcel () {

View File

@@ -110,7 +110,7 @@
></el-option>
<el-option
:key="3"
label="饿百"
label="淘宝闪购"
:value="3"
></el-option>
<el-option
@@ -439,7 +439,7 @@ export default {
// districtCode: '', // 区码
tel: '', // 手机号
minShopScore: '', // 评分最低值
minRecentOrderNum: '', // 订单最低值(京东近一月;饿百未知)
minRecentOrderNum: '', // 订单最低值(京东近一月;淘宝闪购未知)
minSkuCount: '', // sku数量最小值
lng: '', // 经度
lat: '', // 纬度

View File

@@ -38,7 +38,7 @@
>
<el-checkbox :label="0">京东</el-checkbox>
<el-checkbox :label="1">美团</el-checkbox>
<el-checkbox :label="3">饿百</el-checkbox>
<el-checkbox :label="3">淘宝闪购</el-checkbox>
<!-- <el-checkbox :label="5">京狗</el-checkbox> -->
</el-checkbox-group>
<el-button size="small" type="primary" @click="submitForm6" style> </el-button>

View File

@@ -35,13 +35,13 @@
<el-button size="small" type="primary" @click="submitForm2"> </el-button>
</div>
</el-collapse-item>
<!-- ************************** 导出饿百门店健康度 ************************** -->
<el-collapse-item title="导出饿百门店健康度" name="3">
<!-- ************************** 导出淘宝闪购门店健康度 ************************** -->
<el-collapse-item title="导出淘宝闪购门店健康度" name="3">
<div class="box1">
<h3 style="color: #606266">导出饿百<span style="color: #e6a23c">门店健康度</span></h3>
<h3 style="color: #606266">导出淘宝闪购<span style="color: #e6a23c">门店健康度</span></h3>
<!-- 说明列表 -->
<ul style="color: #606266">
<li>该方法用于从饿百获取门店健康度数据</li>
<li>该方法用于从淘宝闪购获取门店健康度数据</li>
<li>等待处理结果会下载一个excel表格不等待处理结果服务器处理完成后会发送钉钉消息excel表格下载地址</li>
</ul>
<el-checkbox size="small" border v-model="searchForm3.isAsync">不等待处理结果</el-checkbox> <!-- 不等待处理结果 -->
@@ -120,7 +120,7 @@
<el-checkbox-group v-model="searchForm6.vendorIDs" :min="1" style="display: inline-block; margin: 0 20px">
<el-checkbox :label="0">京东</el-checkbox>
<el-checkbox :label="1">美团</el-checkbox>
<el-checkbox :label="3">饿百</el-checkbox>
<el-checkbox :label="3">淘宝闪购</el-checkbox>
<el-checkbox :label="14">抖音</el-checkbox>
<!-- <el-checkbox :label="16">淘鲜达</el-checkbox> -->
</el-checkbox-group>
@@ -129,19 +129,19 @@
<el-button size="small" type="primary" @click="submitForm6" style> </el-button>
</div>
</el-collapse-item>
<!-- ************************** 恢复饿百美团库存 ************************** -->
<el-collapse-item title="恢复饿百美团库存" name="7">
<!-- ************************** 恢复淘宝闪购美团库存 ************************** -->
<el-collapse-item title="恢复淘宝闪购美团库存" name="7">
<div class="box1">
<h3 style="color: #606266">恢复<span style="color: #e6a23c">饿百美团</span>库存</h3>
<h3 style="color: #606266">恢复<span style="color: #e6a23c">淘宝闪购美团</span>库存</h3>
<!-- 说明列表 -->
<ul style="color: #606266">
<li>该方法用于将饿百美团的门店商品库存刷为</li>
<li>该方法用于将淘宝闪购美团的门店商品库存刷为</li>
</ul>
<!-- 厂商列表 -->
<el-checkbox-group v-model="searchForm7.vendorIDs" :min="1" style="display: inline-block; margin: 0 20px">
<!-- <el-checkbox :label="0">京东</el-checkbox> -->
<el-checkbox :label="1">美团</el-checkbox>
<el-checkbox :label="3">饿百</el-checkbox>
<el-checkbox :label="3">淘宝闪购</el-checkbox>
</el-checkbox-group>
<!-- 门店列表 -->
<StoresPick ref="jxStorePicke7" :isInit="'noInit'" :vendorIDs="searchForm7.vendorIDs" @updateStoreIDs="updateStoreIDs7"></StoresPick>
@@ -163,7 +163,7 @@
<el-checkbox-group v-model="searchForm8.vendorIDs" :min="1" style="display: inline-block; margin: 0 20px">
<el-checkbox :label="0">京东</el-checkbox>
<el-checkbox :label="1">美团</el-checkbox>
<el-checkbox :label="3">饿百</el-checkbox>
<el-checkbox :label="3">淘宝闪购</el-checkbox>
</el-checkbox-group>
<!-- 门店列表 -->
<StoresPick ref="jxStorePicke8" :isInit="'noInit'" :vendorIDs="searchForm8.vendorIDs" @updateStoreIDs="updateStoreIDs"></StoresPick>
@@ -188,7 +188,7 @@
<el-select size="small" v-model="searchForm9.vendorID" placeholder="请选择" style="width: 100px">
<el-option :key="0" label="京东" :value="0"></el-option>
<el-option :key="1" label="美团" :value="1"></el-option>
<el-option :key="3" label="饿百" :value="3"></el-option>
<el-option :key="3" label="淘宝闪购" :value="3"></el-option>
</el-select>
<el-input v-model="searchForm9.skuIDs" size="small" placeholder="请输入skuID空格分隔支持直接从excel中粘贴一列"></el-input>
</div>
@@ -216,7 +216,7 @@
<el-select size="small" v-model="searchFormNine.vendorID" placeholder="请选择" style="width: 100px">
<el-option :key="0" label="京东" :value="0"></el-option>
<el-option :key="1" label="美团" :value="1"></el-option>
<el-option :key="3" label="饿百" :value="3"></el-option>
<el-option :key="3" label="淘宝闪购" :value="3"></el-option>
</el-select>
<el-input v-model="searchFormNine.storeIDs" size="small" placeholder="请输入storeID空格分隔支持直接从excel中粘贴一列"></el-input>
</div>
@@ -239,7 +239,7 @@
<!-- 厂商列表 -->
<el-checkbox-group v-model="searchForm10.vendorIDs" :min="1" style="display: inline-block; margin: 0 20px">
<!-- <el-checkbox :label="1">美团</el-checkbox>
<el-checkbox :label="3">饿百</el-checkbox>-->
<el-checkbox :label="3">淘宝闪购</el-checkbox>-->
</el-checkbox-group>
<!-- 门店列表 -->
<StoresPick ref="jxStorePicke10" :isInit="'noInit'" :vendorIDs="searchForm10.vendorIDs" @updateStoreIDs="updateStoreIDs10"></StoresPick>
@@ -270,7 +270,7 @@
<el-checkbox-group v-model="searchForm11.vendorIDs" :min="1" style="display: inline-block; margin-right: 20px">
<el-checkbox :label="0">京东</el-checkbox>
<el-checkbox :label="1">美团</el-checkbox>
<el-checkbox :label="3">饿百</el-checkbox>
<el-checkbox :label="3">淘宝闪购</el-checkbox>
</el-checkbox-group>
<!-- 不等待处理结果 -->
<el-checkbox size="small" border v-model="searchForm11.isAsync">不等待处理结果</el-checkbox>
@@ -324,7 +324,7 @@
<el-checkbox-group v-model="searchForm13.vendorIDs" :min="1" style="display: inline-block; margin-right: 20px">
<el-checkbox :label="0">京东</el-checkbox>
<el-checkbox :label="1">美团</el-checkbox>
<el-checkbox :label="3">饿百</el-checkbox>
<el-checkbox :label="3">淘宝闪购</el-checkbox>
</el-checkbox-group>
<!-- 不等待处理结果 -->
<el-checkbox size="small" border v-model="searchForm13.isAsync">不等待处理结果</el-checkbox>
@@ -419,7 +419,7 @@
<el-checkbox-group v-model="searchForm16.vendorIDs" :min="1" style="display: inline-block; margin-right: 20px">
<el-checkbox :label="0">京东</el-checkbox>
<el-checkbox :label="1">美团</el-checkbox>
<el-checkbox :label="3">饿百</el-checkbox>
<el-checkbox :label="3">淘宝闪购</el-checkbox>
</el-checkbox-group>
<el-input v-model.trim.number="searchForm16.skuID" placeholder="请输入一个skuID" clearable size="mini" style="width: 200px"></el-input>
<!-- 不等待处理结果 -->
@@ -584,7 +584,7 @@
<el-checkbox-group v-model="searchForm25.vendorIDs" :min="1" style="display: inline-block; margin: 0 20px">
<el-checkbox :label="0">京东</el-checkbox>
<el-checkbox :label="1">美团</el-checkbox>
<el-checkbox :label="3">饿百</el-checkbox>
<el-checkbox :label="3">淘宝闪购</el-checkbox>
</el-checkbox-group>
<!-- 门店列表 -->
<StoresPick
@@ -685,7 +685,7 @@
<el-radio-group v-model="searchForm30.vendorID" style="display: inline-block; margin: 0 20px">
<el-radio disabled :label="0">京东</el-radio>
<el-radio :label="1">美团</el-radio>
<el-radio disabled :label="3">饿百</el-radio>
<el-radio disabled :label="3">淘宝闪购</el-radio>
</el-radio-group>
</div>
<div>
@@ -705,7 +705,7 @@
<div class="box1">
<div>
<el-select v-model="searchForm31.vendorID" placeholder="请选择供应商">
<el-option label="饿百新零售" value="3"></el-option>
<el-option label="淘宝闪购新零售" value="3"></el-option>
<el-option label="美团外卖" value="1"></el-option>
<el-option label="京东到家" value="0"></el-option>
<el-option label="京东商城" value="5"></el-option>
@@ -797,7 +797,7 @@
<div class="box1">
<div>
<el-select v-model="searchForm35.vendorID" disabled placeholder="请选择供应商">
<el-option label="饿百新零售" value="3"></el-option>
<el-option label="淘宝闪购新零售" value="3"></el-option>
<el-option label="美团外卖" value="1"></el-option>
<el-option label="京东到家" value="0"></el-option>
<el-option label="京东商城" value="5"></el-option>
@@ -981,13 +981,13 @@
<el-button style="margin-top: 20px" type="primary" @click="submitForm40">更新</el-button>
</div>
</el-collapse-item> -->
<!-- ************************** 门店商品复制到门店美团/饿百 ************************** -->
<el-collapse-item title="门店商品复制到门店(美团/饿百" name="41">
<!-- ************************** 门店商品复制到门店美团/淘宝闪购 ************************** -->
<el-collapse-item title="门店商品复制到门店(美团/淘宝闪购" name="41">
<div class="box1">
<!-- 平台 -->
<el-select v-model="searchForm41.vendorID" placeholder="请选择平台">
<el-option label="美团" value="1"></el-option>
<el-option label="饿百" value="3"></el-option>
<el-option label="淘宝闪购" value="3"></el-option>
</el-select>
<!-- 源门店 -->
<jx-select-pick
@@ -1430,7 +1430,7 @@ export default {
let orginStoreID = this.searchForm41.orginStoreID.StoreMaps.find(item => item.vendorID === +this.searchForm41.vendorID)
let targetStoreID = this.searchForm41.targetStoreID.StoreMaps.find(item => item.vendorID === +this.searchForm41.vendorID)
if (!orginStoreID || !targetStoreID) return this.$toast(`选中的门店未绑定${+this.searchForm41.vendorID === 1 ? '美团' : '饿百'}门店`)
if (!orginStoreID || !targetStoreID) return this.$toast(`选中的门店未绑定${+this.searchForm41.vendorID === 1 ? '美团' : '淘宝闪购'}门店`)
let form = new FormData()
form.append('fromStoreID', orginStoreID.vendorStoreID + '')
form.append('toStoreID', targetStoreID.vendorStoreID + '')
@@ -1958,9 +1958,9 @@ export default {
hideLoad();
}
},
// 恢复饿百美团库存
// 恢复淘宝闪购美团库存
submitForm7() {
this.$confirm("是否恢复饿百美团库存", "确定").then(async () => {
this.$confirm("是否恢复淘宝闪购美团库存", "确定").then(async () => {
try {
// ?startOrEndStore=false&isAsync=${this.searchForm7.isAsync}&isContinueWhenError=${this.searchForm7.isContinueWhenError}
let form = new FormData();

View File

@@ -26,8 +26,8 @@
<el-button @click="testClick2">拉取订单列表测试按钮</el-button>
</div>
<div>
<el-button @click="testForEbai">饿百测试</el-button>
<el-button @click="testForEbai2">饿百测试2</el-button>
<el-button @click="testForEbai">淘宝闪购测试</el-button>
<el-button @click="testForEbai2">淘宝闪购测试2</el-button>
</div>
<div>
<el-input v-model="orderId" style="width: 200px" clearable></el-input><el-button @click="getOrderFinancial">结账信息</el-button>
@@ -36,7 +36,7 @@
<el-input v-model="mtStoreId" style="width: 200px" clearable></el-input><el-button @click="getMtStoreInfo">美团测试拉取店铺信息</el-button>
</div>
<hr>
<h2>拉取饿百健康度</h2>
<h2>拉取淘宝闪购健康度</h2>
<input type="text" v-model="ebaiStoreID"><button @click="getEBStoreInfo">获取</button>
<h2>拉取美团店铺评分</h2>
<button @click="getMTStoreComment">获取</button>

View File

@@ -1,6 +1,6 @@
<template>
<div class="baselayout">
<h2>饿了么美团商城数据抓取测试</h2>
<h2>淘宝闪购美团商城数据抓取测试</h2>
<!-- <img src="http://qr.liantu.com/api.php?text=123123123213"/> -->
<hr />
<h3>美团</h3>

View File

@@ -27,7 +27,7 @@ export const ConVendorNameMap = new Map()
})
.set(3, {
vendorID: 3,
name: '饿百',
name: '淘宝闪购',
nick: '百'
})
.set(14, {
@@ -63,7 +63,7 @@ export const ConVendorName = [
},
{
vendorID: 3,
name: '饿百',
name: '淘宝闪购',
nick: '百'
},
{
@@ -100,8 +100,8 @@ export const ConVendorName2 = [
},
{
vendorID: 3,
name: '饿百',
nick: ''
name: '淘宝闪购',
nick: ''
}
]
export const ConVendorNameWm = [
@@ -117,8 +117,8 @@ export const ConVendorNameWm = [
},
{
vendorID: 3,
name: '饿百',
nick: ''
name: '淘宝闪购',
nick: ''
},
{
vendorID: 14,

View File

@@ -177,7 +177,7 @@ function switchWaybill(num) {
case 1:
return '美团专送'
case 2:
return '饿了么专送'
return '淘宝闪购专送'
case 101:
return '达达配送'
case 102:

View File

@@ -271,7 +271,7 @@
<el-form-item label="平台" label-width="70px">
<el-select v-model="platform" placeholder="请选择" style="width: 100px;">
<el-option label="美团" :value="'1'"></el-option>
<el-option label="饿百" :value="'3'"></el-option>
<el-option label="淘宝闪购" :value="'3'"></el-option>
</el-select>
</el-form-item>
<el-form-item label-width="10px">
@@ -498,7 +498,7 @@ export default {
timeRange: [],
marketManPhones:"", // 平台负责人
mtPhone:"", // 美团负责人
vendorID: -1, // 0京东 1美团 2e了么 3饿百 11微盟微商城
vendorID: -1, // 0京东 1美团 2e了么 3淘宝闪购 11微盟微商城
brandID: 0
},
incomeStatic:{
@@ -570,7 +570,7 @@ export default {
this.getMtInvoiceRecord()
},
methods: {
// 饿百 查询发票详情
// 淘宝闪购 查询发票详情
queryEbDetail(row){
this.uploadIncoice = row
this.incoiceInfo.dailog = true
@@ -619,11 +619,11 @@ export default {
// {"totalCount":1,"data":[{"id":1,"createdAt":"2025-10-23T16:45:18+08:00","updatedAt":"2025-10-23T16:45:18+08:00","lastOperator":"system","order_id":"3401711664110511746","storeID":667332,"vendorID":1,"invoiceTaskId":"1980844024311230476","status":"1","pushType":3,"invoiceTitle":"","taxpayerId":"","needCategory":0,"companyAddress":"","companyPhone":"","accountBank":"","accountNumber":"","email":"","invoiceAmount":0,"invoiceUrl":"","invoiceId":"","remark":""}]}
// console.log('获取美团发票申请记录',res)
}else{
if(JSON.stringify(this.storeIDs) === '{}') return this.$toast('请选择饿百店')
if(JSON.stringify(this.storeIDs) === '{}') return this.$toast('请选择淘宝闪购店')
// this.incoiceInfo = {}
// console.log('store',this.storeIDs)
let findEb = this.storeIDs.StoreMaps.find(i => i.vendorID === 3)
if(!findEb) return this.$message('该门店未绑定饿百门店')
if(!findEb) return this.$message('该门店未绑定淘宝闪购门店')
// console.log('findEb',findEb)
let res = await queryUnansweredInvoice({
vendorId:'3',

View File

@@ -70,7 +70,7 @@
value="mtPhone"
></el-option>
<el-option
label="饿百"
label="淘宝闪购"
value="ebaiPhone"
></el-option>
</el-select>
@@ -155,7 +155,7 @@
<div>市场: {{row.marketManName}}</div>
<div>京东负责人: {{row.operatorName}}</div>
<div>美团负责人: {{row.operatorName2}}</div>
<div>饿百负责人: {{row.operatorName3}}</div>
<div>淘宝闪购负责人: {{row.operatorName3}}</div>
</div>
</el-table-column>
<el-table-column
@@ -637,7 +637,7 @@ export default {
'平台负责人',
'京东负责人',
'美团负责人',
'饿百负责人',
'淘宝闪购负责人',
'订单数量',
'订单优惠',
'实际支付',

View File

@@ -191,7 +191,7 @@
</div>
</el-table-column>
<el-table-column
label="最高饿百价"
label="最高淘宝闪购价"
width="100"
align="right"
>
@@ -200,7 +200,7 @@
</div>
</el-table-column>
<el-table-column
label="最低饿百价"
label="最低淘宝闪购价"
width="100"
align="right"
>
@@ -209,7 +209,7 @@
</div>
</el-table-column>
<el-table-column
label="平均饿百价"
label="平均淘宝闪购价"
width="100"
align="right"
>
@@ -218,7 +218,7 @@
</div>
</el-table-column>
<el-table-column
label="中位饿百价"
label="中位淘宝闪购价"
width="100"
align="right"
>
@@ -505,10 +505,10 @@ export default {
'最低京东价',
'平均京东价',
'中位京东价',
'最高饿百价',
'最低饿百价',
'平均饿百价',
'中位饿百价',
'最高淘宝闪购价',
'最低淘宝闪购价',
'平均淘宝闪购价',
'中位淘宝闪购价',
'最高美团价',
'最低美团价',
'平均美团价',

View File

@@ -182,7 +182,7 @@
>
<div >京东销量{{row.jdSaleCount}}</div>
<div >美团销量{{row.mtSaleCount}}</div>
<div >饿百销量{{row.ebaiSaleCount}}</div>
<div >淘宝闪购销量{{row.ebaiSaleCount}}</div>
</div>
</template>
</el-table-column>
@@ -591,7 +591,7 @@ export default {
'平台负责人',
'京东负责人',
'美团负责人',
'饿百负责人',
'淘宝闪购负责人',
'订单数量',
'订单优惠',
'实际支付',

View File

@@ -117,7 +117,7 @@ export default {
},
{
value: 3,
label: '饿百'
label: '淘宝闪购'
},
// {
// value: 5,

View File

@@ -248,7 +248,7 @@ export default {
},
{
value: 3,
label: '饿百'
label: '淘宝闪购'
},
// {
// value: 5,

View File

@@ -15,7 +15,7 @@
<!-- <el-checkbox-group v-model="searchForm10.vendorIDs" :min="1" style="display: inline-block;margin: 0 20px;">
<el-checkbox :label="0">京东</el-checkbox>
<el-checkbox :label="1">美团</el-checkbox>
<el-checkbox :label="3">饿百</el-checkbox>
<el-checkbox :label="3">淘宝闪购</el-checkbox>
</el-checkbox-group> -->
<el-select size="small" v-model="searchForm10.vendorID" placeholder="请选择" style="width: 100px;">
<el-option v-for="item in ConVendorName" :key="item.vendorID" :label="item.name" :value="item.vendorID" :disabled="item.vendorID === 9"></el-option>

View File

@@ -56,7 +56,7 @@ const storeMerLka = () => import('@/pages/storeMerLka/index.vue')
const JDSettlement = () => import('@/components/finance/jd-settlement') // 财务-京东结算
const StoreGoodsCheck = () => import('@/components/storegoodscheck/store-goods-check') // 门店商品价格审核
const SyncCats = () => import('@/components/smalltools/sync-cats') // 同步饿百美团分类
const SyncCats = () => import('@/components/smalltools/sync-cats') // 同步淘宝闪购美团分类
const SyncJDSkunames = () => import('@/components/smalltools/sync-jdskunames') // 同步京东商品库
// const SystemTool = () => import('@/components/system/system-tool') // 补全转送门店达达
@@ -143,7 +143,7 @@ const ToolJXGoodsToJX = () => import('@/components/smalltools/tool-jxgoods-tojx'
const ToolJXGoodsToPlatform = () => import('@/components/smalltools/tool-jxgoods-toplatform')
// 小工具-京东门店商品复制到京东门店
// const ToolJDGoodsToJD = () => import('@/components/smalltools/tool-jdgoods-tojd')
// 小工具-京西门店商品复制到饿了么门店
// 小工具-京西门店商品复制到淘宝闪购门店
// const ToolJXGoodsToELM = () => import('@/components/smalltools/tool-jxgoods-toelm')
// 小工具-门店商品集体下架
const ToolStoreGoodsOff = () => import('@/components/smalltools/tool-storegoods-off')
@@ -563,7 +563,7 @@ const router = new Router({
name: 'SyncCats',
component: SyncCats,
meta: {
title: '同步美团饿百分类'
title: '同步美团淘宝闪购分类'
}
},
{
@@ -587,7 +587,7 @@ const router = new Router({
// name: 'ToolJXGoodsToELM',
// component: ToolJXGoodsToELM,
// meta: {
// title: '小工具-京西门店商品复制到饿了么门店'
// title: '小工具-京西门店商品复制到淘宝闪购门店'
// }
// },
{
@@ -611,7 +611,7 @@ const router = new Router({
name: 'SyncMTEBGoods',
component: SyncMTEBGoods,
meta: {
title: '维护美团饿百商品'
title: '维护美团淘宝闪购商品'
}
},
{
@@ -748,7 +748,7 @@ const router = new Router({
name: 'ElmPromotion',
component: ElmPromotion,
meta: {
title: '饿百活动信息'
title: '淘宝闪购活动信息'
}
},
{

View File

@@ -253,7 +253,7 @@ export default new Vuex.Store({
let jdStoreArr = res4.filter(item => item.code === 5)
commit('SET_ALLPLATEARR', res4) //全部的平台
commit('SET_JDVENDOR', jdArr) //京东
commit('SET_EBVENDOR', ebArr) //饿百
commit('SET_EBVENDOR', ebArr) //淘宝闪购
commit('SET_MTVENDOR', MTArr) //美团
commit('SET_DYVENDOR', DYArr) //抖店
// commit('SET_TAOVENDOR', TaoArr) //淘鲜达
@@ -335,7 +335,7 @@ export default new Vuex.Store({
break
case 3:
valueNew = {
name:'饿百',
name:'淘宝闪购',
commitName:'SET_eBCategory'
}
break