库存日志
This commit is contained in:
parent
a0e6e24a92
commit
9b06f3178f
|
|
@ -274,7 +274,7 @@ public class LogAspect
|
||||||
bmStorageLogList.add(bmStorageLog);
|
bmStorageLogList.add(bmStorageLog);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 新购验收任务
|
// 新购验收任务,暂时未加"新购配件入库审核"相关日志 PurchaseAccessoryController.checkInput
|
||||||
if (joinPoint.getArgs()[0] instanceof MaInputVO) {
|
if (joinPoint.getArgs()[0] instanceof MaInputVO) {
|
||||||
MaInputVO maInputVO = (MaInputVO) joinPoint.getArgs()[0];
|
MaInputVO maInputVO = (MaInputVO) joinPoint.getArgs()[0];
|
||||||
for (MaInputRecord maInputRecord : maInputVO.getInputRecordList()) {
|
for (MaInputRecord maInputRecord : maInputVO.getInputRecordList()) {
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,10 @@ public class PurchasePartDetails extends BaseEntity
|
||||||
@ApiModelProperty(value = "规格id")
|
@ApiModelProperty(value = "规格id")
|
||||||
private Long partId;
|
private Long partId;
|
||||||
|
|
||||||
|
/** 实时库存 */
|
||||||
|
@ApiModelProperty(value = "实时库存")
|
||||||
|
private BigDecimal num;
|
||||||
|
|
||||||
/** 规格id */
|
/** 规格id */
|
||||||
@ApiModelProperty(value = "规格id")
|
@ApiModelProperty(value = "规格id")
|
||||||
private Long typeId;
|
private Long typeId;
|
||||||
|
|
@ -194,6 +198,14 @@ public class PurchasePartDetails extends BaseEntity
|
||||||
this.partId = partId;
|
this.partId = partId;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public BigDecimal getNum() {
|
||||||
|
return num;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setNum(BigDecimal num) {
|
||||||
|
this.num = num;
|
||||||
|
}
|
||||||
|
|
||||||
public void setPurchasePrice(String purchasePrice)
|
public void setPurchasePrice(String purchasePrice)
|
||||||
{
|
{
|
||||||
this.purchasePrice = purchasePrice;
|
this.purchasePrice = purchasePrice;
|
||||||
|
|
|
||||||
|
|
@ -310,6 +310,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<select id="selectPutinDetails" resultType="com.bonus.sgzb.material.domain.PurchasePartDetails">
|
<select id="selectPutinDetails" resultType="com.bonus.sgzb.material.domain.PurchasePartDetails">
|
||||||
SELECT pcd.id,
|
SELECT pcd.id,
|
||||||
mt.pa_id as partId,
|
mt.pa_id as partId,
|
||||||
|
mt.num as num,
|
||||||
mt1.pa_id as modelId,
|
mt1.pa_id as modelId,
|
||||||
mt.pa_name specificationType,
|
mt.pa_name specificationType,
|
||||||
mt1.pa_name typeName,
|
mt1.pa_name typeName,
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,9 @@
|
||||||
<el-table-column show-overflow-tooltip align="center" prop="preStoreNum" label="操作前库存" />
|
<el-table-column show-overflow-tooltip align="center" prop="preStoreNum" label="操作前库存" />
|
||||||
<el-table-column show-overflow-tooltip align="center" prop="inNum" label="入库数量" />
|
<el-table-column show-overflow-tooltip align="center" prop="inNum" label="入库数量" />
|
||||||
<el-table-column show-overflow-tooltip align="center" prop="outNum" label="出库数量" />
|
<el-table-column show-overflow-tooltip align="center" prop="outNum" label="出库数量" />
|
||||||
<el-table-column show-overflow-tooltip align="center" prop="backNum" label="退库数量" />
|
<el-table-column show-overflow-tooltip align="center" prop="passNum" label="(退库)合格数量" />
|
||||||
|
<el-table-column show-overflow-tooltip align="center" prop="maintenanceNum" label="(退库)维修数量" />
|
||||||
|
<el-table-column show-overflow-tooltip align="center" prop="scrapNum" label="(退库)报废数量" />
|
||||||
<!-- <el-table-column show-overflow-tooltip align="center" prop="description" label="描述" />-->
|
<!-- <el-table-column show-overflow-tooltip align="center" prop="description" label="描述" />-->
|
||||||
<el-table-column show-overflow-tooltip align="center" prop="postStoreNum" label="操作后库存" />
|
<el-table-column show-overflow-tooltip align="center" prop="postStoreNum" label="操作后库存" />
|
||||||
<el-table-column show-overflow-tooltip align="center" prop="createTime" label="日期" />
|
<el-table-column show-overflow-tooltip align="center" prop="createTime" label="日期" />
|
||||||
|
|
@ -120,10 +122,10 @@ export default {
|
||||||
{ label: '操作前库存', content: 'preStoreNum' },
|
{ label: '操作前库存', content: 'preStoreNum' },
|
||||||
{ label: '入库数量', content: 'inNum' },
|
{ label: '入库数量', content: 'inNum' },
|
||||||
{ label: '出库数量', content: 'outNum' },
|
{ label: '出库数量', content: 'outNum' },
|
||||||
{ label: '退库数量', content: 'backNum' },
|
{ label: '(退库)总数量', content: 'backNum' },
|
||||||
{ label: '合格数量', content: 'passNum' },
|
{ label: '(退库)合格数量', content: 'passNum' },
|
||||||
{ label: '维修数量', content: 'maintenanceNum' },
|
{ label: '(退库)维修数量', content: 'maintenanceNum' },
|
||||||
{ label: '报废数量', content: 'scrapNum' },
|
{ label: '(退库)报废数量', content: 'scrapNum' },
|
||||||
{ label: '操作后库存', content: 'postStoreNum' },
|
{ label: '操作后库存', content: 'postStoreNum' },
|
||||||
{ label: '请求地址', content: 'method' },
|
{ label: '请求地址', content: 'method' },
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue