kongdeqiang
2023-03-30 092ee93f1b3cca41d230dd2d40504bb7be4f9c32
src/components/page/orderRecord/index.vue
@@ -16,6 +16,7 @@
              </el-form-item>
                <el-form-item>
                    <el-button type="primary" size="small" @click="onSearch" icon="el-icon-search">查询</el-button>
                    <el-button type="primary" size="small" @click="onSearch2" icon="el-icon-search">查询</el-button>
                </el-form-item>
            </el-form>
        </div>
@@ -74,6 +75,11 @@
            onSearch() {
                this.loadData();
            },
          onSearch2() {
            this.$byutil.postData(this, this.urlPath+'getById/1000', null,res => {
              console.log(res.data)
            });
          },
          //设置默认日期
          defaultDate(){
            //获取新的时间