zhangqi 10 ay önce
ebeveyn
işleme
4348f65c9a

+ 1 - 1
src/DRP/SDrpManagement/productGroup/detail/index.vue

@@ -30,7 +30,7 @@
       <p v-if="group.item[0].canuseactivity && group.item[0].canuseactivity.length > 0"><span class="mr-10" style="color:red">此商品正在促销:</span><a-tag style="cursor: pointer;" v-for="item in group.item[0].canuseactivity" :key="item.sa_promotionid" color="red" @click="linkToPromotion(item)"><FireOutlined />{{item.promname}}</a-tag></p>
       <p class="label"><span class="mr-10">领域:</span><a-tag color="#108ee9" v-for="(item,index) in group.item[0].tradefield" :key="index">{{item.tradefield}}</a-tag></p>
       <p class="label"><span class="mr-10">商品编码:</span>{{group.item[0].itemno}}</p>
-      <p class="label"><span class="mr-10">价格:</span><span class="price-label"><small>¥</small>{{utils.formatAmount(group.item[0].gradeprice,{name:'hideFields',key:'maxprice'})}}</span></p>
+      <p class="label"><span class="mr-10">价格:</span><span class="price-label"><small>¥</small>{{utils.formatAmount(group.item[0].gradeprice,{name:'hideFields',key:'maxprice'})}}</span>&nbsp;<small v-if="group.item[0].price < group.item[0].gradeprice">原价:{{utils.formatAmount(group.item[0].price,{name:'hideFields',key:'maxprice'})}}</small></p>
       <p class="label"><span class="mr-10">型号:</span>{{group.item[0].model || '--'}}</p>
       <p class="label"><span class="mr-10">规格:</span>{{group.item[0].standards || '--'}}</p>
       

+ 12 - 12
vite.config.js

@@ -11,12 +11,12 @@ export default defineConfig({
     }
   },
   //楚楚
-  define: {
-    'process.env': {
-      'BASE_API':"https://cucu.cnyunl.com:8079",
-      'BASE_WS':"wss://cucu.cnyunl.com:8079/" 
-    }
-  },
+  // define: {
+  //   'process.env': {
+  //     'BASE_API':"https://cucu.cnyunl.com:8079",
+  //     'BASE_WS':"wss://cucu.cnyunl.com:8079/" 
+  //   }
+  // },
 
   // 正式地址
   // define: {
@@ -27,12 +27,12 @@ export default defineConfig({
   // },
 
   // 测试地址
-  // define: {
-  //   'process.env': {
-  //     'BASE_API':"http://61.164.207.46:8200",
-  //     'BASE_WS':"ws://61.164.207.46:8200/"
-  //   }
-  // },
+  define: {
+    'process.env': {
+      'BASE_API':"http://61.164.207.46:8200",
+      'BASE_WS':"ws://61.164.207.46:8200/"
+    }
+  },
   server: {
     proxy: {
       "/api": {