瀏覽代碼

前端:表格宽度fix

baichengfei 5 年之前
父節點
當前提交
105efb41c5

+ 1 - 1
src/dashoo.cn/backend/api/business/oilsupplier/selectbusiness/selectservice.go

@@ -36,7 +36,7 @@ func (s *SelectService) GetMyPagingEntitiesWithOrderBytbl(supplierTableName, sup
 	sqlCount += `left join ` + OilSupplierCert2FileName + ` d  on d.SupplierId = b.Id `
 	sqlCount += `where ` + where
 	sqlCount += `group by a.Id,b.Id `+having+`) f`*/
-
+	// TODO 推荐单位不从供方注册表取
 	var sql string
 	sql = `select SQL_CALC_FOUND_ROWS a.Id,a.SupplierName,b.AccessCardNo,max(c.OldSupplierName) OldSupplierName,b.SupplierTypeCode,`
 	sql += `a.LegalPerson,a.RegCapital,a.Mobile,b.AuditDate,b.ApplyTime,b.EffectEndTime,b.InFlag,a.ContactName,a.CommercialNo, `

+ 2 - 2
src/dashoo.cn/frontend_web/src/pages/oilsupplier/paymentselect/index.vue

@@ -42,7 +42,7 @@
           <el-table :data="entityList" size="mini" v-loading="loading" stripe highlight-current-row height="calc(100vh - 300px)" border style="width: 100%" @sort-change="orderby">
 
             <el-table-column sortable width="110" align="center" show-overflow-tooltip prop="AccessCardNo" label="准入编码"></el-table-column>
-            <el-table-column sortable width="150" align="center" show-overflow-tooltip prop="SupplierName" label="企业名称"></el-table-column>
+            <el-table-column sortable align="center" show-overflow-tooltip prop="SupplierName" label="企业名称"></el-table-column>
             <el-table-column sortable width="100" align="center" show-overflow-tooltip prop="SupplierTypeName" label="准入类别"></el-table-column>
 
             <el-table-column width="300" align="center" show-overflow-tooltip label="款项类别">
@@ -74,7 +74,7 @@
                 {{ jstimehandle(scope.row.PayDate+'') }}
               </template>
             </el-table-column>
-            <el-table-column sortable width="440" align="center" show-overflow-tooltip prop="Remarks" label="备注"></el-table-column>
+            <el-table-column sortable align="center" show-overflow-tooltip prop="Remarks" label="备注"></el-table-column>
           </el-table>
 
           <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"