Commit bf326576 authored by jingnan's avatar jingnan 👀

是否合格展示修改

parent fd0416f7
...@@ -1996,7 +1996,7 @@ export default { ...@@ -1996,7 +1996,7 @@ export default {
'materialTypeName': this.basicData.materialTypeName.label, 'materialTypeName': this.basicData.materialTypeName.label,
'purchaseUnitId': this.extUnitId, 'purchaseUnitId': this.extUnitId,
'purchaseUnitIdType': 'ExtUnit', 'purchaseUnitIdType': 'ExtUnit',
'isSupplierY': this.basicData.extDxSipplier.isPass === 'Y', // 'isSupplierY': this.basicData.extDxSipplier.isPass === 'Y',
'lotNo': this.form.lotNo, 'lotNo': this.form.lotNo,
'airModel': this.form.airModel, 'airModel': this.form.airModel,
'sorties': this.form.sorties, 'sorties': this.form.sorties,
......
...@@ -455,7 +455,7 @@ export default { ...@@ -455,7 +455,7 @@ export default {
} }
}, },
{ title: '是否合格供应商', key: 'isSupplierY', width: '120', headerAlign: 'center', formatter: (row, column, cellValue, index) => { { title: '是否合格供应商', key: 'isSupplierY', width: '120', headerAlign: 'center', formatter: (row, column, cellValue, index) => {
return cellValue ? '合格' : '不合格' return cellValue === false ? '不合格' : '合格'
} }, } },
{ title: '制造商', key: 'manufacturer', align: 'center', headerAlign: 'center' }, { title: '制造商', key: 'manufacturer', align: 'center', headerAlign: 'center' },
{ {
......
...@@ -109,7 +109,7 @@ export default { ...@@ -109,7 +109,7 @@ export default {
} }
}, },
{ title: '是否合格供应商', key: 'isSupplierY', width: '120', headerAlign: 'center', formatter: (row, column, cellValue, index) => { { title: '是否合格供应商', key: 'isSupplierY', width: '120', headerAlign: 'center', formatter: (row, column, cellValue, index) => {
return cellValue ? '合格' : '不合格' return cellValue === false ? '不合格' : '合格'
} }, } },
{ title: '制造商', key: 'manufacturer', align: 'center', headerAlign: 'center' }, { title: '制造商', key: 'manufacturer', align: 'center', headerAlign: 'center' },
{ {
......
...@@ -222,7 +222,7 @@ export default { ...@@ -222,7 +222,7 @@ export default {
} }
}, },
{ title: '是否合格供应商', key: 'isSupplierY', width: '120', headerAlign: 'center', formatter: (row, column, cellValue, index) => { { title: '是否合格供应商', key: 'isSupplierY', width: '120', headerAlign: 'center', formatter: (row, column, cellValue, index) => {
return cellValue ? '合格' : '不合格' return cellValue === false ? '不合格' : '合格'
} }, } },
{ title: '制造商', key: 'manufacturer', align: 'center', headerAlign: 'center' }, { title: '制造商', key: 'manufacturer', align: 'center', headerAlign: 'center' },
{ {
......
...@@ -90,7 +90,7 @@ export default { ...@@ -90,7 +90,7 @@ export default {
} }
}, },
{ title: '是否合格供应商', key: 'isSupplierY', width: '120', headerAlign: 'center', formatter: (row, column, cellValue, index) => { { title: '是否合格供应商', key: 'isSupplierY', width: '120', headerAlign: 'center', formatter: (row, column, cellValue, index) => {
return cellValue ? '合格' : '不合格' return cellValue === false ? '不合格' : '合格'
} }, } },
{ title: '制造商', key: 'manufacturer', align: 'center', headerAlign: 'center' }, { title: '制造商', key: 'manufacturer', align: 'center', headerAlign: 'center' },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment