Explorar o código

修改分拆单明细页面

chensibo hai 1 día
pai
achega
9b8e2d7335

+ 22 - 24
src/views/wms/inLibrary/demergeOrder/components/MainMaterial.vue

@@ -1,9 +1,7 @@
 <template>
   <el-card class="cards">
     <div slot="header">
-      <span class="card-title">
-        母卷信息
-      </span>
+      <span class="card-title"> 母卷信息 </span>
     </div>
     <!-- 列表 -->
     <el-table
@@ -14,13 +12,20 @@
       max-height="100px"
     >
       <el-table-column
+        label="条码号"
+        align="center"
+        prop="batchNumber"
+        width="210"
+        show-overflow-tooltip
+      />
+      <!-- <el-table-column
         label="条码号"
         align="center"
         prop="qrCode"
         min-width="170"
         fixed="left"
         show-overflow-tooltip
-      />
+      /> -->
       <el-table-column
         label="物料编码"
         align="center"
@@ -77,18 +82,18 @@
         width="100"
         show-overflow-tooltip
       />
-      <el-table-column
+      <!-- <el-table-column
         label="批号"
         align="center"
         prop="batchNumber"
         width="120"
         show-overflow-tooltip
-      />
+      /> -->
       <el-table-column
         label="来料批次"
         align="center"
         prop="materialLots"
-        width="120"
+        width="180"
         show-overflow-tooltip
       />
       <el-table-column
@@ -113,16 +118,13 @@
         show-overflow-tooltip
       />
     </el-table>
-
   </el-card>
 </template>
 
 <script>
-
 export default {
-  name: 'MainMaterial',
-  components: {
-  },
+  name: "MainMaterial",
+  components: {},
   data() {
     return {
       // 遮罩层
@@ -136,34 +138,30 @@ export default {
       list: [],
       currentRows: [],
       // 弹出层标题
-      title: '',
+      title: "",
       // 是否显示弹出层
       open: false,
       // 查询参数
       queryParams: {
         pageNo: 1,
-        pageSize: 10
+        pageSize: 10,
       },
       // 表单参数
       form: {},
       // 表单校验
-      rules: {
-      },
-      currentRow: {}
-    }
-  },
-  created() {
+      rules: {},
+      currentRow: {},
+    };
   },
+  created() {},
   methods: {
     /** 查询列表 */
-
-  }
-}
+  },
+};
 </script>
 
 <style scoped>
 .card-title {
   font-size: 14px;
 }
-
 </style>

+ 17 - 10
src/views/wms/inLibrary/demergeOrder/components/SecondaryMaterials.vue

@@ -30,13 +30,20 @@
     >
       <el-table-column type="selection" width="55" fixed="left" />
       <el-table-column
+        label="条码号"
+        align="center"
+        prop="batchNumber"
+        width="210"
+        show-overflow-tooltip
+      />
+      <!-- <el-table-column
         label="条码号"
         align="center"
         prop="qrCodeOld"
         fixed="left"
         min-width="140"
         show-overflow-tooltip
-      />
+      /> -->
       <el-table-column
         label="单据日期"
         align="center"
@@ -48,13 +55,13 @@
           <span>{{ parseTime(scope.row.createTime) }}</span>
         </template>
       </el-table-column>
-      <el-table-column
+      <!-- <el-table-column
         label="子条码"
         align="center"
         prop="qrCode"
         min-width="140"
         show-overflow-tooltip
-      />
+      /> -->
       <el-table-column
         label="物料编码"
         align="center"
@@ -66,21 +73,21 @@
         label="物料名称"
         align="center"
         prop="materialName"
-        width="120"
+        width="210"
         show-overflow-tooltip
       />
       <el-table-column
         label="规格型号"
         align="center"
         prop="size"
-        width="80"
+        width="210"
         show-overflow-tooltip
       />
       <el-table-column
         label="来料批次"
         align="center"
         prop="materialLots"
-        width="120"
+        width="180"
         show-overflow-tooltip
       />
       <el-table-column
@@ -125,14 +132,14 @@
         width="60"
         show-overflow-tooltip
       />
-      <el-table-column
+      <!-- <el-table-column
         label="批号"
         align="center"
         prop="batchNumber"
         width="100"
         show-overflow-tooltip
-      />
-      <el-table-column
+      /> -->
+      <!-- <el-table-column
         label="中间仓"
         align="center"
         prop="midbin"
@@ -159,7 +166,7 @@
             >放回中间仓</el-button
           >
         </template>
-      </el-table-column>
+      </el-table-column> -->
       <!-- <el-table-column
         label="是否损耗"
         align="center"

+ 4 - 4
src/views/wms/inLibrary/demergeOrder/details.vue

@@ -60,7 +60,7 @@
                 </el-input>
               </el-form-item>
             </el-col>
-            <el-col :span="1.5">
+            <!-- <el-col :span="1.5">
               <el-button
                 type="primary"
                 plain
@@ -69,7 +69,7 @@
               >
                 条码库存查询
               </el-button>
-            </el-col>
+            </el-col> -->
           </el-row>
           <el-row :gutter="10">
             <el-col :span="6">
@@ -175,7 +175,7 @@
               >
                 分拆
               </el-button>
-              <el-button
+              <!-- <el-button
                 type="primary"
                 plain
                 icon="el-icon-printer"
@@ -183,7 +183,7 @@
                 @click="handlePrint"
               >
                 打印标签
-              </el-button>
+              </el-button> -->
             </el-col>
           </el-row>