huang_an преди 1 година
родител
ревизия
23da88f7cb
променени са 1 файла, в които са добавени 13 реда и са изтрити 1 реда
  1. 13 1
      src/views/warehouseManagement/stockManagement/priceMaintenance.vue

+ 13 - 1
src/views/warehouseManagement/stockManagement/priceMaintenance.vue

@@ -14,6 +14,12 @@
           >
             <el-table-column label="序号" type="index" width="50">
             </el-table-column>
+            <el-table-column
+              label="入库日期"
+              prop="storageTime"
+              align="center"
+              :show-overflow-tooltip="true"
+            ></el-table-column>
             <el-table-column
               label="编码"
               prop="categoryCode"
@@ -251,7 +257,13 @@
         const res = await storageApi.getInboundDetailsById(
           this.$route.query.ids
         );
-        this.productList = res.outInDetailList;
+        this.productList = res.outInDetailList.map((item) => {
+          return {
+            ...item,
+            storageTime: res.storageTime
+          };
+        });
+        console.log(this.productList, 'this.productList');
         this.dialogVisible = true;
       }
     }