...
|
...
|
@@ -354,6 +354,13 @@ const orderDetail = (req, res, next) => { |
|
|
|
|
|
return options.inverse(this);
|
|
|
},
|
|
|
isRefundedAll: function(status, options) {
|
|
|
if (status === 5) { // 已退款
|
|
|
return options.fn(this);
|
|
|
}
|
|
|
|
|
|
return options.inverse(this);
|
|
|
},
|
|
|
greaterThanZero: function(value, options) {
|
|
|
if (value && parseFloat(value) > 0) {
|
|
|
return options.fn(this);
|
...
|
...
|
|