瀏覽代碼

表格参数样式调整

qymljy 1 年之前
父節點
當前提交
98673ff5b5

+ 1 - 1
src/HDrpManagement/ProductGroupMag/modules/addGroupDetail.vue

@@ -59,7 +59,7 @@
         </el-option>
       </el-select>&nbsp;
     </div>
-    <table-new-layout ref="table" :height="list.length > 5 ?'calc(100vh - 340px)':'280px'"  style="margin-top: 10px"    :layout="tablecols" :data="list" :opwidth="200" :custom="true"
+    <table-new-layout ref="table" :height="list.length > 5 ?'calc(100vh - 340px)':'280px'"  style="margin-top: 10px"    :layout="tablecols" :data="list" :opwidth="200" :custom="true" :width="true"
     >
       <template v-slot:customcol="scope">
         <div v-if="scope.column.columnname === 'itemclass'">

+ 1 - 1
src/HDrpManagement/ProductMag/modules/saleClass.vue

@@ -16,7 +16,7 @@
       <slot name="addClass" :data="{checkArr:checkArr,data:data}"></slot>
     </div>
     <div style="margin-top: 15px">
-      <table-new-layout :layout="tablecols" :data="list" :opwidth="200"  :custom="true" :width="false"  :height="tableHieght" fixedName="operation">
+      <table-new-layout :layout="tablecols" :data="list" :opwidth="200"  :custom="true" :width="true"  :height="tableHieght" fixedName="operation">
         <template v-slot:customcol="scope">
           <div v-if="scope.column.columnname == 'price'">
             <el-input size="small" v-if="currentProduct.sa_aftersalesmag_itemsid == scope.column.data.sa_aftersalesmag_itemsid" v-model="scope.column.data.price"></el-input>

+ 1 - 1
src/HDrpManagement/prodectFileData/components/fileTable.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <table-new-layout :layout="tablecols" :data="list" :opwidth="200" :custom="true" :height="tableHieght">
+    <table-new-layout :layout="tablecols" :data="list" :opwidth="200" :custom="true" :width="true" :height="tableHieght">
       <template v-slot:customcol="scope">
         <p >{{scope.column.data[scope.column.columnname]}}</p>
       </template>

+ 1 - 1
src/HDrpManagement/prodectFileData/components/relationList.vue

@@ -1,7 +1,7 @@
 <template>
   <div>
     <search :placeholder="placeholder" @searchActive="searchActive"></search>
-    <table-new-layout :layout="tablecols" :data="list" :opwidth="200" :custom="true" :height="list.length <= 5?'300px':tableHieght">
+    <table-new-layout :layout="tablecols" :data="list" :opwidth="200" :custom="true" :width="true" :height="list.length <= 5?'300px':tableHieght">
       <template v-slot:customcol="scope">
         <div v-if="scope.column.columnname === 'isonsale' ">
           <span v-if="scope.column.data[scope.column.columnname] === 0"

+ 2 - 2
src/HDrpManagement/unit/components/list.vue

@@ -4,7 +4,7 @@
       <el-col :span="12">
         <p class="normal-title normal-margin">计量单位</p>
         <slot name="unitAdd" :data="unitList"/>
-        <table-new-layout v-if="unitList" :layout="tablecols1" :data="unitList" :custom="false" height="calc(100vh - 250px)">
+        <table-new-layout v-if="unitList" :layout="tablecols1" :data="unitList" :custom="false" :width="true" height="calc(100vh - 250px)">
           <template v-slot:opreation="scope">
               <div style="display:flex">
                   <slot name="unitEdit" :data="scope.data" />
@@ -16,7 +16,7 @@
       <el-col :span="12">
         <p class="normal-title normal-margin">计量单位组</p>
         <slot name="unitGroupAdd" :data="unitList"/>
-        <table-new-layout v-if="unitGroupList" :layout="tablecols2" :data="unitGroupList" :custom="false" height="calc(100vh - 250px)">
+        <table-new-layout v-if="unitGroupList" :layout="tablecols2" :data="unitGroupList" :custom="false" :width="true" height="calc(100vh - 250px)">
           <template v-slot:opreation="scope">
               <div style="display:flex">
                   <slot name="unitGroupEdit" :data="{row:scope.data,unitList:unitList}" />

+ 1 - 1
src/HManagement/clueManage/clue_import/detailPage/modules/billBody.vue

@@ -2,7 +2,7 @@
 <template>
   <div>
     <!-- <add :data="list" @onSuccess="getList" :disabled="mainData.status !== '待审核'" v-if="tool.checkAuth($route.name,'update')"/> -->
-    <table-new-layout :layout="tablecols" :data="list" :opwidth="200" :custom="true"  fixedName="operation">
+    <table-new-layout :layout="tablecols" :data="list" :opwidth="200" :custom="true" :width="true" fixedName="operation">
       <template v-slot:customcol="scope">
         <div v-if="scope.column.columnname === 'province'">
           <span>{{scope.column.data['province']}}-{{scope.column.data['city']}}-{{scope.column.data['county']}}</span>

+ 1 - 1
src/SDrpManagement/QuotedPrice/detail/modules/historicalQuotation/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <table-new-layout :layout="tablecols" :data="list" fixedName="" :custom="true" :height="list.length <= 5?'280px':'calc(100vh - 330px)'">
+    <table-new-layout :layout="tablecols" :data="list" fixedName="" :custom="true" :width="true" :height="list.length <= 5?'280px':'calc(100vh - 330px)'">
       <template v-slot:customcol="scope" >
         <div v-if="scope.column.columnname === 'billno'" >
             <el-button type="text" @click="detailGo(scope.column.data)">