shish 2 лет назад
Родитель
Сommit
24b6518a42
1 измененных файлов с 20 добавлено и 6 удалено
  1. 20 6
      ghs/src/views/order/list.vue

+ 20 - 6
ghs/src/views/order/list.vue

@@ -25,6 +25,13 @@
           {{ scope.row.customName }}
           {{ scope.row.customName }}
         </div>
         </div>
       </template>
       </template>
+
+      <template #table-column-debt="{scope}">
+        <span style="color:red;font-weight:bold;font-size:13px;">
+          {{ scope.row.debt == 1 ? '赊' : '' }}
+        </span>
+      </template>
+
       <template #table-column-addTime="{scope}">
       <template #table-column-addTime="{scope}">
         <div>
         <div>
           {{ scope.row.addTime?scope.row.addTime.substr(5,11):'' }}
           {{ scope.row.addTime?scope.row.addTime.substr(5,11):'' }}
@@ -37,16 +44,17 @@
       </template>
       </template>
 
 
       <template #table-column-sameTimeIdsNum="{scope}">
       <template #table-column-sameTimeIdsNum="{scope}">
-        <div v-if="scope.row.sameTimeIdsNum>1" style="color:red;font-weight:bold;font-size:16px;">{{ scope.row.sameTimeIdsNum }}</div>
+        <div v-if="scope.row.sameTimeIdsNum>1" style="color:#3385d9;font-weight:bold;font-size:16px;">{{ scope.row.sameTimeIdsNum }}</div>
+        <div v-else>-</div>
       </template>
       </template>
 
 
       <template #table-column-book="{scope}">
       <template #table-column-book="{scope}">
         <span v-if="scope.row.book ==1" style="color:green;font-weight:bold;font-size:13px;">预</span>
         <span v-if="scope.row.book ==1" style="color:green;font-weight:bold;font-size:13px;">预</span>
-        <span></span>
+        <span v-else>-</span>
       </template>
       </template>
       <template #table-column-sendTimeWant="{scope}">
       <template #table-column-sendTimeWant="{scope}">
         <span v-if="scope.row.book ==1" style="color:green;font-weight:bold;font-size:13px;">{{scope.row.sendTimeWant?scope.row.sendTimeWant.substr(5,5):''}}</span>
         <span v-if="scope.row.book ==1" style="color:green;font-weight:bold;font-size:13px;">{{scope.row.sendTimeWant?scope.row.sendTimeWant.substr(5,5):''}}</span>
-        <span></span>
+        <span v-else>-</span>
       </template>
       </template>
       
       
 
 
@@ -278,7 +286,7 @@ export default {
                 prop: 'customName',
                 prop: 'customName',
                 label: '客户',
                 label: '客户',
                 align: 'center',
                 align: 'center',
-                width: '150'
+                width: '120'
               },
               },
               {
               {
                 prop: 'customMobile',
                 prop: 'customMobile',
@@ -292,6 +300,12 @@ export default {
                 align: 'center',
                 align: 'center',
                 width: '50'
                 width: '50'
               },
               },
+              {
+                prop: 'debt',
+                label: '赊账',
+                align: 'center',
+                width: '50'
+              },
               {
               {
                 prop: 'book',
                 prop: 'book',
                 label: '预订单',
                 label: '预订单',
@@ -306,7 +320,7 @@ export default {
               },
               },
               {
               {
                 prop: 'sameTimeIdsNum',
                 prop: 'sameTimeIdsNum',
-                label: '当天单',
+                label: '当天单',
                 align: 'center',
                 align: 'center',
                 width: '80'
                 width: '80'
               },
               },
@@ -318,7 +332,7 @@ export default {
               },
               },
               {
               {
                 prop: 'actPrice',
                 prop: 'actPrice',
-                label: '实付应付',
+                label: '实',
                 align: 'center',
                 align: 'center',
                 emptyText: '无',
                 emptyText: '无',
                 width: '90'
                 width: '90'