feat: 添加ai店铺-列表记录、金种子图表样式调整

This commit is contained in:
2026-06-02 11:31:12 +08:00
parent 910212dcac
commit 1fe0a6351c
11 changed files with 406 additions and 61 deletions
+7 -7
View File
@@ -71,9 +71,9 @@
}).then((res) => {
settlementInfo.value = res.data || {};
if (proxy.$fen2yuan(settlementInfo?.price?.payPrice || 0) >= 5000) {
proxy.utils.toast('订单金额不能超过5000元');
}
// if (proxy.$fen2yuan(settlementInfo?.price?.payPrice || 0) >= 5000) {
// proxy.utils.toast('订单金额不能超过5000元');
// }
if (settlementInfo.value?.items?.length) {
settlementInfo.value.items.forEach((e) => {
e.skuArr = e.items;
@@ -88,10 +88,10 @@
});
};
const sub = async () => {
if (proxy.$fen2yuan(settlementInfo?.price?.payPrice || 0) >= 5000) {
proxy.utils.toast('订单金额不能超过5000元, 请重新选择商品');
return;
}
// if (proxy.$fen2yuan(settlementInfo?.price?.payPrice || 0) >= 5000) {
// proxy.utils.toast('订单金额不能超过5000元, 请重新选择商品');
// return;
// }
if (!addressId.value) return proxy.utils.toast('请选择地址');
let res: any = await SpuApi.createOrder({ id: addressId.value });
if (res.code === 0) {