| | |
| | | </el-card> |
| | | </el-container> |
| | | </el-container> |
| | | |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | }, |
| | | }, |
| | | { |
| | | type: 'select', |
| | | type: 'cascader', |
| | | dataIndex: 'categoryId', |
| | | label: '分类', |
| | | placeholder: '请选择', |
| | | defaultValue: '', |
| | | options: [], |
| | | optionsConfig: { |
| | | label: 'modelName', |
| | | label: 'label', |
| | | value: 'id', |
| | | url: SettingIplatform.apiBaseURL + '/pc/base/goods/models/query/goodsModel' |
| | | url: SettingIplatform.apiBaseURL + '/pc/base/category/select/tree', |
| | | props:{checkStrictly:false} |
| | | }, |
| | | }, |
| | | { |
| | |
| | | label: '类别', |
| | | placeholder: '请选择', |
| | | defaultValue: '', |
| | | options: [], |
| | | optionsConfig: { |
| | | label: 'dict_label', |
| | | value: 'dict_value', |
| | | url: SettingIplatform.apiBaseURL + '/permit/dict/data/type/GOODS_PRICE', |
| | | }, |
| | | options: [{ |
| | | label:'A', |
| | | value:'1' |
| | | },{ |
| | | label:'B', |
| | | value:'2' |
| | | },{ |
| | | label:'C', |
| | | value:'3' |
| | | }], |
| | | }, |
| | | ], |
| | | // 树数据 |
| | |
| | | }, |
| | | // 列信息 |
| | | columns: [ |
| | | { title: '机构', field: 'agencyName', align: 'center' }, |
| | | { title: '仓库', field: 'warehouseName', align: 'center' }, |
| | | { title: '分类', field: 'categoryName', align: 'center' }, |
| | | { title: '所属类别', field: 'costType', align: 'center' }, |
| | | { title: '物品名称', field: 'goodsTemplateName', align: 'left' }, |
| | | { title: '规格型号', field: 'baseGoodsModelsName', align: 'left' }, |
| | | { title: '单位', field: 'unit', align: 'left' }, |
| | | { title: '当前库存', field: 'kucun', align: 'left' }, |
| | | { title: '机构', field: 'agencyName', align: 'left', minWidth: 130 }, |
| | | { title: '仓库', field: 'warehouseName', align: 'left', minWidth: 130 }, |
| | | { title: '分类', field: 'categoryName', align: 'left', minWidth: 130 }, |
| | | { title: '所属类别', field: 'costType', align: 'center', width:80 }, |
| | | { title: '物品名称', field: 'goodsTemplateName', align: 'left', minWidth: 140 }, |
| | | { title: '规格型号', field: 'baseGoodsModelsName', align: 'left', minWidth: 130 }, |
| | | { title: '单位', field: 'unit', align: 'center', width:80 }, |
| | | { title: '当前库存', field: 'kucun', align: 'center' }, |
| | | ], |
| | | paging: { |
| | | show: true, // 显示分页 |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | // this.initQuery(); |
| | | }, |
| | | methods: { |
| | | // 导出 |