| | |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad" |
| | | > |
| | | <template slot-scope="" slot="menuLeft"> |
| | | <el-button type="primary" |
| | | icon="el-icon-back" |
| | | size="small" |
| | | @click="prev">返回</el-button> |
| | | </template> |
| | | <template slot="menuLeft"> |
| | | <el-button |
| | | type="danger" |
| | |
| | | align: "center", |
| | | menu: false, |
| | | dialogClickModal: false, |
| | | refreshBtn:false, |
| | | columnBtn:false, |
| | | column: [ |
| | | { |
| | | label: "农资", |
| | |
| | | this.farm.id = this.$farmId |
| | | }, |
| | | methods: { |
| | | prev(){ |
| | | this.$router.go(-1) |
| | | }, |
| | | rowSave (row, done, loading) { |
| | | add(row).then(() => { |
| | | this.onLoad(this.page) |
| | |
| | | <div class="search"> |
| | | <div style="float: left"> |
| | | <div style="float: left"> |
| | | <el-button style="margin-right:20px" type="primary" size="small" icon="el-icon-back" @click="prev">返回</el-button> |
| | | <el-select |
| | | v-model="formInline.stype" |
| | | placeholder="全部分类" |
| | |
| | | query: item |
| | | }); |
| | | }, |
| | | prev(){ |
| | | this.$router.go(-1) |
| | | }, |
| | | //退回提交 |
| | | submitO(row, done, loading) { |
| | | //退回数量大于入库数量 |
| | |
| | | @size-change="sizeChange" |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad"> |
| | | <template slot-scope="" slot="menuLeft"> |
| | | <el-button type="primary" |
| | | icon="el-icon-back" |
| | | size="small" |
| | | @click="prev">返回</el-button> |
| | | </template> |
| | | <template slot="menuLeft"> |
| | | <el-button type="danger" |
| | | size="small" |
| | |
| | | index: true, |
| | | viewBtn: true, |
| | | align: "center", |
| | | excelBtn:true, |
| | | selection: true, |
| | | dialogClickModal: false, |
| | | refreshBtn:false, |
| | | columnBtn:false, |
| | | searchShowBtn:false, |
| | | excelBtn:true, |
| | | column: [ |
| | | { |
| | | label: "农资", |
| | |
| | | // window.console.log(error); |
| | | // }); |
| | | // }, |
| | | prev(){ |
| | | this.$router.go(-1) |
| | | }, |
| | | rowUpdate(row, index, done, loading) { |
| | | update(row).then(() => { |
| | | this.onLoad(this.page); |