فهرست منبع

数量为-1隐藏显示

duy 2 سال پیش
والد
کامیت
fd55077a1b
2فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 2 0
      src/views/tentative/material/approach.vue
  2. 4 1
      src/views/tentative/material/sampling.vue

+ 2 - 0
src/views/tentative/material/approach.vue

@@ -60,6 +60,8 @@
             </template>
             <HcTable ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading" isCheck @selection-change="tableSelection">
                 <template #materialType="{row}">{{getRowTableMaterialType(row['materialType'])}}</template>
+                <template #materialCount="{row}">{{row.materialCount===-1?"":row.materialCount}}</template>
+                <template #materialPrice="{row}">{{row.materialPrice===-1?"":row.materialPrice}}</template>
                 <template #action="{row}">
                     <HcTooltip keys="tentative_material_approach_annex">
                         <el-button type="primary" size="small" plain @click="viewAttachmentModalClick(row)">附件</el-button>

+ 4 - 1
src/views/tentative/material/sampling.vue

@@ -78,7 +78,10 @@
                         </el-button>
                     </div>
                 </template>
-                <HcTable ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading" isCheck @selection-change="tableSelection"/>
+                <HcTable ref="tableRef" :column="tableColumn" :datas="tableData" :loading="tableLoading" isCheck @selection-change="tableSelection">
+                    <template #materialCount="{row}">{{row.materialCount===-1?"":row.materialCount}}</template>
+                    <template #representativeCount="{row}">{{row.representativeCount===-1?"":row.representativeCount}}</template>
+                </HcTable>
                 <template #action>
                     <HcPages :pages="searchForm" @change="pageChange"/>
                 </template>