ysy 1 ano atrás
pai
commit
3c9eaa91be

+ 31 - 0
src/views/material/BOMmanage/components/detailedList.vue

@@ -14,6 +14,19 @@
         class="dict-table"
         tool-class="ele-toolbar-actions"
       >
+      
+      <template v-slot:toolbar>
+    
+        <div class="toolbar_box">
+                <div
+                  ><span>基本数量</span>
+                  <el-input placeholder="请输入" v-model.number="attributeData.baseCount">
+                  </el-input>
+                  <DictSelection dictName="计量单位" v-model="attributeData.baseCountUnit"
+                /></div>
+              </div>
+        </template>
+
         <!-- 表头工具栏 -->
         <template v-slot:action="{ row }">
           <el-switch
@@ -196,4 +209,22 @@
       }
     }
   }
+
+
+  .toolbar_box {
+    float: right;
+    margin-right: 10px;
+    > div {
+      display: flex;
+      align-items: center;
+      justify-content: center;
+      > span {
+        width: 150px;
+      }
+      > div {
+        margin-left: 10px;
+      }
+    }
+  }
+  
 </style>

+ 2 - 2
vue.config.js

@@ -33,8 +33,8 @@ module.exports = {
       '/api': {
         // target: 'http://192.168.1.124:50001',
         // target: 'http://192.168.1.147:18086',
-        // target: 'http://192.168.1.125:18086',
-        target: 'http://192.168.1.116:18086',
+        target: 'http://192.168.1.125:18086',
+        // target: 'http://192.168.1.116:18086',
         changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
         pathRewrite: {
           '^/api': ''