...
|
...
|
@@ -368,6 +368,12 @@ const orderDetail = (req, res, next) => { |
|
|
|
|
|
return options.inverse(this);
|
|
|
},
|
|
|
isRepaymentAllCompleted: function(status, options) {
|
|
|
if (status === 2) { // 已结清/已取消
|
|
|
return options.fn(this);
|
|
|
}
|
|
|
return options.inverse(this);
|
|
|
},
|
|
|
greaterThanZero: function(value, options) {
|
|
|
if (value && parseFloat(value) > 0) {
|
|
|
return options.fn(this);
|
...
|
...
|
|