增加计算公式调试

This commit is contained in:
2025-12-15 13:56:13 +08:00
parent 11127eac9b
commit 5007c96116
6 changed files with 464 additions and 374 deletions

View File

@@ -1,5 +1,5 @@
// const debug = process.env.NODE_ENV == 'development' ? true : false; // const debug = process.env.NODE_ENV == 'development' ? true : false;
const debug = true; const debug = false;
// #ifdef H5 // #ifdef H5
const proxyApi = "/api"; const proxyApi = "/api";
// #endif // #endif

View File

@@ -7,7 +7,7 @@
"lodash": "^4.17.21", "lodash": "^4.17.21",
"pinia": "^2.3.1", "pinia": "^2.3.1",
"pinia-plugin-unistorage": "^0.1.2", "pinia-plugin-unistorage": "^0.1.2",
"ysk-utils": "^1.0.78" "ysk-utils": "^1.0.81"
}, },
"devDependencies": { "devDependencies": {
"unplugin-auto-import": "^0.16.7" "unplugin-auto-import": "^0.16.7"

View File

@@ -161,7 +161,8 @@
import OrderFinshModal from "@/components/order-finish-modal.vue"; import OrderFinshModal from "@/components/order-finish-modal.vue";
import _ from "lodash"; import _ from "lodash";
import * as pointsApi from '@/common/api/market/points.js' import * as pointsApi from '@/common/api/market/points.js'
import yskUtils from '@/lib/index' // import yskUtils from '@/lib/index'
import yskUtils from 'ysk-utils'
import { import {
ref, ref,
reactive, reactive,

View File

@@ -557,7 +557,7 @@
<script setup> <script setup>
import xbSwiperPreview from '@/components/xb-swiper-preview/index.vue'; import xbSwiperPreview from '@/components/xb-swiper-preview/index.vue';
//价格计算辅助函数 //价格计算辅助函数
// import * as limitUtils from '@/utils/order-utils.js';
import { import {
limitUtils limitUtils
} from 'ysk-utils'; } from 'ysk-utils';

825
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -12,8 +12,8 @@ import {
// MerchantReductionType, // MerchantReductionType,
// GoodsType // GoodsType
// } = yskUtils // } = yskUtils
import yskUtils from '@/lib/index' // import yskUtils from '@/lib/index'
// import yskUtils from 'ysk-utils' import yskUtils from 'ysk-utils'
const { const {
OrderPriceCalculator OrderPriceCalculator
} = yskUtils } = yskUtils