mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-06-12 10:00:57 +08:00
Compare commits
No commits in common. "afb2d325e5fc611af790b5045602b8fbd2678011" and "620268c31a93c8537b62969013c356bcc00f556c" have entirely different histories.
afb2d325e5
...
620268c31a
@ -36,11 +36,11 @@ const formatDate = date => {
|
|||||||
|
|
||||||
const getDate = function getDate(strDate) {
|
const getDate = function getDate(strDate) {
|
||||||
var st = strDate;
|
var st = strDate;
|
||||||
var a = st.split(" "); // 分割日期和时间部分
|
var a = st.split(" "); //这个根据你的字符串决定,如果中间为T则改T
|
||||||
|
|
||||||
var b = a[0].split("-"); // 分割年、月、日
|
var b = a[0].split("-");
|
||||||
var c = a[1].split(":"); // 分割时、分、秒
|
var c = a[1].split(":");
|
||||||
var date = new Date(b[0], b[1] - 1, b[2], c[0], c[1], c[2]); // 月份减1
|
var date = new Date(b[0], b[1], b[2], c[0], c[1], c[2]);
|
||||||
return date;
|
return date;
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -158,7 +158,6 @@
|
|||||||
_that.amount = _data[0].payCharge;
|
_that.amount = _data[0].payCharge;
|
||||||
_that.inoutId = _data[0].inoutId;
|
_that.inoutId = _data[0].inoutId;
|
||||||
_that.costMin = _data[0].hours + "时" + _data[0].min + "分";
|
_that.costMin = _data[0].hours + "时" + _data[0].min + "分";
|
||||||
_that.paId = _data[0].paId;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
getIotOpenApi(this, {
|
getIotOpenApi(this, {
|
||||||
@ -181,7 +180,7 @@
|
|||||||
_changeCoupons: function(e) {
|
_changeCoupons: function(e) {
|
||||||
let _that =this;
|
let _that =this;
|
||||||
this.pccIds = e.detail.value;
|
this.pccIds = e.detail.value;
|
||||||
if(!this.pccIds || this.pccIds.length<1){
|
if(!_pccIds || _pccIds.length<1){
|
||||||
this._queryCustomCarMoney();
|
this._queryCustomCarMoney();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user