|
|
|
@ -1188,10 +1188,9 @@
|
|
|
|
|
slotProps.scope.row.costCategory = _item.goodsName || '其它'; |
|
|
|
|
|
|
|
|
|
// 维护状态 |
|
|
|
|
slotProps.scope.row.MaintenanceOrNot = |
|
|
|
|
slotProps.scope.row.incomeCategoryId && slotProps.scope.row.costCategoryId |
|
|
|
|
? '是' |
|
|
|
|
: '否'; |
|
|
|
|
slotProps.scope.row.MaintenanceOrNot = slotProps.scope.row.incomeCategoryId |
|
|
|
|
? '是' |
|
|
|
|
: '否'; |
|
|
|
|
} |
|
|
|
|
" |
|
|
|
|
:remote-method="handleFindGoodsByName" |
|
|
|
@ -1228,10 +1227,9 @@
|
|
|
|
|
slotProps.scope.row.incomeCategory = _item.goodsName || '其它'; |
|
|
|
|
|
|
|
|
|
// 维护状态 |
|
|
|
|
slotProps.scope.row.MaintenanceOrNot = |
|
|
|
|
slotProps.scope.row.incomeCategoryId && slotProps.scope.row.costCategoryId |
|
|
|
|
? '是' |
|
|
|
|
: '否'; |
|
|
|
|
slotProps.scope.row.MaintenanceOrNot = slotProps.scope.row.incomeCategoryId |
|
|
|
|
? '是' |
|
|
|
|
: '否'; |
|
|
|
|
} |
|
|
|
|
" |
|
|
|
|
:remote-method="handleFindGoodsByName" |
|
|
|
@ -2219,8 +2217,7 @@ const onLoad = async (idsArr = []) => {
|
|
|
|
|
for (let i = 0; i < details.package.data.length; i++) { |
|
|
|
|
const element = details.package.data[i]; |
|
|
|
|
|
|
|
|
|
element.MaintenanceOrNot = |
|
|
|
|
element.incomeCategoryName && element.costCategoryId ? '是' : '否'; |
|
|
|
|
element.MaintenanceOrNot = element.incomeCategoryId ? '是' : '否'; |
|
|
|
|
|
|
|
|
|
// 收入结算 |
|
|
|
|
element.confirmIncomeCategoryName = element.incomeCategoryName || '其它'; |
|
|
|
@ -2394,8 +2391,7 @@ const onEditLoad = async () => {
|
|
|
|
|
for (let i = 0; i < details.package.data.length; i++) { |
|
|
|
|
const element = details.package.data[i]; |
|
|
|
|
|
|
|
|
|
element.MaintenanceOrNot = |
|
|
|
|
element.incomeCategoryName && element.costCategoryId ? '是' : '否'; |
|
|
|
|
element.MaintenanceOrNot = element.incomeCategoryId ? '是' : '否'; |
|
|
|
|
|
|
|
|
|
// 收入结算 |
|
|
|
|
element.confirmIncomeCategoryName = element.incomeCategoryName || '其它'; |
|
|
|
@ -4679,7 +4675,7 @@ const handleBatchEdit = () => {
|
|
|
|
|
value.incomeCategoryName = details.package.incomeCategoryName || '其它'; |
|
|
|
|
value.incomeCategory = details.package.incomeCategoryName || '其它'; |
|
|
|
|
|
|
|
|
|
value.MaintenanceOrNot = value.incomeCategoryId && value.costCategoryId ? '是' : '否'; |
|
|
|
|
value.MaintenanceOrNot = value.incomeCategoryId ? '是' : '否'; |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
.catch(() => { |
|
|
|
|