| | |
| | | <my-table-v2 ref="myTable" :filter="filterFrom" :table="table"/> |
| | | </el-col> |
| | | </el-row> |
| | | <!--添加/编辑弹窗--> |
| | | <edit v-if="editSetting.show" :setting="editSetting" @close="editSetting.show = false" @search="search"/> |
| | | </el-card> |
| | | </el-container> |
| | | </el-container> |
| | |
| | | import MyTableV2 from "@/components/myTable/myTableV2"; |
| | | import MyButton from "@/components/myButton/myButton"; |
| | | import SettingIplatform from '@/utils/settingIplatform'; |
| | | import edit from './edit' |
| | | 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}, |
| | | components: {MyButton, MyTableV2, myImport}, |
| | | data() { |
| | | return { |
| | | // 搜索框 |
| | | items: [ |
| | | { |
| | | type: 'text', |
| | | dataIndex: 'name', |
| | | label: '盘点单号', |
| | | placeholder: '请输入', |
| | | defaultValue: '' |
| | | type: 'cascader', |
| | | dataIndex: 'agencyId', |
| | | label: '机构', |
| | | placeholder: '请选择', |
| | | optionsConfig: { url: '/pc/fin/sys/tenant/select/tree_fin_tenant', props: null }, |
| | | defaultValue: '', |
| | | options: [], |
| | | }, |
| | | // { |
| | | // type: 'select', |
| | | // dataIndex: 'status', |
| | | // label: '类型', |
| | | // placeholder: '请选择', |
| | | // defaultValue: '1', |
| | | // options: [ |
| | | // { |
| | | // label: '启用', |
| | | // value: '1' |
| | | // }, |
| | | // { |
| | | // label: '禁用', |
| | | // value: '0' |
| | | // } |
| | | // ] |
| | | // }, |
| | | { |
| | | type: 'select', |
| | | dataIndex: 'warehouseId', |
| | | label: '盘点仓库', |
| | | placeholder: '请选择', |
| | | defaultValue: '', |
| | | options: [], |
| | | }, |
| | | { |
| | | type: 'text', |
| | | dataIndex: 'name', |
| | | label: '任务名称', |
| | | label: '物品名称', |
| | | placeholder: '请输入', |
| | | defaultValue: '' |
| | | }, |
| | | { |
| | | type: 'select', |
| | | dataIndex: 'warehouseId', |
| | | label: '规格型号', |
| | | placeholder: '请选择', |
| | | defaultValue: '', |
| | | options: [], |
| | | }, |
| | | { |
| | | type: 'select', |
| | | dataIndex: 'warehouseId', |
| | | label: '类型', |
| | | placeholder: '请选择', |
| | | defaultValue: '', |
| | | options: [], |
| | | }, |
| | | { |
| | | type: 'select', |
| | | dataIndex: 'warehouseId', |
| | | label: '出入库类型', |
| | | placeholder: '请选择', |
| | | defaultValue: '', |
| | | options: [], |
| | | }, |
| | | { |
| | | type: 'text', |
| | | dataIndex: 'name', |
| | | label: '单号', |
| | | placeholder: '请输入', |
| | | defaultValue: '' |
| | | }, |
| | | { |
| | | type: 'text', |
| | | dataIndex: 'name', |
| | | label: '操作人', |
| | | placeholder: '请输入', |
| | | defaultValue: '' |
| | | }, |
| | | { |
| | | type: 'date-picker', |
| | | dataIndex: 'incomeTimeStart', |
| | | label: '时间', |
| | | defaultValue: '', |
| | | }, |
| | | { |
| | | type: 'date-picker', |
| | | dataIndex: 'incomeTimeEnd', |
| | | label: '至', |
| | | defaultValue: '', |
| | | }, |
| | | ], |
| | | // 树数据 |
| | |
| | | }, |
| | | // 列信息 |
| | | columns: [ |
| | | {title: '盘点单号', field: 'name', align: 'left',}, |
| | | {title: '任务名称', field: 'code', align: 'center'}, |
| | | {title: '盘点仓库', field: 'lv', align: 'center', }, |
| | | {title: '盘点人', field: 'lv', align: 'center', }, |
| | | {title: '监盘人', field: 'summary', align: 'left',}, |
| | | {title: '盘点时间', field: 'summary', align: 'left',}, |
| | | {title: '创建时间', field: 'summary', align: 'left',}, |
| | | {title: '状态', field: 'summary', align: 'left',}, |
| | | {title: '仓库', field: 'name', align: 'left',}, |
| | | {title: '物品名称', field: 'WAREHOUSE_NAME', align: 'center'}, |
| | | {title: '规格型号', field: 'lv', align: 'center', }, |
| | | {title: '类型', field: 'lv', align: 'center', }, |
| | | {title: '库存数量', field: 'summary', align: 'left',}, |
| | | {title: '盘点数量', field: 'summary', align: 'left',}, |
| | | {title: '异常数量', field: 'summary', align: 'left',}, |
| | | {title: '出入库类型', field: 'summary', align: 'left',}, |
| | | {title: '出入库单号', field: 'summary', align: 'left',}, |
| | | {title: '机构', field: 'summary', align: 'left',}, |
| | | {title: '操作人', field: 'summary', align: 'left',}, |
| | | {title: '操作时间', field: 'summary', align: 'left',}, |
| | | ], |
| | | // 操作信息 |
| | | operation: { |
| | | show: true, // 显示操作列 |
| | | show: false, // 显示操作列 |
| | | width: '150', // 列宽 |
| | | attr: [ |
| | | { |
| | | title: '详情', |
| | | events: (row) => { |
| | | this.showAudit(row); |
| | | }, |
| | | }, |
| | | ], |
| | | attr: [], |
| | | }, |
| | | paging: { |
| | | show: true, // 显示分页 |