'注释淘鲜达'

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 {