- 在OrderVehicle模块中新增草帘费用项的添加与移除逻辑 - 根据选中状态动态更新orderCostList中的草帘费用项 - 优化PurchaseOrderWithdrawReview组件按钮点击事件处理 - 调整OrderPackage组件品牌选择过滤逻辑及数据结构 - 完善Weigh组件弹窗交互与样式布局 - 修复PackagingCostSection组件默认计提费用配置 - 升级delivery文档页面otherFees模块实时获取最新费用项目 - 优化delivery页面预览内容展示格式和数据填充逻辑 - 更新create页面传递orderCostList至子组件确保数据同步 - 引入generateShortId工具用于生成唯一订单费用ID
44 lines
1.0 KiB
TypeScript
44 lines
1.0 KiB
TypeScript
import type { UserConfigExport } from "@tarojs/cli";
|
|
|
|
export default {
|
|
logger: {
|
|
quiet: false,
|
|
stats: true,
|
|
},
|
|
env: {
|
|
NODE_ENV: '"development"',
|
|
},
|
|
defineConstants: {
|
|
"process.env.TARO_APP_ID": '"wxa080848726642f73"',
|
|
"process.env.TARO_API_DOMAIN":
|
|
process.env.TARO_ENV === "h5"
|
|
? '"/api"'
|
|
: '"https://api.erp.qilincloud168.com"',
|
|
"process.env.TARO_POSTER_DOMAIN":
|
|
process.env.TARO_ENV === "h5"
|
|
? '""'
|
|
: '"https://poster.qilincloud168.com"',
|
|
},
|
|
mini: {
|
|
miniCssExtractPluginOption: {
|
|
ignoreOrder: true,
|
|
},
|
|
},
|
|
h5: {
|
|
devServer: {
|
|
proxy: {
|
|
"/api/v1": {
|
|
target: JSON.parse('"https://poster.qilincloud168.com"'),
|
|
pathRewrite: { "^/api": "/api" },
|
|
changeOrigin: true,
|
|
},
|
|
"/api/": {
|
|
target: JSON.parse('"https://api.erp.qilincloud168.com"'),
|
|
pathRewrite: { "^/api": "/" },
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
} satisfies UserConfigExport;
|