Blame view

src/views/zsgl/zsff/zsff.vue 2.02 KB
jiaozeping@pashanhoo.com committed
1 2 3 4
<template>
  <div class="from-clues">
    <!-- 表单部分 -->
    <div class="from-clues-header">
任超 committed
5
      <el-form :model="ruleForm" label-width="70px">
jiaozeping@pashanhoo.com committed
6 7
        <el-row>
          <el-col :span="5">
任超 committed
8 9
            <el-form-item label="入库编号">
              <el-input v-model="ruleForm.rkbh" placeholder="入库编号"></el-input>
jiaozeping@pashanhoo.com committed
10 11
            </el-form-item>
          </el-col>
任超 committed
12 13
          <el-col :span="8">
            <el-form-item label="人库时间">
任超 committed
14
              <el-date-picker v-model="value" type="daterange" range-separator="至" start-placeholder="开始日期"
任超 committed
15 16 17 18 19
                end-placeholder="结束日期">
              </el-date-picker>
            </el-form-item>
          </el-col>
          <el-col :span="11" class="btnCol">
jiaozeping@pashanhoo.com committed
20
            <el-form-item>
任超 committed
21
              <el-button type="primary" @click="fetchData">查询</el-button>
jiaozeping@pashanhoo.com committed
22 23 24 25 26 27 28 29
              <el-button @click="moreQueryClick()">高级查询</el-button>
            </el-form-item>
          </el-col>
        </el-row>
      </el-form>
    </div>
    <!-- 表格 -->
    <div class="from-clues-content">
任超 committed
30 31 32
      <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="tableData.total"
        @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns"
        :data="tableData.data">
jiaozeping@pashanhoo.com committed
33 34 35 36 37 38 39 40 41 42 43
      </lb-table>
    </div>
  </div>
</template>
<script>
import table from "@/utils/mixin/table";
import { datas, sendThis } from "./zsffdata";
export default {
  name: "zsff",
  components: {},
  mixins: [table],
任超 committed
44
  mounted () {
jiaozeping@pashanhoo.com committed
45 46
    sendThis(this);
  },
任超 committed
47
  data () {
jiaozeping@pashanhoo.com committed
48
    return {
任超 committed
49
      value: '',
任超 committed
50 51 52
      ruleForm: {
        rkbh: "",
        rksj: ""
jiaozeping@pashanhoo.com committed
53 54
      },
      tableData: {
任超 committed
55
        total: 0,
jiaozeping@pashanhoo.com committed
56 57 58 59
        columns: datas.columns(),
        data: [
          {
            slsj: "2022-5-12",
任超 committed
60 61 62 63
          }
        ]
      }
    }
jiaozeping@pashanhoo.com committed
64 65 66
  },
  methods: {
    // 初始化数据
任超 committed
67 68
    fetchData () { },
    openDialog () {
jiaozeping@pashanhoo.com committed
69 70 71 72 73 74 75 76
      console.log(999999999999999);
    },
  },
};
</script>
<style scoped lang="scss">
@import "~@/styles/public.scss";
</style>