| | |
| | | @close="inventorySetting.show = false" |
| | | @search="search" |
| | | /> |
| | | <detail v-if="inventoryDetail.show" :setting="inventoryDetail" @close="inventoryDetail.show = false" @search="search" /> |
| | | </el-card> |
| | | </el-container> |
| | | </el-container> |
| | |
| | | import SettingIplatform from '@/utils/settingIplatform'; |
| | | import edit from './edit'; |
| | | import inventory from './inventory'; |
| | | import detail from './detail'; |
| | | import * as finsystenant from '@/api/baseSetting/finsystenant'; |
| | | import myImport from '@/views/components/myImport'; |
| | | import { getBaseUrl } from '@/utils/base'; |
| | |
| | | |
| | | export default { |
| | | name: 'index', |
| | | components: { MyButton, MyTableV2, edit, myImport, inventory }, |
| | | components: { MyButton, MyTableV2, edit, myImport, inventory,detail }, |
| | | data() { |
| | | return { |
| | | // 搜索框 |
| | |
| | | show: false, |
| | | }, |
| | | inventorySetting: { |
| | | title: '', |
| | | id: '', |
| | | orgId: '', |
| | | show: false, |
| | | }, |
| | | inventoryDetail:{ |
| | | title: '', |
| | | id: '', |
| | | orgId: '', |
| | |
| | | showInventory(row) { |
| | | this.inventorySetting.id = row.id; |
| | | this.inventorySetting.info = JSON.stringify(row); |
| | | this.inventorySetting.title = '盘点'; |
| | | this.inventorySetting.title = '盘点任务'; |
| | | this.inventorySetting.show = true; |
| | | }, |
| | | showInventoryDetail(row) { |
| | | this.inventorySetting.id = row.id; |
| | | this.inventorySetting.info = JSON.stringify(row); |
| | | this.inventorySetting.title = '盘点'; |
| | | this.inventorySetting.show = true; |
| | | this.inventoryDetail.id = row.id; |
| | | this.inventoryDetail.info = JSON.stringify(row); |
| | | this.inventoryDetail.title = '盘点详情'; |
| | | this.inventoryDetail.show = true; |
| | | }, |
| | | // 查询table列表 |
| | | search(pageNum) { |