Selaa lähdekoodia

入库拖拽放大更改、样式修改

wengyuwen 4 vuotta sitten
vanhempi
commit
0eb7a9f210

+ 50 - 46
src/utils/dialog.js

@@ -179,49 +179,53 @@ import Vue from 'vue'
 //   }
 // })
 
-Vue.directive('dialogDrag', {
-  bind(el, binding, vnode, oldVnode) {
-    const dialogHeaderEl = el.querySelector('.el-dialog__header')
-    const dragDom = el.querySelector('.el-dialog')
-    dialogHeaderEl.style.cursor = 'move'
-
-    // 获取原有属性 ie dom元素.currentStyle 火狐谷歌 window.getComputedStyle(dom元素, null);
-    const sty = dragDom.currentStyle || window.getComputedStyle(dragDom, null)
-
-    dialogHeaderEl.onmousedown = (e) => {
-      // 鼠标按下,计算当前元素距离可视区的距离
-      const disX = e.clientX - dialogHeaderEl.offsetLeft
-      const disY = e.clientY - dialogHeaderEl.offsetTop
-
-      // 获取到的值带px 正则匹配替换
-      let styL, styT
-
-      // 注意在ie中 第一次获取到的值为组件自带50% 移动之后赋值为px
-      if (sty.left.includes('%')) {
-        styL = +document.body.clientWidth * (+sty.left.replace(/\%/g, '') / 100)
-        styT = +document.body.clientHeight * (+sty.top.replace(/\%/g, '') / 100)
-      } else {
-        styL = +sty.left.replace(/\px/g, '')
-        styT = +sty.top.replace(/\px/g, '')
-      }
-
-      document.onmousemove = function(e) {
-        // 通过事件委托,计算移动的距离
-        const l = e.clientX - disX
-        const t = e.clientY - disY
-
-        // 移动当前元素
-        dragDom.style.left = `${l + styL}px`
-        dragDom.style.top = `${t + styT}px`
-
-        // 将此时的位置传出去
-        // binding.value({x:e.pageX,y:e.pageY})
-      }
-
-      document.onmouseup = function(e) {
-        document.onmousemove = null
-        document.onmouseup = null
-      }
-    }
-  }
-})
+// Vue.directive('dialogDrag', {
+//   bind(el, binding, vnode, oldVnode) {
+//     console.log(el)
+//     const dialogHeaderEl = el.querySelector('.el-dialog__header')
+//     const dragDom = el.querySelector('.el-dialog')
+//     dialogHeaderEl.style.cursor = 'move'
+//
+//     // 获取原有属性 ie dom元素.currentStyle 火狐谷歌 window.getComputedStyle(dom元素, null);
+//     const sty = dragDom.currentStyle || window.getComputedStyle(dragDom, null)
+//
+//     dialogHeaderEl.onmousedown = (e) => {
+//       // 鼠标按下,计算当前元素距离可视区的距离
+//       const disX = e.clientX - dialogHeaderEl.offsetLeft
+//       const disY = e.clientY - dialogHeaderEl.offsetTop
+//
+//       // 获取到的值带px 正则匹配替换
+//       let styL, styT
+//
+//       // 注意在ie中 第一次获取到的值为组件自带50% 移动之后赋值为px
+//       if (sty.left.includes('%')) {
+//         styL = +document.body.clientWidth * (+sty.left.replace(/\%/g, '') / 100)
+//         styT = +document.body.clientHeight * (+sty.top.replace(/\%/g, '') / 100)
+//       } else {
+//         styL = +sty.left.replace(/\px/g, '')
+//         styT = +sty.top.replace(/\px/g, '')
+//       }
+//
+//       document.onmousemove = function(e) {
+//         // 通过事件委托,计算移动的距离
+//         const l = e.clientX - disX
+//         const t = e.clientY - disY
+//
+//         // 移动当前元素
+//
+//         console.log(t + styT)
+//         if ((t + styT) >= 0){
+//           dragDom.style.top = `${t + styT}px`
+//         }
+//         dragDom.style.left = `${l + styL}px`
+//         // 将此时的位置传出去
+//         // binding.value({x:e.pageX,y:e.pageY})
+//       }
+//
+//       document.onmouseup = function(e) {
+//         document.onmousemove = null
+//         document.onmouseup = null
+//       }
+//     }
+//   }
+// })

