春风项目四线(合箱线、总装线)
wujian
2024-08-18 8876c234904459d038a2b282b3fdc30e006f9925
jcdm-ui/src/views/main/rm/repairData/index.vue
@@ -8,9 +8,9 @@
          </div>
          <div style="margin-left: 30%">
            <el-form :inline="true" :model="queryParams" class="myFrom" size="mini">
              <el-form-item label="返修标识">
                <el-input v-model="queryParams.repairIdentification" placeholder="返修标识"></el-input>
              </el-form-item>
<!--              <el-form-item label="返修标识">-->
<!--                <el-input v-model="queryParams.repairIdentification" placeholder="返修标识"></el-input>-->
<!--              </el-form-item>-->
              <el-form-item label="箱体编码">
                <el-input v-model="queryParams.boxCode" placeholder="箱体编码">
                </el-input>
@@ -37,9 +37,9 @@
              type="index"
              width="50"></el-table-column>
            <el-table-column type="selection" width="55" align="center" />
            <el-table-column label="返修标识" align="center" prop="repairIdentification" />
<!--            <el-table-column label="返修标识" align="center" prop="repairIdentification" />-->
            <el-table-column label="箱体编码" align="center" prop="boxCode" />
            <el-table-column label="工序编码" align="center" prop="processesCode" />
            <el-table-column label="工位编号" align="center" prop="processesCode" />
            <el-table-column label="原结果" align="center" prop="originalResult" />
            <el-table-column label="返修结果" align="center" prop="repairResults" />
            <el-table-column label="创建用户" align="center" prop="createUser" />
@@ -148,7 +148,7 @@
    let workOrderNo = this.$route.query.workOrderNo;
    this.queryParams.orderNo = workOrderNo
    this.getMainList();
    this.getChildList();
    // this.getChildList();
  },
  methods: {
    toggleSelection(rows) {
@@ -186,7 +186,7 @@
    //导出
    exportReport(){
      if (this.queryParams.engineNoListExcel.length === 0){
        this.$message.error("请勾选需要导出的数据")
        this.$message.info("请勾选需要导出的数据")
      }else {
        this.queryParams.engineNoList = []
        this.download('rm/repairRecord/exportRepair', {
@@ -199,7 +199,13 @@
    getMainList() {
      this.loading = true;
      console.log(this.queryParams)
      listRepairRecord(this.queryParams).then(response => {
      let query = {
        pageNum: this.queryParams.pageNum,
        pageSize: this.queryParams.pageSize,
        boxCode: this.queryParams.boxCode,
        engineNoList: [],
      }
      listRepairRecord(query).then(response => {
        this.orderSchedulingList = response.rows;
        this.total = response.total;
        this.loading = false;
@@ -218,7 +224,7 @@
    },
    getList(){
      this.getMainList()
      this.getChildList()
      // this.getChildList()
    }
    // handleCurrentChange(val) {
    //   this.multipleSelection = val;