智慧农业后台管理页面
guoshilong
2022-08-24 41dc8bedbfee679decb94d2df35c10fc003e258a
src/views/soldrecord/soldrecord.vue
@@ -20,6 +20,12 @@
            @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"
@@ -64,6 +70,8 @@
                align: "center",
                menu: false,
                dialogClickModal: false,
                refreshBtn:false,
                columnBtn:false,
                column: [
                    {
                        label: "农资",
@@ -157,6 +165,9 @@
      this.farm.id = this.$farmId
    },
    methods: {
        prev(){
            this.$router.go(-1)
        },
        rowSave (row, done, loading) {
            add(row).then(() => {
                this.onLoad(this.page)