+ 1 - 1
src/views/agreement/agreementTask/index.vue

@@ -194,7 +194,7 @@
           <span v-else-if="scope.row.fBillstatus == '6'">审核完成</span>
         </template>
       </el-table-column>
-      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
+      <el-table-column label="操作" align="center" class-name="small-padding fixed-width"  min-width="250px">
         <template slot-scope="scope">
           <el-button
             size="mini"

+ 1 - 7
src/views/basicdata/corps/index.vue

@@ -720,18 +720,14 @@
           if (valid) {
             if (this.form.fId != null) {
               let formDate= new FormData()
-              console.log(this.fTypeidOptions)
             for (let index in this.fTypeidOptions){
               for (let item in this.form.fTypeid){
-                console.log(this.form.fTypeid)
                 if (this.fTypeidOptions[index].dictValue == this.form.fTypeid[item]){
                   this.form.fTypename += this.fTypeidOptions[index].dictLabel + ','
                 }
               }
             }
-              console.log(this.form.fTypename)
               this.form.fTypename = this.form.fTypename.substring(0,this.form.fTypename.length-1)
-            console.log(this.form)
               formDate.append('corps',JSON.stringify(this.form));
               formDate.append('customerContacts',JSON.stringify(this.contactList));
               addCorps(formDate).then(response => {
@@ -744,9 +740,7 @@
               for (let index in this.fTypeidOptions){
                 for (let item in this.form.fTypeid){
                   if (this.fTypeidOptions[index].dictValue == this.form.fTypeid[item]){
-                    console.log(this.form.fTypename)
-                    console.log(this.fTypeidOptions[index].dictValue,this.form.fTypeid[item])
-                    this.form.fTypename += this.fTypeidOptions[item].dictLabel + ','
+                    this.form.fTypename += this.fTypeidOptions[index].dictLabel + ','
                   }
                 }
               }

+ 2 - 2
src/views/finance/charge/index.vue

@@ -107,7 +107,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="chargeList" @selection-change="handleSelectionChange" show-summary :summary-method="listTotal">
-      <el-table-column type="selection" width="60" align="center"/>
+      <el-table-column type="selection" width="100" align="center"/>
       <el-table-column label="序号" type="index" width="55" align="center"/>
       <el-table-column label="系统编号" :show-overflow-tooltip="true" align="center" prop="fBillno" width="120"/>
       <el-table-column label="货权方" sortable :show-overflow-tooltip="true" align="center" prop="fCtrlcorpid" width="220"/>
@@ -134,7 +134,7 @@
           <span v-else-if="scope.row.fBillstatus == '6'">审核完成</span>
         </template>
       </el-table-column>
-      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
+      <el-table-column label="操作" align="center" class-name="small-padding fixed-width" min-width="180">
         <template slot-scope="scope">
           <el-button
             size="mini"

+ 2 - 2
src/views/finance/contrast/index.vue

@@ -127,7 +127,7 @@
       show-summary
       :summary-method="listTotal"
     >
-      <el-table-column width="60" align="center" type="selection"/>
+      <el-table-column width="100" align="center" type="selection"/>
       <!-- <el-table-column label="制单部门" align="center" prop="fId" /> -->
       <el-table-column label="行号" align="center" type="index"/>
       <el-table-column label="系统编号" align="center" prop="fBillno" show-overflow-tooltip width="120"/>
@@ -159,7 +159,7 @@
         label="操作"
         align="center"
         class-name="small-padding fixed-width"
-
+        min-width="180"
       >
         <template slot-scope="scope">
           <el-button

+ 2 - 2
src/views/finance/payment/index.vue

@@ -107,7 +107,7 @@
     </el-row>
 
     <el-table v-loading="loading" :data="chargeList" @selection-change="handleSelectionChange" show-summary :summary-method="listTotal">
-      <el-table-column type="selection" width="60" align="center"/>
+      <el-table-column type="selection" width="100" align="center"/>
       <el-table-column label="序号" type="index" width="55" align="center"/>
       <el-table-column label="系统编号" :show-overflow-tooltip="true" align="center" prop="fBillno" width="120"/>
       <el-table-column label="货权方" :show-overflow-tooltip="true" sortable align="center" prop="fCtrlcorpid" width="220"/>
@@ -134,7 +134,7 @@
           <span v-else-if="scope.row.fBillstatus == '6'">审核完成</span>
         </template>
       </el-table-column>
-      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
+      <el-table-column label="操作" align="center" class-name="small-padding fixed-width" min-width="180">
         <template slot-scope="scope">
           <el-button
             size="mini"

+ 3 - 3
src/views/reportManagement/Statistics/index.vue

@@ -133,7 +133,7 @@
 
     <el-table v-loading="loading" :data="whgenlegList" show-summary :summary-method="getSum">
       <!-- <el-table-column type="selection" width="55" align="center" /> -->
-      <el-table-column type="index" label="行号" align="center" />
+      <el-table-column type="index" label="行号" align="center" width="100"/>
       <el-table-column label="客户" sortable align="center" prop="fName" width="220"/>
       <el-table-column label="入库日期" sortable align="center" prop="fBsdate" width="120">
         <template slot-scope="scope">
@@ -377,7 +377,7 @@ export default {
       columns.forEach((column, index) => {
         if (index === 0) {
           sums[index] = '总计'
-        } else if (index ===9 || index ===10 || index ===11 ) {
+        } else if (index ===12 || index ===10 || index ===11 ) {
           const values = data.map(item => Number(item[column.property]))
           if (!values.every(value => isNaN(value))) {
             sums[index] = values.reduce((prev, curr) => {
@@ -388,7 +388,7 @@ export default {
                 return prev
               }
             }, 0)
-            if(index ===10 || index ===11){
+            if(index ===12 || index ===11){
               sums[index] = (sums[index]/1000).toFixed(2) + '(吨)'
             }
           }

+ 1 - 1
src/views/reportManagement/generalLedgerCr/index.vue

@@ -134,7 +134,7 @@
 
     <el-table v-loading="loading" :data="payableList" show-summary :summary-method="getSum">
       <!-- <el-table-column type="selection" width="55" align="center" /> -->
-      <el-table-column type="index" label="行号" align="center" />
+      <el-table-column type="index" label="行号" align="center" width="100"/>
       <el-table-column label="货权方" sortable align="center" prop="fName" width="220"/>
       <el-table-column label="结算单位" sortable align="center" prop="fFeesName" width="220"/>
       <el-table-column label="提单号" sortable align="center" prop="fMblno" show-overflow-tooltip width="216"/>

+ 1 - 1
src/views/reportManagement/generalLedgerDr/index.vue

@@ -133,7 +133,7 @@
 
     <el-table v-loading="loading" :data="receivableList" show-summary :summary-method="getSum">
       <!-- <el-table-column type="selection" width="55" align="center" /> -->
-      <el-table-column type="index" label="行号" align="center" />
+      <el-table-column type="index" label="行号" align="center" width="100"/>
       <el-table-column label="货权方" sortable align="center" prop="fName" width="220"/>
       <el-table-column label="结算单位" sortable align="center" prop="fFeesName" width="220" />
       <el-table-column label="提单号" sortable align="center" prop="fMblno" width="216" show-overflow-tooltip />

+ 1 - 1
src/views/reportManagement/profitGeneralLedger/index.vue

@@ -133,7 +133,7 @@
 
     <el-table v-loading="loading" :data="receivableList" show-summary :summary-method="getSum">
       <!-- <el-table-column type="selection" width="55" align="center" /> -->
-      <el-table-column type="index" label="行号" align="center" />
+      <el-table-column type="index" label="行号" align="center" width="100"/>
       <el-table-column label="货权方" sortable align="center" prop="fName" width="220"/>
       <el-table-column label="结算单位" sortable align="center" prop="fFeesName" width="220" />
       <el-table-column label="提单号" sortable align="center" prop="fMblno" width="216" show-overflow-tooltip />

+ 1 - 1
src/views/warehouseBusiness/goodsTransfer/index.vue

@@ -322,7 +322,7 @@
         label="操作"
         align="center"
         class-name="small-padding fixed-width"
-        width="100"
+        min-width="180"
       >
         <template slot-scope="scope">
           <el-button

+ 145 - 52
src/views/warehouseBusiness/inStock/index.vue

@@ -272,7 +272,14 @@
         </div>
       </div>
     </el-row>
-    <el-dialog title="提示" :visible.sync="showSetting" width="700px">
+    <el-dialog title="提示" :visible.sync="showSetting" width="700px" v-dialogDrag>
+      <template slot="title">
+        <div class="avue-crud__dialog__header">
+            <span class="el-dialog__title">
+            <span style="display:inline-block;width:3px;height:20px;margin-right:5px; float: left;margin-top:2px"></span>
+            </span>
+        </div>
+      </template>
       <div>配置排序列数据(拖动调整顺序)</div>
       <div style="margin-left: 17px">
         <el-checkbox
@@ -382,7 +389,7 @@
           <span v-if="scope.row.fBillstatus === 6">全部入账</span>
         </template>
       </el-table-column>
-      <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180">
+      <el-table-column label="操作" align="center" class-name="small-padding fixed-width" min-width="180">
         <template slot-scope="scope">
           <el-button
             size="mini"
@@ -449,9 +456,9 @@
       <template slot="title">
         <div class="avue-crud__dialog__header">
             <span class="el-dialog__title">
-            <span style="display:inline-block;background-color: #3478f5;width:3px;height:20px;margin-right:5px; float: left;margin-top:2px"></span>
+            <span style="display:inline-block;width:3px;height:20px;margin-right:5px; float: left;margin-top:2px"></span>
             </span>
-          <div class="avue-crud__dialog__menu" @click="dialogFull?dialogFull=false:dialogFull=true">
+          <div class="avue-crud__dialog__menu enlarge" @click="full">
             <i class="el-icon-full-screen"></i>
           </div>
         </div>
@@ -517,7 +524,7 @@
                 style="width: 80%"
                 type="date"
                 :disabled="browseStatus || formBrowseStatus"
-
+                @change="changeDate"
                 value-format="timestamp"
                 placeholder="入库日期"
               >
@@ -792,7 +799,6 @@
                 type="date"
                 style="width:80%"
                 :disabled="browseStatus || formBrowseStatus"
-                value-format="timestamp"
                 placeholder="仓储费计算日期"
               >
               </el-date-picker>
@@ -2509,6 +2515,7 @@
       </el-dialog>
       <!-- 选择作业费协议数据 -->
       <el-dialog
+        v-dialogDrag
         title="作业费协议"
         :close-on-click-modal="false"
         :modal="false"
@@ -2516,6 +2523,13 @@
         :visible.sync="warehousingagreements"
         width="70%"
       >
+        <template slot="作业费协议">
+          <div class="avue-crud__dialog__header">
+            <span class="el-dialog__title">
+            <span style="display:inline-block;width:3px;height:20px;margin-right:5px; float: left;margin-top:2px"></span>
+            </span>
+          </div>
+        </template>
         <el-menu :default-active="activeIndex" v-if="Navigation === true" class="el-menu-demo" mode="horizontal" @select="handleSelect">
           <el-menu-item index="1">车队作业费</el-menu-item>
           <el-menu-item index="2">劳务作业费</el-menu-item>
@@ -2975,6 +2989,62 @@ import Cookies from 'js-cookie'
 import { addSet, select } from '@/api/system/set'
 import draggable from "vuedraggable";
 import Vue from 'vue'
+
+Vue.directive('dialogDrag', {
+  bind(el, binding, vnode, oldVnode) {
+    const dialogHeaderEl = el.querySelector('.el-dialog__header')
+    const dragDom = el.querySelector('.el-dialog')
+    const enlarge = el.querySelector('.enlarge')
+    dialogHeaderEl.style.cursor = 'move'
+
+    // 获取原有属性 ie dom元素.currentStyle 火狐谷歌 window.getComputedStyle(dom元素, null);
+    const sty = dragDom.currentStyle || window.getComputedStyle(dragDom, null)
+    if(enlarge){
+      enlarge.onclick = (e) => {
+        dragDom.style.top = '0px'
+        dragDom.style.left = '0px'
+      }
+    }
+    dialogHeaderEl.onmousedown = (e) => {
+      // 鼠标按下,计算当前元素距离可视区的距离
+      const disX = e.clientX - dialogHeaderEl.offsetLeft
+      const disY = e.clientY - dialogHeaderEl.offsetTop
+
+      // 获取到的值带px 正则匹配替换
+      let styL, styT
+
+      // 注意在ie中 第一次获取到的值为组件自带50% 移动之后赋值为px
+      if (sty.left.includes('%')) {
+        styL = +document.body.clientWidth * (+sty.left.replace(/\%/g, '') / 100)
+        styT = +document.body.clientHeight * (+sty.top.replace(/\%/g, '') / 100)
+      } else {
+        styL = +sty.left.replace(/\px/g, '')
+        styT = +sty.top.replace(/\px/g, '')
+      }
+
+      document.onmousemove = function(e) {
+        // 通过事件委托,计算移动的距离
+        const l = e.clientX - disX
+        const t = e.clientY - disY
+
+        // 移动当前元素
+
+        if ((t + styT) >= 0){
+          dragDom.style.top = `${t + styT}px`
+        }
+        dragDom.style.left = `${l + styL}px`
+        // 将此时的位置传出去
+        // binding.value({x:e.pageX,y:e.pageY})
+      }
+
+      document.onmouseup = function(e) {
+        document.onmousemove = null
+        document.onmouseup = null
+      }
+    }
+  }
+})
+
 export default {
   name: "Warehousebills",
   components: {
@@ -2984,6 +3054,8 @@ export default {
   },
   data() {
     return {
+      positionX: 0,
+      positionY: 0,
       //全屏放大
       dialogFull:false,
       //自定义列宽属性
@@ -3493,20 +3565,15 @@ export default {
         fBusinessType:null,
         fItemsStatus: null,
         fFeetunit: '2',
-        fBstime:''
+        fBstime:'',
+
       },
       // 表单校验
       rules: {
         fDeptid: [{ required: true, message: " ", trigger: "blur" }],
         fMblno: [{ required: true, message: " ", trigger: "blur" }],
         fBsdeptid: [{ required: true, message: " ", trigger: "blur" }],
-        fCorpid: [
-          {
-            required: true,
-            message: " ",
-            trigger: "blur",
-          },
-        ],
+        fCorpid: [{ required: true, message: " ", trigger: "blur", },],
         fFeetunit: [{ required: true, message: " ", trigger: "blur" }],
         fPlanqty: [{ required: true, message: " ", trigger: "blur" }],
         fPlangrossweight: [{ required: true, message: " ", trigger: "blur" }],
@@ -3517,27 +3584,11 @@ export default {
         fTrademodeid: [{ required: true, message: " ", trigger: "blur" }],
         fSbu: [{ required: true, message: " ", trigger: "blur" }],
         fBusinessType:[{ required: true, message: " ", trigger: "blur" }],
-        fStorekeeper: {
-          required: true,
-          message: " ",
-          trigger: "blur",
-        },
+        fStorekeeper: { required: true, message: " ", trigger: "blur", },
         // fleet:[{required: this.isrequired == '1' ? true : false,message: " ", trigger: "blur"}],
         fWarehouseid: [{ required: true, message: " ", trigger: "blur" }],
-        fbillingway: [
-          {
-            required: true,
-            message: " ",
-            trigger: "blur",
-          },
-        ],
-        fTocorpid: [
-          {
-            required: true,
-            message: " ",
-            trigger: "blur",
-          },
-        ],
+        fbillingway: [{ required: true, message: " ", trigger: "blur", },],
+        fTocorpid: [{ required: true, message: " ", trigger: "blur", },],
       },
       defaultTitle:[]
     };
@@ -3600,13 +3651,56 @@ export default {
     this.adoPt()
   },
   methods: {
-    full(e){
-      // console.log(document.body.clientWidth)
-      // console.log(document.documentElement.clientWidth)
-      console.log(e.clientX,e.clientY)
-      console.log(this.offset.Left)
+    full(){
+      this.dialogFull = !this.dialogFull
+    },
+    move(){
+      const dialogHeaderEl = document.querySelector('.el-dialog__header')
+      const dragDom = document.querySelector('.el-dialog')
+      dialogHeaderEl.style.cursor = 'move'
+
+      // 获取原有属性 ie dom元素.currentStyle 火狐谷歌 window.getComputedStyle(dom元素, null);
+      const sty = dragDom.currentStyle || window.getComputedStyle(dragDom, null)
+
+      dialogHeaderEl.onmousedown = (e) => {
+        // 鼠标按下,计算当前元素距离可视区的距离
+        const disX = e.clientX - dialogHeaderEl.offsetLeft
+        const disY = e.clientY - dialogHeaderEl.offsetTop
+
+        // 获取到的值带px 正则匹配替换
+        let styL, styT
+
+        // 注意在ie中 第一次获取到的值为组件自带50% 移动之后赋值为px
+        if (sty.left.includes('%')) {
+          styL = +document.body.clientWidth * (+sty.left.replace(/\%/g, '') / 100)
+          styT = +document.body.clientHeight * (+sty.top.replace(/\%/g, '') / 100)
+        } else {
+          styL = +sty.left.replace(/\px/g, '')
+          styT = +sty.top.replace(/\px/g, '')
+        }
 
+        document.onmousemove = function(e) {
+          // 通过事件委托,计算移动的距离
+          const l = e.clientX - disX
+          const t = e.clientY - disY
 
+          // 移动当前元素
+          dragDom.style.left = `${l + styL}px`
+          dragDom.style.top = `${t + styT}px`
+
+          // 将此时的位置传出去
+          // binding.value({x:e.pageX,y:e.pageY})
+        }
+
+        document.onmouseup = function(e) {
+          document.onmousemove = null
+          document.onmouseup = null
+        }
+      }
+    },
+    //计算仓储费日期变更
+    changeDate(){
+      this.$set(this.form,'fChargedate',this.form.fBsdate)
     },
     //列设置全选
     allChecked() {
@@ -3784,7 +3878,6 @@ export default {
     adoPt(){
       this.approval = this.$route.query.data
       if (this.approval){
-        console.log("111")
         let queryParams = { pageNum: 1, pageSize: 10, fDc:'C'};
         listFees(queryParams).then((response) => {
           this.fCNameOptions = response.rows;
@@ -5535,7 +5628,7 @@ export default {
               this.$set(this.form, 'fBsdate', Date.parse(this.form.fBsdate))
               this.$set(this.form, 'fTrademodeid', this.form.fTrademodeid + '')
               this.$set(this.form, 'createTime', Date.parse(this.form.createTime))
-              this.$set(this.form, "fChargedate", Date.parse(this.form.fChargedate));
+              // this.$set(this.form, "fChargedate",this.form.fChargedate);
               this.dataList = response.data.warehousebillsitems
               for (let list in this.dataList) {
                 this.$set(this.dataList[list], 'fBsdate', Date.parse(this.dataList[list].fBsdate))
@@ -5999,18 +6092,18 @@ export default {
   }
 }
 
-/*  dialog*/
-.el-dialog__header {
-  padding: 15px 20px 15px;
-}
-.el-dialog__headerbtn{
-  top: 15px;
-}
-
-/*dialog header*/
-.el-dialog__header{
-  background: #e3eaed;
-}
+///*  dialog*/
+//.el-dialog__header {
+//  padding: 15px 20px 15px;
+//}
+//.el-dialog__headerbtn{
+//  top: 15px;
+//}
+//
+///*dialog header*/
+//.el-dialog__header{
+//  background: #e3eaed;
+//}
 .avue-crud__dialog__header {
   display: -webkit-box;
   display: -ms-flexbox;

+ 1 - 1
src/views/warehouseBusiness/outStock/index.vue

@@ -371,7 +371,7 @@
         label="操作"
         align="center"
         class-name="small-padding fixed-width"
-        width="180"
+        min-width="180"
       >
         <template slot-scope="scope">
           <el-button

+ 1 - 1
src/views/warehouseBusiness/stockTransfer/index.vue

@@ -364,7 +364,7 @@
 <!--          <span v-if="scope.row.fBillstatus === 6">全部入账</span>-->
 <!--        </template>-->
 <!--      </el-table-column>-->
-      <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180">
+      <el-table-column label="操作" align="center" class-name="small-padding fixed-width" min-width="180">
         <template slot-scope="scope">
           <el-button
             size="mini"

+ 1 - 1
src/views/warehouseBusiness/storageFeeCalculation/index.vue

@@ -240,7 +240,7 @@
         label="操作"
         align="center"
         class-name="small-padding fixed-width"
-        width="180"
+        min-width="180"
       >
         <template slot-scope="scope">
           <el-button