qinxianzhangyao
2024-07-23 28b11b6ca5fad4ec33d4a1a4bbab62d5364cdab4
src/views/sampling/sampling/index.vue
@@ -70,7 +70,7 @@
        <el-button
          type="primary"
          icon="el-icon-thumb"
          size="mini"
          size="mini" style="margin:0 15px;"
          @click="Confirmreceipt"
          >确认采样</el-button
        >
@@ -433,8 +433,14 @@
    getList() {
      this.loading = true;
      this.queryParams.isSignFor = this.tjStatus;
      this.queryParams.beginTime = this.createTimeList[0];
      if(this.createTimeList){
        this.queryParams.beginTime = this.createTimeList[0];
      this.queryParams.endTime = this.createTimeList[1];
      }else if(this.createTimeList == null){
        this.queryParams.beginTime = null;
      this.queryParams.endTime = null;
      }
      getList(this.queryParams).then((response) => {
        if (response.data) {
          if (response.data.list == null) {
@@ -488,7 +494,7 @@
      this.resetForm("form");
    },
    hb() {
      console.log(this.queryParams.tjNum);
      // console.log(this.queryParams.tjNum);
      if (this.queryParams.tjNum != null) {
        this.handleQuery();
      }