xiaohaizhao hai 7 meses
pai
achega
d6e0f9f041
Modificáronse 2 ficheiros con 5 adicións e 5 borrados
  1. 1 1
      portrayal/details/client.wxml
  2. 4 4
      portrayal/priceSheet/index.js

+ 1 - 1
portrayal/details/client.wxml

@@ -41,7 +41,7 @@
     <view class="line">{{language['负责人']||'负责人'}}:{{detail.team[0].name||'--'}}</view>
     <view class="line">
         {{language['未跟进天数']||'未跟进天数'}}:
-        <view style="color:{{sColors[detail.status]||'999999'}}">
+        <view style="color:#3874F6">
             {{detail.subdate||'--'}}{{language['天']||'天'}}
         </view>
     </view>

+ 4 - 4
portrayal/priceSheet/index.js

@@ -123,9 +123,9 @@ Component({
                 res.data = res.data.map(v => {
                     v.topQuotedpriceamount = CNY((v.quotedpriceamount || 0) / (wx.getStorageSync('languagecode') == 'ZH' ? 10000 : 1000));
                     v.quotedpriceamount = CNY(v.quotedpriceamount);
-                    v.begdate = v.begdate.split(" ")[0]
-                    v.enddate = v.enddate.split(" ")[0]
                     try {
+                        v.begdate = v.begdate.split(" ")[0]
+                        v.enddate = v.enddate.split(" ")[0]
                         v.discountrate = (v.discountrate * 100).toFixed(2) + '%'
                     } catch (error) {
 
@@ -224,9 +224,9 @@ Component({
                     res.data = res.data.map(v => {
                         v.topQuotedpriceamount = CNY((v.quotedpriceamount || 0) / (wx.getStorageSync('languagecode') == 'ZH' ? 10000 : 1000));
                         v.quotedpriceamount = CNY(v.quotedpriceamount);
-                        v.begdate = v.begdate.split(" ")[0]
-                        v.enddate = v.enddate.split(" ")[0]
                         try {
+                            v.begdate = v.begdate.split(" ")[0]
+                            v.enddate = v.enddate.split(" ")[0]
                             v.discountrate = (v.discountrate * 100).toFixed(2) + '%'
                         } catch (error) {