소스 검색

feat: 增加盘具字段显示

liujt 4 일 전
부모
커밋
5d4077a5f4

+ 16 - 0
src/views/warehouseManagement/outgoingManagement/add.vue

@@ -219,6 +219,14 @@
                 :show-overflow-tooltip="true"
               >
               </el-table-column>
+              <el-table-column
+                label="盘具"
+                prop="reelSpecification"
+                width="150"
+                align="center"
+                :show-overflow-tooltip="true"
+              >
+              </el-table-column>
               <el-table-column
                 label="包装数量"
                 v-if="clientEnvironmentId == 3"
@@ -450,6 +458,14 @@
                 :show-overflow-tooltip="true"
               >
               </el-table-column>
+              <!-- <el-table-column
+                label="盘具"
+                prop="reelSpecification"
+                width="150"
+                align="center"
+                :show-overflow-tooltip="true"
+              >
+              </el-table-column> -->
               <el-table-column
                 label="重量"
                 prop="weight"

+ 8 - 0
src/views/warehouseManagement/outgoingManagement/details.vue

@@ -173,6 +173,14 @@
               :show-overflow-tooltip="true"
             >
             </el-table-column>
+            <el-table-column
+              label="盘具"
+              prop="reelSpecification"
+              width="150"
+              align="center"
+              :show-overflow-tooltip="true"
+            >
+            </el-table-column>
             <el-table-column
               label="包装数量"
               prop="packingQuantity"

+ 6 - 0
src/views/warehouseManagement/stockLedger/components/item-list.vue

@@ -468,6 +468,12 @@
             label: '重量单位',
             showOverflowTooltip: true
           },
+          {
+            prop: 'reelSpecification',
+            label: '盘具',
+            align: 'center',
+            showOverflowTooltip: true
+          },
           this.selectedDime == 1
             ? {
                 prop: 'secureInventory',

+ 14 - 1
src/views/warehouseManagement/stockLedger/components/item-search.vue

@@ -35,6 +35,7 @@
                 style="width: 100%"
                 v-model="params.warehouseId"
                 placeholder="请选择"
+                @change="getProductListHandle"
               >
                 <el-option
                   v-for="item in warehouseList"
@@ -86,7 +87,7 @@
           <el-form-item label="关键词:" prop="keyWord">
             <el-input
               clearable
-              placeholder="物品编码/物品名称/批次号/规格/型号"
+              placeholder="物品编码/物品名称/批次号/规格/型号/盘具"
               v-model.trim="params.keyWord"
             ></el-input>
           </el-form-item>
@@ -177,6 +178,15 @@
             ></el-input>
           </el-form-item>
         </el-col>
+        <!-- <el-col :span="6">
+          <el-form-item label="盘具:" prop="reelSpecification">
+            <el-input
+              clearable
+              v-model="params.reelSpecification"
+              placeholder="请输入"
+            ></el-input>
+          </el-form-item>
+        </el-col> -->
         <!-- <el-col v-if="dimension == 3 || dimension == 2" :span="6">
           <el-form-item label="销售订单号:" prop="saleOrderNos">
             <el-input
@@ -338,6 +348,9 @@
         );
       },
 
+      getProductListHandle(val) {
+        console.log(val);
+      },
       //搜索数据源
       async getArguInfo() {
         const { data } = await getWarehouseList();

+ 21 - 2
src/views/warehouseManagement/stockManagement/add.vue

@@ -391,6 +391,16 @@
                 </el-form-item>
               </template>
 
+              <template v-slot:reelSpecification="{ row, $index }">
+                <el-form-item>
+                  <el-input
+                  :ref="'reelSpecification' + $index"
+                  v-model="row.reelSpecification"
+                >
+                </el-input>
+                </el-form-item>
+              </template>
+
               <template v-slot:detailProductionDate="{ row, $index }">
                 <template v-if="row.isSave">
                   {{ row.detailProductionDate }}
@@ -1259,7 +1269,7 @@
             headerSlot: 'headerWarehouseName'
           },
           {
-            minWidth: 300,
+            minWidth: 200,
             prop: 'modelKey',
             showOverflowTooltip: true,
             label: '机型',
@@ -1267,13 +1277,21 @@
             align: 'center'
           },
           {
-            minWidth: 300,
+            minWidth: 200,
             prop: 'colorKey',
             showOverflowTooltip: true,
             label: '颜色',
             slot: 'colorKey',
             align: 'center'
           },
+          {
+            minWidth: 200,
+            prop: 'reelSpecification',
+            showOverflowTooltip: true,
+            label: '盘具',
+            slot: 'reelSpecification',
+            align: 'center'
+          },
           {
             label: '采购原因',
             prop: 'purpose',
@@ -1487,6 +1505,7 @@
                                 this.productList.length + productIndex, // 物品索引
                               categoryName: productItem.categoryName,
                               categoryCode: productItem.categoryCode,
+                              reelSpecification: productItem.reelSpecification,
                               materialDetailList:
                                 packingItem.materialDetailList.map(
                                   (materialItem, materialIndex) => {

+ 14 - 2
src/views/warehouseManagement/stockManagement/details.vue

@@ -342,10 +342,16 @@
               :show-overflow-tooltip="true"
             >
             </el-table-column>
+            <el-table-column
+              label="盘具"
+              prop="reelSpecification"
+              :show-overflow-tooltip="true"
+            >
+            </el-table-column>
             <el-table-column
               v-if="infoData.verifyStatus == 2"
               label="操作"
-              width="200"
+              width="210"
               fixed="right"
               align="center"
             >
@@ -600,10 +606,16 @@
               :show-overflow-tooltip="true"
             >
             </el-table-column>
+            <!-- <el-table-column
+              label="盘具"
+              prop="reelSpecification"
+              :show-overflow-tooltip="true"
+            >
+            </el-table-column> -->
             <el-table-column
               v-if="infoData.verifyStatus == 2"
               label="操作"
-              width="200"
+              width="210"
               fixed="right"
               align="center"
             >