|
|
|
@ -1,13 +1,13 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<basic-container> |
|
|
|
<basic-container> |
|
|
|
<avue-crud :option="option" :table-loading="loading" :data="data" ref="crud" v-model="form" :page.sync="page" |
|
|
|
<avue-crud :option="option" :table-loading="loading" :data="data" ref="crud" v-model="form" :page.sync="page" |
|
|
|
:permission="permissionList" |
|
|
|
:permission="permissionList" |
|
|
|
@search-change="searchChange" |
|
|
|
@search-change="searchChange" |
|
|
|
@search-reset="searchReset" |
|
|
|
@search-reset="searchReset" |
|
|
|
@selection-change="selectionChange" |
|
|
|
@selection-change="selectionChange" |
|
|
|
@current-change="currentChange" |
|
|
|
@current-change="currentChange" |
|
|
|
@size-change="sizeChange" |
|
|
|
@size-change="sizeChange" |
|
|
|
@refresh-change="refreshChange" |
|
|
|
@refresh-change="refreshChange" |
|
|
|
@on-load="onLoad"> |
|
|
|
@on-load="onLoad"> |
|
|
|
<!-- @row-click="rowSelect" --> |
|
|
|
<!-- @row-click="rowSelect" --> |
|
|
|
<template slot-scope="scope" slot="menuLeft"> |
|
|
|
<template slot-scope="scope" slot="menuLeft"> |
|
|
|
@ -68,7 +68,10 @@ export default { |
|
|
|
border: true, |
|
|
|
border: true, |
|
|
|
index: true, |
|
|
|
index: true, |
|
|
|
selection: true, |
|
|
|
selection: true, |
|
|
|
viewBtn: true, |
|
|
|
viewBtn: false, |
|
|
|
|
|
|
|
editBtn: false, |
|
|
|
|
|
|
|
delBtn: false, |
|
|
|
|
|
|
|
addBtn: false, |
|
|
|
dialogClickModal: false, |
|
|
|
dialogClickModal: false, |
|
|
|
selection: false, |
|
|
|
selection: false, |
|
|
|
printBtn: false, |
|
|
|
printBtn: false, |
|
|
|
@ -213,11 +216,10 @@ export default { |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
handleDesign() { |
|
|
|
handleDesign() { |
|
|
|
debugger |
|
|
|
|
|
|
|
this.inDialogType = 'add' |
|
|
|
this.inDialogType = 'add' |
|
|
|
this.inDialogTiltle = '新增入库' |
|
|
|
this.inDialogTiltle = '新增入库' |
|
|
|
this.inDialogVisible = true |
|
|
|
this.inDialogVisible = true |
|
|
|
@ -286,7 +288,7 @@ export default { |
|
|
|
this.selectionList = []; |
|
|
|
this.selectionList = []; |
|
|
|
this.$refs.crud.toggleSelection(); |
|
|
|
this.$refs.crud.toggleSelection(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
currentChange(currentPage) { |
|
|
|
currentChange(currentPage) { |
|
|
|
this.page.currentPage = currentPage; |
|
|
|
this.page.currentPage = currentPage; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|