diff --git a/src/subpackage/order/pages/timekeeping/modules/order_detail/end_billing_modal.vue b/src/subpackage/order/pages/timekeeping/modules/order_detail/end_billing_modal.vue index bffde41..0d2c504 100644 --- a/src/subpackage/order/pages/timekeeping/modules/order_detail/end_billing_modal.vue +++ b/src/subpackage/order/pages/timekeeping/modules/order_detail/end_billing_modal.vue @@ -7,7 +7,7 @@ 操作人:{{ info.operator || '-' }} 时长合计:{{ info.duration || '-' }} - 金额合计:{{ info.amount || '-' }} + 金额合计:{{ info.amount || '0' }} @@ -77,9 +77,9 @@ export default { let { operator, duration, amount, ...opts } = data; this.info.operator = operator || ''; this.info.duration = duration || ''; - this.info.amount = amount || ''; + this.info.amount = amount ?? ''; this.initOptions = opts; - if(amount)this.amount = amount; + this.amount = amount ?? ''; this.show(); }, async confirmBtn(){ diff --git a/src/subpackage/order/pages/timekeeping/modules/order_list/site.vue b/src/subpackage/order/pages/timekeeping/modules/order_list/site.vue index 3adf366..2fc7f6f 100644 --- a/src/subpackage/order/pages/timekeeping/modules/order_list/site.vue +++ b/src/subpackage/order/pages/timekeeping/modules/order_list/site.vue @@ -2,7 +2,7 @@