Compare commits

..

2 Commits

Author SHA1 Message Date
wtq
b41d00c782 '!' 2026-05-27 09:40:08 +08:00
wtq
6c82155c81 '!' 2026-05-27 09:35:42 +08:00
11 changed files with 28 additions and 27 deletions

View File

@@ -118,9 +118,9 @@ function App() {
return 0
case '美团外卖':
return 1
case '饿了么':
return 2
case '饿百新零售':
// case '淘宝闪购':
// return 2
case '淘宝闪购新零售':
return 3
case '京东商城':
return 5

View File

@@ -79,7 +79,7 @@
(sku.ebaiSyncStatus & 2) !== 2 &&
(sku.ebaiSyncStatus & 4) !== 4
"
>饿佰:该商品无法修改价格,请联系运营修改</view
>淘宝闪购:该商品无法修改价格,请联系运营修改</view
>
<view class="cell-top">
<view class="price">

View File

@@ -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: '蜂鸟配送' },

View File

@@ -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 {

View File

@@ -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
},

View File

@@ -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

View File

@@ -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"
@@ -183,7 +183,7 @@
/>
</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>

View File

@@ -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)

View File

@@ -58,7 +58,7 @@ const msgChatFn = function () {
title:
useData.vendorID == 1
? `【美团${useData.orderDesc}${useData.userID === '0' ? '群发消息' : useData.userID}`
: useData.vendorID == 3 ? `【淘宝闪购】${useData.userID}` : `【京东${useData.userID}`,
: `【饿了么${useData.userID}`,
})
// 获取聊天数据

View File

@@ -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:

View File

@@ -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": "京西商城",