Yannay 1 місяць тому
батько
коміт
cf8129b4f7

+ 5 - 4
pages/orderDetailRefactored/components/PageThree.vue

@@ -54,7 +54,7 @@
54 54
       <view class="detail-image-section">
55 55
         <view class="detail-image-header">
56 56
           <text class="detail-image-title">高清实物图(拖拽排序)</text>
57
-          <u-button type="primary" v-if="displayImages.length > 0" shape="circle" plain text="核价" size="small" @click.stop="handlePricing"></u-button>
57
+          <u-button type="primary" v-if="displayImages.length > 0" shape="circle" plain text="核价" size="small" @click="handlePricing"></u-button>
58 58
         </view>
59 59
         <view class="detail-image-content">
60 60
           <view class="detail-image-list">
@@ -720,7 +720,8 @@ export default {
720 720
         return
721 721
       }
722 722
 
723
-      this.pricingClueId = this.currentReceipt.clueId
723
+      //我这里询价要用receiptid来询价
724
+      this.pricingClueId = this.currentReceipt.id
724 725
 
725 726
       // brand 是品牌的 id(dictValue),itemBrand 是品牌的 label(dictLabel)
726 727
       const brandDictLabel = this.currentReceipt.brand
@@ -755,7 +756,7 @@ export default {
755 756
             dictLabel: brandDictLabel,
756 757
             dictValue: brandDictValue,
757 758
             imgsUrl: imgsUrl,
758
-            model: '',
759
+            model:  this.currentReceipt.model,
759 760
             code: '',
760 761
             price: ''
761 762
           }
@@ -770,7 +771,7 @@ export default {
770 771
           dictLabel: brandDictLabel,
771 772
           dictValue: brandDictValue,
772 773
           imgsUrl: imgsUrl,
773
-          model: '',
774
+          model:  this.currentReceipt.model,
774 775
           code: '',
775 776
           price: ''
776 777
         }

+ 2 - 2
store/modules/user.js

@@ -28,8 +28,8 @@ export default {
28 28
 		netConfig: {
29 29
 			// http://59.42.9.166:9520/proxy
30 30
 			// http://10.0.7.100:9500
31
-			// ip: "https://crm.nanjingshiyu.com/prod-api", // ip
32
-			ip: "https://crmtest.nanjingshiyu.com/prod-api", // 测试环境ip
31
+			ip: "https://crm.nanjingshiyu.com/prod-api", // ip
32
+			// ip: "https://crmtest.nanjingshiyu.com/prod-api", // 测试环境ip
33 33
 			// ip : "/api", // 测试环境ip
34 34
 			// ip : "http://47.113.184.101", // 测试环境ip
35 35
 			// ip: "http://172.16.7.200", // ip