'注释淘鲜达'

This commit is contained in:
wtq
2025-12-10 16:34:11 +08:00
parent 36f18ab99c
commit f7208aabea
8 changed files with 73 additions and 73 deletions

View File

@@ -7,7 +7,7 @@ import { store } from "@/store";
export default {
setup() {
const { isTxd } = useGlobalFunc()
// const { isTxd } = useGlobalFunc()
// ******************** 时间选择组件操作 *****************************
//#region
@@ -142,23 +142,23 @@ export default {
// ******************** 修改淘鲜达线上时间 *****************************
//#region
async function setTxdIngTime(time: AnyObject) {
if (isTxd()) {
let data = {
vendorOrgCode: 34402634,
txdStores: JSON.stringify({
flag: [2],
txdStoreID: `JX${getStorage('storeID')}`,
startTime: time.timer1,
endTime: time.timer2
})
}
let res = await merchant.update_txd_store(data)
console.log('ZSW-res', res);
} else {
console.log('此店铺暂无淘鲜达店铺')
}
}
// async function setTxdIngTime(time: AnyObject) {
// if (isTxd()) {
// let data = {
// vendorOrgCode: 34402634,
// txdStores: JSON.stringify({
// flag: [2],
// txdStoreID: `JX${getStorage('storeID')}`,
// startTime: time.timer1,
// endTime: time.timer2
// })
// }
// let res = await merchant.update_txd_store(data)
// console.log('ZSW-res', res);
// } else {
// console.log('此店铺暂无淘鲜达店铺')
// }
// }
//#endregion
return {

View File

@@ -4,7 +4,7 @@
<view> 门店营业时间需在配送站点营业时间内才会有骑手配送</view>
<view> 如需在此时间范围外营业请咨询业务经理调整配送方式</view>
<view> 第二段营业时间需要在第一段营业时间之后</view>
<view> 淘鲜达仅使用营业时间一</view>
<!-- <view> 淘鲜达仅使用营业时间一</view> -->
</view>
<view class="time-root">