'优化淘宝闪购平台'
This commit is contained in:
@@ -118,9 +118,9 @@ function App() {
|
||||
return 0
|
||||
case '美团外卖':
|
||||
return 1
|
||||
case '饿了么':
|
||||
return 2
|
||||
case '饿百新零售':
|
||||
// case '淘宝闪购':
|
||||
// return 2
|
||||
case '淘宝闪购新零售':
|
||||
return 3
|
||||
case '京东商城':
|
||||
return 5
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"name" : "京西到家商家版",
|
||||
"appid" : "__UNI__F9A47D3",
|
||||
"description" : "1、商户通过京西平台同时管理美团、饿了么、京东等多个外卖平台实现一键上架、下架、修改、删除多个平台商品;2、商户通过京西平台可以同时对、美团专送、达达、顺丰同城等多个专送平台召唤偶骑手",
|
||||
"versionName" : "1.9.0",
|
||||
"versionCode" : 190,
|
||||
"description" : "1、商户通过京西平台同时管理美团、淘宝闪购、京东等多个外卖平台实现一键上架、下架、修改、删除多个平台商品;2、商户通过京西平台可以同时对、美团专送、达达、顺丰同城等多个专送平台召唤偶骑手",
|
||||
"versionName" : "1.9.1",
|
||||
"versionCode" : 191,
|
||||
"transformPx" : false,
|
||||
"uni-app" : {
|
||||
"debug" : true
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
(sku.ebaiSyncStatus & 2) !== 2 &&
|
||||
(sku.ebaiSyncStatus & 4) !== 4
|
||||
"
|
||||
>饿佰:该商品无法修改价格,请联系运营修改</view
|
||||
>淘宝闪购:该商品无法修改价格,请联系运营修改</view
|
||||
>
|
||||
<view class="cell-top">
|
||||
<view class="price">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
:title="
|
||||
item.vendorID == 1
|
||||
? `【美团${item.orderDesc}】${item.userID === '0' ? '群发消息' : item.userID}`
|
||||
: `【饿了么】${item.userID}`
|
||||
: `【淘宝闪购】${item.userID}`
|
||||
"
|
||||
:avatar="
|
||||
item.vendorID == 1
|
||||
|
||||
@@ -167,7 +167,7 @@ const vendorArr = ref<Array<vendorArrType>>([
|
||||
{ id: -1, name: '全部' },
|
||||
{ id: 0, name: '京东到家' },
|
||||
{ id: 1, name: '美团外卖' },
|
||||
{ id: 3, name: '饿百新零售' },
|
||||
{ id: 3, name: '淘宝闪购新零售' },
|
||||
{ id: 5, name: '京东商城' },
|
||||
{ id: 9, name: '京西商城' },
|
||||
])
|
||||
@@ -183,7 +183,7 @@ const waybillVendorArr = ref<Array<vendorArrType>>([
|
||||
{ id: -1, name: '全部' },
|
||||
{ id: 0, name: '京东到家专送' },
|
||||
{ id: 1, name: '美团专送' },
|
||||
{ id: 3, name: '饿百专送' },
|
||||
{ id: 3, name: '淘宝闪购专送' },
|
||||
{ id: 101, name: '达达众包' },
|
||||
{ id: 102, name: '美团配送' },
|
||||
{ id: 103, name: '蜂鸟配送' },
|
||||
|
||||
@@ -14,7 +14,8 @@
|
||||
}
|
||||
|
||||
.icon-3 {
|
||||
background-image: url(https://image.jxc4.com/image/9b6dc6f925111cf1d72175df9669c738.png)
|
||||
/* background-image: url(https://image.jxc4.com/image/9b6dc6f925111cf1d72175df9669c738.png) */
|
||||
background-image: url(https://image.jxc4.com/image/06a27a6503a6695824bf361ded5f1d45.png)
|
||||
}
|
||||
|
||||
.icon-4 {
|
||||
|
||||
@@ -55,7 +55,7 @@ export default {
|
||||
imStatus(state: StoreInfoStoreType, getters: AnyObject) {
|
||||
let str = ''
|
||||
if (getters.imMtStatus.length > 0 && !getters.imMtStatus[0].errMsg && getters.imMtStatus[0].imStatus === 0) str = '美团'
|
||||
if (getters.imEbStatus.length > 0 && !getters.imEbStatus[0].errMsg && getters.imEbStatus[0].imStatus === 0) str = str ? str + '/饿百':'饿百'
|
||||
if (getters.imEbStatus.length > 0 && !getters.imEbStatus[0].errMsg && getters.imEbStatus[0].imStatus === 0) str = str ? str + '/淘宝闪购':'淘宝闪购'
|
||||
return str
|
||||
},
|
||||
|
||||
|
||||
@@ -122,8 +122,8 @@ export default {
|
||||
async function saveInvoiceInfo() {
|
||||
try {
|
||||
let findItem = store.getters['storeInfo/platformInfo'].filter((item:AnyObject) => item.vendorID === 3)
|
||||
if(findItem.length === 0) return toast('未绑定饿百门店',2)
|
||||
// if(!ebStoreInfo || JSON.stringify(ebStoreInfo) === '{}') return toast('未绑定饿百门店')
|
||||
if(findItem.length === 0) return toast('未绑定淘宝闪购门店',2)
|
||||
// if(!ebStoreInfo || JSON.stringify(ebStoreInfo) === '{}') return toast('未绑定淘宝闪购门店')
|
||||
if(+invoice_mode_index.value) invoiceInfo.value.invoice_mode = invoice_mode_array.value[invoice_mode_index.value].value
|
||||
if(+invoice_material_index.value) invoiceInfo.value.invoice_material = invoice_material_array.value[invoice_material_index.value].value
|
||||
if(+invoice_class_index.value) invoiceInfo.value.invoice_class = invoice_class_array.value[invoice_class_index.value].value
|
||||
|
||||
@@ -150,7 +150,7 @@
|
||||
<text v-else class="printer-name">未知状态</text>
|
||||
</view>
|
||||
<view class="item" v-if="isExistEbStore">
|
||||
<view>饿百IM单聊状态</view>
|
||||
<view>淘宝闪购IM单聊状态</view>
|
||||
<switch
|
||||
v-if="!store.getters['storeInfo/imEbStatus'][0].errMsg"
|
||||
:checked="imEbStoreStatus"
|
||||
@@ -174,7 +174,7 @@
|
||||
<jx-icon icon="gengduo" color="rgb(220, 220, 220)"></jx-icon>
|
||||
</view>
|
||||
<view class="item" v-if="isExistEbStore" @tap="jumpInvoiceSet">
|
||||
<view>发票设置(饿百)</view>
|
||||
<view>发票设置(淘宝闪购)</view>
|
||||
<jx-icon icon="gengduo" color="rgb(220, 220, 220)"></jx-icon>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -116,7 +116,7 @@ async function shareStoreFn(
|
||||
getQrCode(path)
|
||||
} else if (vendorID == 3) {
|
||||
// 饿了么
|
||||
shareText.value = '饿了么/微信/支付宝扫码进店/'
|
||||
shareText.value = '淘宝闪购/微信/支付宝扫码进店/'
|
||||
share.value.open()
|
||||
path = `https://h5.ele.me/newretail/p/shop/?&id=${vendorStoreID}`
|
||||
getQrCode(path)
|
||||
|
||||
@@ -56,7 +56,7 @@ const msgChatFn = function () {
|
||||
title:
|
||||
useData.vendorID == 1
|
||||
? `【美团${useData.orderDesc}】${useData.userID === '0' ? '群发消息' : useData.userID}`
|
||||
: `【饿了么】${useData.userID}`,
|
||||
: `【淘宝闪购】${useData.userID}`,
|
||||
})
|
||||
|
||||
// 获取聊天数据
|
||||
|
||||
@@ -39,8 +39,8 @@ const phoneList = ref<Array<PhoneListType>>([
|
||||
mobild: phoneData.operatorPhone2,
|
||||
},
|
||||
{
|
||||
icon: 'https://image.jxc4.com/image/8ac4b05dfef6b18639489d32cd421551.png',
|
||||
company: '饿佰运营',
|
||||
icon: 'https://image.jxc4.com/image/06a27a6503a6695824bf361ded5f1d45.png',
|
||||
company: '淘宝闪购运营',
|
||||
name: phoneData.operatorName3 || '暂无',
|
||||
mobild: phoneData.operatorPhone3,
|
||||
},
|
||||
|
||||
@@ -77,7 +77,7 @@ const printerTemplate = async function (data: AnyObject) {
|
||||
.setSize(1, 2)
|
||||
.setAlign('ct')
|
||||
.printArrayP(30)
|
||||
.print(`饿百取货码: ${tmpOrder.vendorOrderID2.slice(tmpOrder.vendorOrderID2.length - 4)}`)
|
||||
.print(`淘宝闪购取货码: ${tmpOrder.vendorOrderID2.slice(tmpOrder.vendorOrderID2.length - 4)}`)
|
||||
}
|
||||
|
||||
// 分割线
|
||||
@@ -240,7 +240,7 @@ const printerTemplate = async function (data: AnyObject) {
|
||||
.setSize(1, 2)
|
||||
.setAlign('ct')
|
||||
.printArrayP(30)
|
||||
.print(`饿百取货码: ${tmpOrder.vendorOrderID2.slice(tmpOrder.vendorOrderID2.length - 4)}`)
|
||||
.print(`淘宝闪购取货码: ${tmpOrder.vendorOrderID2.slice(tmpOrder.vendorOrderID2.length - 4)}`)
|
||||
}
|
||||
|
||||
// 分割线
|
||||
@@ -419,7 +419,7 @@ const printerTemplate = async function (data: AnyObject) {
|
||||
.setAlign('ct')
|
||||
.setBold(true)
|
||||
.printArrayP(30)
|
||||
.print(`饿百取货码: ${tmpOrder.vendorOrderID2.slice(tmpOrder.vendorOrderID2.length - 4)}`)
|
||||
.print(`淘宝闪购取货码: ${tmpOrder.vendorOrderID2.slice(tmpOrder.vendorOrderID2.length - 4)}`)
|
||||
}
|
||||
|
||||
// 分割线
|
||||
@@ -591,10 +591,10 @@ function vendorID2(vendorID: number) {
|
||||
return '京东到家'
|
||||
case 1:
|
||||
return '美团外卖'
|
||||
case 2:
|
||||
return '饿了么'
|
||||
// case 2:
|
||||
// return '淘宝闪购'
|
||||
case 3:
|
||||
return '饿百新零售'
|
||||
return '淘宝闪购新零售'
|
||||
case 5:
|
||||
return '京东商城'
|
||||
case 9:
|
||||
|
||||
@@ -162,10 +162,10 @@ export default {
|
||||
"-4": "已删除"
|
||||
},
|
||||
"ebaiSupplierID": {
|
||||
"2233065879": "饿百好菜",
|
||||
"2267230126": "饿百果园",
|
||||
"1921188187760": "饿百商超",
|
||||
"22267134648": "饿百菜市"
|
||||
"2233065879": "淘宝闪购好菜",
|
||||
"2267230126": "淘宝闪购果园",
|
||||
"1921188187760": "淘宝闪购商超",
|
||||
"22267134648": "淘宝闪购菜市"
|
||||
},
|
||||
"ebaiSupplierInfo": {
|
||||
"2233065879": {
|
||||
@@ -359,7 +359,7 @@ export default {
|
||||
"userApplyCancelWaitMinute": 30
|
||||
},
|
||||
"3": {
|
||||
"chineseName": "饿百新零售",
|
||||
"chineseName": "淘宝闪购新零售",
|
||||
"userApplyCancelWaitMinute": 15
|
||||
}
|
||||
},
|
||||
@@ -478,8 +478,8 @@ export default {
|
||||
"vendorName": {
|
||||
"0": "京东到家",
|
||||
"1": "美团外卖",
|
||||
"2": "饿了么",
|
||||
"3": "饿百新零售",
|
||||
// "2": "淘宝闪购",
|
||||
"3": "淘宝闪购新零售",
|
||||
"4": "银豹",
|
||||
"5": "京东商城",
|
||||
"9": "京西商城",
|
||||
|
||||
Reference in New Issue
Block a user