|
@@ -36,7 +36,7 @@ export default {
|
|
|
{ type: 'index', columnKey: 'index', align: 'center', label: '序号', width: 55, showOverflowTooltip: true, fixed: 'left' },
|
|
{ type: 'index', columnKey: 'index', align: 'center', label: '序号', width: 55, showOverflowTooltip: true, fixed: 'left' },
|
|
|
{ label: '样品编码', prop: 'sampleCode', width: 120, showOverflowTooltip: true, align: 'center', fixed: 'left' },
|
|
{ label: '样品编码', prop: 'sampleCode', width: 120, showOverflowTooltip: true, align: 'center', fixed: 'left' },
|
|
|
{ label: '编码', prop: 'categoryCode', width: 120, showOverflowTooltip: true, align: 'center', fixed: 'left' },
|
|
{ label: '编码', prop: 'categoryCode', width: 120, showOverflowTooltip: true, align: 'center', fixed: 'left' },
|
|
|
- { label: '名称', prop: 'categoryName', width: 120, showOverflowTooltip: true, align: 'center' },
|
|
|
|
|
|
|
+ { label: '名称', prop: 'categoryName', width: 120, showOverflowTooltip: true, align: 'center' , fixed: 'left' },
|
|
|
{ label: '批次号', prop: 'batchNo', align: 'center', width: 100, showOverflowTooltip: true },
|
|
{ label: '批次号', prop: 'batchNo', align: 'center', width: 100, showOverflowTooltip: true },
|
|
|
{ label: '发货条码', prop: 'barcodes', align: 'center', width: 120, showOverflowTooltip: true },
|
|
{ label: '发货条码', prop: 'barcodes', align: 'center', width: 120, showOverflowTooltip: true },
|
|
|
{ label: '包装编码', prop: 'packageNo', align: 'center', width: 120, showOverflowTooltip: true },
|
|
{ label: '包装编码', prop: 'packageNo', align: 'center', width: 120, showOverflowTooltip: true },
|
|
@@ -56,19 +56,30 @@ export default {
|
|
|
{ label: '货位', prop: 'goodsAllocationName', align: 'center', showOverflowTooltip: true },
|
|
{ label: '货位', prop: 'goodsAllocationName', align: 'center', showOverflowTooltip: true },
|
|
|
{ label: '生产日期', prop: 'productionDate', align: 'center', showOverflowTooltip: true },
|
|
{ label: '生产日期', prop: 'productionDate', align: 'center', showOverflowTooltip: true },
|
|
|
{ label: '采购日期', prop: 'purchaseDate', align: 'center', showOverflowTooltip: true },
|
|
{ label: '采购日期', prop: 'purchaseDate', align: 'center', showOverflowTooltip: true },
|
|
|
|
|
+ { label: '留样日期', prop: 'sampleDate', align: 'center', showOverflowTooltip: true ,formatter: (row, column, cellValue) => {
|
|
|
|
|
+ return cellValue?.split(' ')[0];
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ { label: '留样条件', prop: 'sampleCondition', align: 'center', showOverflowTooltip: true },
|
|
|
|
|
+ { label: '生产商/受托生产', prop: 'producerManufacturer', align: 'center',width: 130, showOverflowTooltip: true },
|
|
|
|
|
+ { label: '留样地点', prop: 'samplePlace', align: 'center', showOverflowTooltip: true },
|
|
|
|
|
+ { label: '留样备注', prop: 'sampleRemark', align: 'center', showOverflowTooltip: true },
|
|
|
{
|
|
{
|
|
|
label: '处置状态', prop: 'disposalStatus', align: 'center', formatter: (row, column, cellValue) => {
|
|
label: '处置状态', prop: 'disposalStatus', align: 'center', formatter: (row, column, cellValue) => {
|
|
|
return cellValue == 6 ? '留样' : '';
|
|
return cellValue == 6 ? '留样' : '';
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- { label: '处置时间', prop: 'disposeTime', align: 'center', width: 100, showOverflowTooltip: true },
|
|
|
|
|
|
|
+ { label: '处置时间', prop: 'disposeTime', align: 'center', width: 100, showOverflowTooltip: true,formatter: (row, column, cellValue) => {
|
|
|
|
|
+ return cellValue?.split(' ')[0];
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
label: '质检状态', prop: 'qualityStatus', align: 'center', formatter: (row, column, cellValue) => {
|
|
label: '质检状态', prop: 'qualityStatus', align: 'center', formatter: (row, column, cellValue) => {
|
|
|
return cellValue == 0 ? '未检' : cellValue == 1 ? '已检' : cellValue == 2 ? '待检' : '';
|
|
return cellValue == 0 ? '未检' : cellValue == 1 ? '已检' : cellValue == 2 ? '待检' : '';
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label: '质检结果', prop: 'qualityResults', align: 'center', formatter: (row, column, cellValue) => {
|
|
|
|
|
|
|
+ label: '质检结果', prop: 'qualityResults', align: 'center', fixed: 'right', formatter: (row, column, cellValue) => {
|
|
|
return cellValue == 1 ? '合格' : cellValue == 2 ? '不合格' : '';
|
|
return cellValue == 1 ? '合格' : cellValue == 2 ? '不合格' : '';
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|