feat(rawstorageinventory): 优化原料库存查询界面并集成检验结果
This commit is contained in:
parent
e43547ca14
commit
d0732df41e
@ -1,9 +1,9 @@
|
||||
package com.ningxia.yunxi.chemmes.module.biz.dal.dataobject.rawstoragelog;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.KeySequence;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.ningxia.yunxi.chemmes.framework.mybatis.core.dataobject.BaseDO;
|
||||
import com.ningxia.yunxi.chemmes.framework.mybatis.core.dataobject.BaseDOWithoutLogic;
|
||||
import lombok.*;
|
||||
|
||||
@ -28,7 +28,7 @@ public class RawStorageLogDO extends BaseDOWithoutLogic {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@TableId
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Integer id;
|
||||
/**
|
||||
* 入/出库Id
|
||||
@ -159,9 +159,4 @@ public class RawStorageLogDO extends BaseDOWithoutLogic {
|
||||
*/
|
||||
private Integer relarionDetailId;
|
||||
private String inventBillNo;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@ -366,8 +366,8 @@ public class RawStorageServiceImpl implements RawStorageService {
|
||||
RawStorageInventoryDO rawStorageInventoryDO = new RawStorageInventoryDO();
|
||||
rawStorageInventoryDO.setStoreHouseId(purReceipt.getStoreHouseId());
|
||||
rawStorageInventoryDO.setStoreAreaId(detail.getStoreAreaId());
|
||||
rawStorageInventoryDO.setStoreHouseCd(detail.getStoreAreCd());
|
||||
rawStorageInventoryDO.setStoreHouseName(detail.getStoreAreaName());
|
||||
rawStorageInventoryDO.setStoreHouseCd(purReceipt.getStoreHouseCd());
|
||||
rawStorageInventoryDO.setStoreHouseName(purReceipt.getStoreHouseName());
|
||||
rawStorageInventoryDO.setStoreAreCd(detail.getStoreAreCd());
|
||||
rawStorageInventoryDO.setStoreAreaName(detail.getStoreAreaName());
|
||||
rawStorageInventoryDO.setMaterialId(detail.getMaterialId());
|
||||
|
||||
@ -73,7 +73,11 @@
|
||||
<el-table-column label="原料名称" align="center" prop="matName" min-width="180px" />
|
||||
<el-table-column label="规格型号" align="center" prop="spec" min-width="130px" />
|
||||
<el-table-column label="批次号" align="center" prop="lotNo" min-width="140px" />
|
||||
<el-table-column label="检验结果" align="center" prop="checkResult" min-width="100px" />
|
||||
<el-table-column label="检验结果" align="center" prop="checkResult" min-width="100px">
|
||||
<template #default="scope">
|
||||
{{ scope.row.checkResult === '0' ? '合格' : scope.row.checkResult === '1' ? '不合格' : scope.row.checkResult === '2' ? '让步接收' : scope.row.checkResult }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="库存数量" align="center" prop="yardQty" min-width="100px" />
|
||||
<el-table-column label="最早入库时间" align="center" prop="earStoreDate" :formatter="dateFormatter2" min-width="150px" />
|
||||
<el-table-column label="单位" align="center" prop="unit" min-width="60px" :formatter="getUnitName" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user