|
|
|
|
@ -63,6 +63,12 @@
|
|
|
|
|
<template v-slot:FFactoryCode="{ data }">
|
|
|
|
|
{{ data.FFactoryCode }}
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:FConversionPersonnel="{ data }">
|
|
|
|
|
{{ data.FConversionPersonnel }}
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:FDevDate="{ data }">
|
|
|
|
|
{{ data.FDevDate }}
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:FAddDate="{ data }">
|
|
|
|
|
{{ data.FAddDate }}
|
|
|
|
|
</template>
|
|
|
|
|
@ -138,17 +144,12 @@
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "转规格人员",
|
|
|
|
|
key: "",
|
|
|
|
|
key: "FConversionPersonnel",
|
|
|
|
|
width: "110px"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "开发日期",
|
|
|
|
|
key: "",
|
|
|
|
|
width: "110px"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "BOM版本号",
|
|
|
|
|
key: "",
|
|
|
|
|
key: "FDevDate",
|
|
|
|
|
width: "110px"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
@ -258,12 +259,14 @@
|
|
|
|
|
this.postData.FPageIndex = this.pageInfo.current;
|
|
|
|
|
this.postData.FPageSize = this.pageInfo.limit;
|
|
|
|
|
let result = await getPageList(this.postData, "Formula");
|
|
|
|
|
console.log('result', result);
|
|
|
|
|
result.Data.List = result.Data.List || [];
|
|
|
|
|
result.Data.List.forEach((item) => {
|
|
|
|
|
let type = this.typeList.find(s => s.FValue == item.FType);
|
|
|
|
|
item.FTypeName = type == null ? item.FType : type.FName;
|
|
|
|
|
item.FAddDate = item.FAddDate == null ? "" : this.dateFormat(item.FAddDate);
|
|
|
|
|
item.FEditDate = item.FEditDate == null ? "" : this.dateFormat(item.FEditDate);
|
|
|
|
|
item.FDevDate = item.FDevDate == null ? "" : this.dateFormat(item.FDevDate);
|
|
|
|
|
});
|
|
|
|
|
this.pageInfo.total = result.Data.Total || 0;
|
|
|
|
|
this.dataList = result.Data.List;
|
|
|
|
|
|