浏览代码

实时库存样式

liyg 2 年之前
父节点
当前提交
460ea7efcf

+ 3 - 3
src/views/WMS/components/port_deposit/loadPortStock.vue

@@ -34,7 +34,7 @@
         <i class="el-icon-refresh"></i>
       </el-button>
     </div>
-    <span
+    <!-- <span
       class="el-input"
       style="
         color: red;
@@ -44,7 +44,7 @@
         font-weight: bold;
       "
       >万州港实时库存详情</span
-    >
+    > -->
     <mergeRowTable
       ref="excelDom"
       v-bind.sync="option"
@@ -75,7 +75,7 @@ export default {
         // 表格请求数据的地址
         requestUrl: "/api/v1/wmsh/getLoadPortStockList?apiId=158",
         comparison:"materialName",
-        columnIndexs:[1,2,3]
+        columnIndexs:[0,1,2,3]
       },
       option2: {
         requestUrl: "/api/v1/wmsh/getLoadPortStockByMaterialName?apiId=493",

+ 4 - 2
src/views/WMS/components/port_deposit/unloadPortStock.vue

@@ -14,8 +14,8 @@
         <i class="el-icon-search"></i>查询
       </el-button>
     </div>
-    <dilTable v-bind.sync="option">
-    </dilTable>
+    <mergeRowTable v-bind.sync="option">
+    </mergeRowTable>
   </div>
 </template>
 
@@ -29,6 +29,8 @@ export default {
       option: {
         // 表格请求数据的地址
         requestUrl: "/api/v1/wmsh/getUnloadPortStockList?apiId=497",
+        comparison:"portName",
+        columnIndexs:[0,1]
       },
     };
   },