yb 10 hónapja
szülő
commit
ffc2d2ec46

+ 2 - 0
src/locales/ja.ts

@@ -951,6 +951,8 @@ export default {
     timedTaskXls: '定时任务.xls'
   },
   mall: {
+    orderTotalPrice: '注文合計金額',
+    actualPaymentAmount: '実際の支払金額',
     paymentResult: '支払い結果',
     scanningTheCodeForReceivingPayment: '支払い用QRコードをスキャン中...',
     paymentSettlement: '決済処理',

+ 2 - 0
src/locales/zh-CN.ts

@@ -951,6 +951,8 @@ export default {
     timedTaskXls: '定时任务.xls',
   },
   mall: {
+    orderTotalPrice: '订单总价',
+    actualPaymentAmount: '实际支付金额',
     paymentResult:'支付结果',
     scanningTheCodeForReceivingPayment:'扫码收款中...',
     paymentSettlement:'支付结算',

+ 6 - 0
src/views/mall/product/storeProduct/StoreProductForm.vue

@@ -409,6 +409,7 @@ const oneFormValidate = ref([
     integral: 0
   }
 ])
+const { VITE_BASE_URL } = import.meta.env
 
 const formRules = reactive({
   shopId: [{ required: true, message: t('common.selectShop'), trigger: 'blur' }],
@@ -748,6 +749,11 @@ const getInfo = (id) => {
           console.log('shopId:', formValidate.value.shopId)
           await getTree(formValidate.value.shopId)
         }
+        console.log('🚀 ~ .then ~ data.attr:', data.attr)
+
+        if (data.attr.pic && !data.attr.pic.include('https://api.ifoodme.com')) {
+          data.attr.pic = VITE_BASE_URL + data.attr.pic
+        }
         oneFormValidate.value = [data.attr]
         formValidate.value.header = []
         generate()