shish 2 tahun lalu
induk
melakukan
534cf4b00f
1 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 2 3
      ghs/src/views/order/list.vue

+ 2 - 3
ghs/src/views/order/list.vue

@@ -27,9 +27,8 @@
       </template>
       </template>
 
 
       <template #table-column-debt="{scope}">
       <template #table-column-debt="{scope}">
-        <span style="color:red;font-weight:bold;font-size:13px;">
-          {{ scope.row.debt == 1 ? '赊' : '' }}
-        </span>
+        <span style="color:red;font-weight:bold;font-size:13px;" v-if="scope.row.debt == 1">赊</span>
+        <span v-else>-</span>
       </template>
       </template>
 
 
       <template #table-column-addTime="{scope}">
       <template #table-column-addTime="{scope}">