yusheng пре 10 месеци
родитељ
комит
be74b67d53

+ 2 - 2
src/views/warehouseManagement/components/AssetsDialog.vue

@@ -1,5 +1,5 @@
 <template>
-  <el-dialog :visible.sync="visible" title="物品信息" width="80vw">
+    <ele-modal :visible.sync="visible" title="物品信息" width="80vw"     :maxable="true">
     <el-form :model="searchForm" label-width="100px">
       <el-row :gutter="20">
         <el-col :span="6">
@@ -356,7 +356,7 @@
       <el-button type="primary" @click="confirm">确定</el-button>
       <el-button @click="cancel">关闭</el-button>
     </div>
-  </el-dialog>
+  </ele-modal>
 </template>
 
 <script>

+ 3 - 3
src/views/warehouseManagement/index/index.vue

@@ -228,7 +228,7 @@
           },
           legend: {
             top: 'center',
-            right: '8%',
+            right: '6%',
             // left:'right',
             type: 'scroll',
             orient: 'vertical',
@@ -238,7 +238,7 @@
                 // 通过富文本rich给每个项设置样式,下面的oneone、twotwo、threethree可以理解为"每一列"的样式
                 oneone: {
                   // 设置文字、数学、英语这一列的样式
-                  width: 100,
+                  width: 80,
                   color: '#000',
                   fontSize: 12,
                   fontWeight: 'bolder'
@@ -259,7 +259,7 @@
             },
             formatter: (name) => {
               let data = arr.find((item) => item.name == name);
-              return `{oneone|${name}}{twotwo|${data?.value}}        {threethree|(${data?.rate}%)}`;
+              return `{oneone|${name}}{twotwo|${data?.value}}           {threethree|(${data?.rate}%)}`;
             }
           },
           series: [