feat: 添加ai店铺-列表记录、金种子图表样式调整
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user