This commit is contained in:
杰 朱
2021-05-20 08:50:37 +08:00
parent e0fed53d6a
commit ffa898b979
3 changed files with 47 additions and 19 deletions

View File

@@ -105,6 +105,14 @@ export default {
fixed: "left",
width: 80,
},
{
title: "类别",
align: "center",
key: "description",
fixed: "left",
width: 95,
},
{
title: "产品编码",
align: "center",
@@ -117,7 +125,7 @@ export default {
title: "产品名称",
align: "center",
key: "c_inv_name",
width: 150,
width: 140,
fixed: "left",
className: "demo-table-info-new",
},
@@ -125,7 +133,7 @@ export default {
title: "产品规格",
align: "center",
key: "c_inv_std",
width: 180,
width: 175,
fixed: "left",
},
{
@@ -133,7 +141,7 @@ export default {
align: "center",
key: "c_com_unit_name",
fixed: "left",
width: 100,
width: 95,
},
{
title: "投产量",
@@ -154,7 +162,7 @@ export default {
align: "center",
fixed: "left",
width: 100,
width: 95,
render: (h, params) => {
return (
<span>
@@ -163,6 +171,13 @@ export default {
);
},
},
{
title: "状态",
align: "center",
key: "st",
fixed: "left",
width: 80,
},
{
title: "子件编码",
align: "center",
@@ -174,17 +189,16 @@ export default {
{
title: "子件名称",
align: "center",
width: 150,
width: 135,
key: "cinvname1",
className: "demo-table-info-old",
fixed: "left",
},
{
title: "子件规格",
width: 200,
width: 175,
align: "center",
key: "cinvstd1",
fixed: "left",
},
{
title: "子件单位",
@@ -300,14 +314,18 @@ export default {
},
async loadData() {
try {
let _filert = {
inv_codes: this.filter.inv_codes !== '' ? this.filter.inv_codes.split(/[,\s\n,]/) : null,
mo_codes: this.filter.mo_codes !== '' ? this.filter.mo_codes.split(/[,\s\n,]/) : null,
by_finish: this.filter.by_finish,
byiss: this.filter.byiss,
}
let _filert = {
inv_codes:
this.filter.inv_codes !== ""
? this.filter.inv_codes.split(/[,\s\n,]/)
: null,
mo_codes:
this.filter.mo_codes !== ""
? this.filter.mo_codes.split(/[,\s\n,]/)
: null,
by_finish: this.filter.by_finish,
byiss: this.filter.byiss,
};
this.loading = true;
let resp = await getInventorymom(_filert);
this.pageNo = 1;