|
|
@ -75,7 +75,6 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
|
import TableHead from '@/components/TableHead/src/TableHead.vue' |
|
|
|
import ImportForm from '@/components/ImportForm/src/ImportForm.vue' |
|
|
|
import Detail from '@/components/Detail/src/Detail.vue' |
|
|
|
import { Console } from 'console' |
|
|
|
|
|
|
|
// 业务类型 |
|
|
|
defineOptions({ name: 'Businesstype' }) |
|
|
@ -290,14 +289,14 @@ const searchFormClick = (searchData) => { |
|
|
|
/** 初始化 **/ |
|
|
|
onMounted(async () => { |
|
|
|
await getList() |
|
|
|
tableObject.tableList.forEach((item) => { |
|
|
|
item.itemTypes = item.itemTypes.split(',') |
|
|
|
item.outLocationTypes = item.outLocationTypes.split(',') |
|
|
|
item.inLocationTypes = item.inLocationTypes.split(',') |
|
|
|
item.outInventoryStatuses = item.outInventoryStatuses.split(',') |
|
|
|
item.inInventoryStatuses = item.inInventoryStatuses.split(',') |
|
|
|
}) |
|
|
|
console.log(tableObject.tableList) |
|
|
|
// tableObject.tableList.forEach((item) => { |
|
|
|
// item.itemTypes = item.itemTypes.split(',') |
|
|
|
// item.outLocationTypes = item.outLocationTypes.split(',') |
|
|
|
// item.inLocationTypes = item.inLocationTypes.split(',') |
|
|
|
// item.outInventoryStatuses = item.outInventoryStatuses.split(',') |
|
|
|
// item.inInventoryStatuses = item.inInventoryStatuses.split(',') |
|
|
|
// }) |
|
|
|
// console.log(300, tableObject.tableList) |
|
|
|
importTemplateData.templateUrl = await BusinesstypeApi.importTemplate() |
|
|
|
}) |
|
|
|
</script> |
|
|
|