Kaynağa Gözat

修改行高和bug

lichao 3 yıl önce
ebeveyn
işleme
c4e23b4b3d

+ 1 - 1
src/views/businessManagement/deliveryNotice/detailsPageEdit.vue

@@ -1155,7 +1155,7 @@ export default {
             delete item.id
             delete item.pid
           })
-          this.form.deliveryStatus == '录入'
+          this.form.deliveryStatus = '录入'
         }
         if (type == '发货') {
           this.$nextTick(() => {

+ 5 - 1
src/views/businessManagement/deliveryNotice/index.vue

@@ -23,7 +23,8 @@
                  @tree-load="treeLoad"
                  @saveColumn="saveColumn"
                  @resetColumn="resetColumn"
-                 @search-criteria-switch="searchCriteriaSwitch">
+                 @search-criteria-switch="searchCriteriaSwitch"
+                 :cell-style="cellStyle">
         <template slot="menuLeft" slot-scope="{size}">
           <el-button type="success" :size="size" @click="copyOrder" :disabled="single">复制单据</el-button>
           <el-button type="info" :size="size" icon="el-icon-printer">报 表</el-button>
@@ -195,6 +196,9 @@ export default {
     }, 100);
   },
   methods: {
+    cellStyle() {
+      return "padding:0;height:40px;";
+    },
     searchCriteriaSwitch(type){
       if (type){
         this.option.height = this.option.height - 140

+ 5 - 1
src/views/businessManagement/inventoryAccount/index.vue

@@ -10,7 +10,8 @@
         :search.sync="search"
         :table-loading="loading"
         @on-load="onLoad"
-        @row-update="rowUpdate">
+        @row-update="rowUpdate"
+        :cell-style="cellStyle">
         <template slot-scope="scope" slot="lockingQuantity">
           <span v-if="Number(scope.row.lockingQuantity) > 0" style="color: #409EFF;cursor: pointer" @click.stop="viewCell(scope.row,scope.index)">{{ scope.row.lockingQuantity }}</span>
           <span v-else>{{ scope.row.lockingQuantity }}</span>
@@ -136,6 +137,9 @@ export default {
     }
   },
   methods: {
+    cellStyle() {
+      return "padding:0;height:40px;";
+    },
     derivation() {
       this.$confirm("是否下载模板?", "提示", {
         confirmButtonText: "确定",

+ 5 - 1
src/views/businessManagement/purchaseOrder/index.vue

@@ -21,7 +21,8 @@
                  @tree-load="treeLoad"
                  @saveColumn="saveColumn"
                  @resetColumn="resetColumn"
-                 @search-criteria-switch="searchCriteriaSwitch">
+                 @search-criteria-switch="searchCriteriaSwitch"
+                 :cell-style="cellStyle">
         <template slot="menuLeft" slot-scope="{size}">
           <el-button type="success" :size="size" icon="el-icon-copy-document" @click="copyOrder" :disabled="single">复制单据</el-button>
           <el-button type="info" :size="size" icon="el-icon-printer">报 表</el-button>
@@ -239,6 +240,9 @@ export default {
     }
   },
   methods: {
+    cellStyle() {
+      return "padding:0;height:40px;";
+    },
     searchCriteriaSwitch(type){
       if (type){
         this.option.height = this.option.height - 90

+ 5 - 1
src/views/businessManagement/receipt/index.vue

@@ -23,7 +23,8 @@
                  @tree-load="treeLoad"
                  @saveColumn="saveColumn"
                  @resetColumn="resetColumn"
-                 @search-criteria-switch="searchCriteriaSwitch">
+                 @search-criteria-switch="searchCriteriaSwitch"
+                 :cell-style="cellStyle">
         <template slot="menuLeft" slot-scope="{size}">
           <el-button type="success" :size="size" @click="copyOrder" :disabled="single">复制单据</el-button>
           <el-button type="info" :size="size" icon="el-icon-printer">报 表</el-button>
@@ -197,6 +198,9 @@ export default {
     }, 100);
   },
   methods: {
+    cellStyle() {
+      return "padding:0;height:40px;";
+    },
     searchCriteriaSwitch(type){
       if (type){
         this.option.height = this.option.height - 190

+ 4 - 0
src/views/businessManagement/salesOrder/detailsPageEdit.vue

@@ -421,6 +421,7 @@
           itemType="销售"
           @beforeFinance="beforeFinance"
           :corpId="form.corpId"
+          :financeDisabled="false"
         />
 <!--        <containerTitle title="费用明细"></containerTitle>-->
 <!--        <basic-container style="margin-bottom: 10px">-->
@@ -3360,6 +3361,9 @@ export default {
         this.saveLoading = false
       })
     },
+    cellStyle() {
+      return "padding:0;height:40px;";
+    },
   },
 }
 </script>

+ 2 - 2
src/views/businessManagement/salesOrder/index.vue

@@ -29,7 +29,7 @@
                  @search-criteria-switch="searchCriteriaSwitch"
       >
         <template slot-scope="scope" slot="expand">
-          <el-table :data="scope.row.insideList" v-loading="scope.row.loading">
+          <el-table :data="scope.row.insideList" v-loading="scope.row.loading" :cell-style="tableRowClassName">
             <el-table-column  label="产品分类" prop="priceCategory" align="center" show-overflow-tooltip width="200"></el-table-column>
             <el-table-column  label="价格类别" prop="priceType" align="center" show-overflow-tooltip width="180"></el-table-column>
             <el-table-column  label="商品名称" prop="cname" align="center" show-overflow-tooltip width="120"></el-table-column>
@@ -223,7 +223,7 @@ export default {
       } else if (row.orderStatus == '未成交') {
         return 'warning-row'
       }
-      return '';
+      return "padding:0;height:40px;";
     },
     //删除列表后面的删除按钮触发触发(row, index, done)
     rowDel(row, index, done) {