Commit 3755291a authored by “lixuyan”'s avatar “lixuyan”

添加返厂依据

parent 544c9a18
...@@ -1837,12 +1837,12 @@ export default { ...@@ -1837,12 +1837,12 @@ export default {
'fieldName': 'targetId', 'fieldName': 'targetId',
'operator': 'EQ', 'operator': 'EQ',
'value': this.basicData.materialTypeId || '' 'value': this.basicData.materialTypeId || ''
},
{
'fieldName': 'source.extDxProductAreaId',
'operator': 'EQ',
'value': this.basicData.extDxProductAreaId || ''
} }
// {
// 'fieldName': 'source.extDxProductAreaId',
// 'operator': 'EQ',
// 'value': this.basicData.extDxProductAreaId || ''
// }
], ],
'operator': 'AND' 'operator': 'AND'
} }
...@@ -1858,6 +1858,7 @@ export default { ...@@ -1858,6 +1858,7 @@ export default {
const STORAGE = this.formFileds[0].data.find( const STORAGE = this.formFileds[0].data.find(
(item) => item.key === 'storageZone' (item) => item.key === 'storageZone'
) )
res.items.content = res.items.content.filter(item => { return item.source })
STORAGE.component.options = res.items.content.map((item) => { STORAGE.component.options = res.items.content.map((item) => {
return { return {
label: item.source && item.source.extname, label: item.source && item.source.extname,
......
...@@ -176,7 +176,8 @@ export default { ...@@ -176,7 +176,8 @@ export default {
title: '创建时间', key: 'createTime', align: 'center', headerAlign: 'center', width: '120', formatter: (row, column, cellValue, index) => { title: '创建时间', key: 'createTime', align: 'center', headerAlign: 'center', width: '120', formatter: (row, column, cellValue, index) => {
return row.createTime && row.createTime.split(' ')[0] return row.createTime && row.createTime.split(' ')[0]
} }
} },
{ title: '返厂依据', key: 'callBackBill', align: 'center', headerAlign: 'center' }
], ],
optionsTree: { optionsTree: {
rowKey: 'id', rowKey: 'id',
......
...@@ -289,7 +289,8 @@ export default { ...@@ -289,7 +289,8 @@ export default {
title: '创建时间', key: 'createTime', align: 'center', headerAlign: 'center', width: '120', formatter: (row, column, cellValue, index) => { title: '创建时间', key: 'createTime', align: 'center', headerAlign: 'center', width: '120', formatter: (row, column, cellValue, index) => {
return row.createTime && row.createTime.split(' ')[0] return row.createTime && row.createTime.split(' ')[0]
} }
} },
{ title: '返厂依据', key: 'callBackBill', align: 'center', headerAlign: 'center' }
] ]
if ((this.basicData.subTypeName === 'InStoragePurchaseItem' || this.basicData.subTypeName === 'InStorageRecallItem' || this.basicData.subTypeName === 'InStorageExpireItem') && this.basicData.state === 'In_Confirm') { if ((this.basicData.subTypeName === 'InStoragePurchaseItem' || this.basicData.subTypeName === 'InStorageRecallItem' || this.basicData.subTypeName === 'InStorageExpireItem') && this.basicData.state === 'In_Confirm') {
return tableConlumn return tableConlumn
......
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