shish 2 лет назад
Родитель
Сommit
80930294f6
1 измененных файлов с 16 добавлено и 0 удалено
  1. 16 0
      ghs/src/views/in/list.vue

+ 16 - 0
ghs/src/views/in/list.vue

@@ -31,6 +31,16 @@
           {{ scope.row.customName }}
         </div>
       </template>
+
+      <template #table-column-printNum="{scope}">
+        <span v-if="scope.row.printNum > 0">
+          {{ scope.row.printNum }}
+        </span>
+        <span v-else style="color:blue;font-size:16px;">
+          {{ scope.row.printNum }}
+        </span>
+      </template>
+      
       
       <template #table-column-itemNum="{scope}">
         <div>
@@ -281,6 +291,12 @@ export default {
                 align: 'center',
                 width: '150'
               },
+              {
+                prop: 'printNum',
+                label: '打印',
+                align: 'center',
+                width: 60
+              },
               {
                 prop: 'cgStaffName',
                 label: '采购人',