|
|
@@ -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) {
|
|
|
|