Merge remote-tracking branch 'origin/dev' into dev

pull/1/head
zengchenxi 9 months ago
commit a7dbb0f7e4

@ -37,6 +37,9 @@ public class StorageMatPageReqVO extends PageParam {
@Schema(description = "批次号")
private String lotNo;
@Schema(description = "子项目编号")
private String projectNo;
@Schema(description = "备注", example = "你猜")
private String description;

@ -46,6 +46,10 @@ public class StorageMatRespVO {
@ExcelProperty("批次号")
private String lotNo;
@Schema(description = "子项目编号")
@ExcelProperty("子项目编号")
private String projectNo;
@Schema(description = "备注", example = "你猜")
@ExcelProperty("备注")
private String description;

@ -40,6 +40,9 @@ public class StorageMatSaveReqVO {
@Schema(description = "批次号")
private String lotNo;
@Schema(description = "子项目编号")
private String projectNo;
@Schema(description = "备注", example = "你猜")
private String description;

@ -56,6 +56,10 @@ public class StorageMatDO extends BaseDO {
*
*/
private String lotNo;
/**
*
*/
private String projectNo;
/**
*
*/

@ -9,6 +9,7 @@ export interface StorageMatVO {
pnId: number
storageOkQty: number
lotNo: string
projectNo: string
description: string
}

@ -162,6 +162,12 @@
<el-input v-model="scope.row.lotNo" />
</template>
</el-table-column>
<el-table-column prop="projectNo" width="120" label="子项目编号">
<template #default="scope">
<el-input v-model="scope.row.projectNo" />
</template>
</el-table-column>
<el-table-column prop="description" width="150" label="备注">
<template #default="scope">
<el-input v-model="scope.row.description" />
@ -499,6 +505,7 @@ const onAddItem = () => {
pnlist: ref([]),
storageOkQty: '',
lotNo: '',
projectNo: '',
description: '',
productBomItemValueDOList: []
}
@ -528,6 +535,7 @@ const handlefuke = (index, item) => {
pnlist: item.pnlist,
storageOkQty: item.storageOkQty,
lotNo: item.lotNo,
projectNo: '',
description: item.description,
productBomItemValueDOList: []
}

@ -706,7 +706,7 @@ onMounted(async () => {
item.cid = matCount
item.matId = matVos.list.find((record) => record.id === item.matId)?.id
//item.matCode = matVos.list.find( (record) => record.id === item.matId)?.id
item.matName = matVos.list.find((record) => record.id === item.matId)?.name
item.matCode = matVos.list.find((record) => record.id === item.matId)?.code
item.matSpec = matVos.list.find((record) => record.id === item.matId)?.spec
item.matType = matVos.list.find((record) => record.id === item.matId)?.materialType
item.matUnit = matVos.list.find((record) => record.id === item.matId)?.unit

Loading…
Cancel
Save