licp
2024-10-23 70b0536fd16503148d212bf323e68b09e61c3e04
修改样品班次
已修改5个文件
28 ■■■■ 文件已修改
src/components/do/b1-ins-order/add.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/tool/file-preview.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/a5-laboratory-qualifications.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b1-sample.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/b3-classes.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/do/b1-ins-order/add.vue
@@ -2657,7 +2657,8 @@
        if(row.section === null) {
          row.section = ""
        }
        let arr = this.productList.filter(m=>m.state==1&&row.section.includes(m.section)&&m.ask&&m.section.indexOf('[')==-1)
        // console.log(row,this.productList)
        let arr = this.productList.filter(m=>m.state==1&&m.bsmRow&&m.bsmRow.section==row.section&&row.section.includes(m.section)&&m.ask&&m.section.indexOf('[')==-1)
        if (row.bsm === '1' && row.section !== '' && row.section !== null && row.state === 1&&arr.length==0) {
          if (row.section.indexOf('[') > -1) {
            row.bsmRow = this.HaveJson(row)
src/components/tool/file-preview.vue
@@ -129,6 +129,7 @@
    renderedHandler() {
        console.log("渲染完成")
        this.isDocShow = true
        this.resetStyle()
    },
    errorHandler() {
        console.log("渲染失败")
@@ -196,6 +197,15 @@
      }
      return result
    },
    resetStyle(){
      const elements = document.querySelectorAll('[style*="pt"]');
      for (const element of elements) {
        const style = element.getAttribute('style');
        if (!!style) {
          element.setAttribute('style', style.replace(/pt/g, 'px'));
        }
      }
    }
  }
}
</script>
src/components/view/a5-laboratory-qualifications.vue
@@ -100,7 +100,7 @@
                </div>
                <div class="search_thing" style="padding-left: 30px;">
                    <el-button size="small" @click="refresh()">重 置</el-button>
                    <el-button size="small" type="primary" @click="refreshTable()">查 询</el-button>
                    <el-button size="small" type="primary" @click="list=[],refreshTable()">查 询</el-button>
                </div>
            </div>
            <div class="table" v-if="radio==1" v-loading="pageLoading" @scroll="scrollFn">
@@ -405,7 +405,7 @@
          this.list=[];
          this.entity={
            name: null,
            orderBy: {field: "id", order: "asc"}
            // orderBy: {field: "id", order: "asc"}
          };
          this.refreshTable()
        }
src/components/view/b1-sample.vue
@@ -195,7 +195,7 @@
        <div class="search_thing">
          <div class="search_label">样品编号:</div>
          <div class="search_input">
            <el-input placeholder="请输入样品编号" v-model="searchSampleCode" size="small" autocomplete="off">
            <el-input placeholder="请输入样品编号" v-model="searchSampleCode" size="small">
              <el-button slot="append" icon="el-icon-search" @click="handleSearch"></el-button>
            </el-input>
          </div>
@@ -439,6 +439,11 @@
            clearInterval(this.startTime)
        }
      },
      isEdit(newVal){
        if(!newVal){
          this.shelves = {}
        }
      }
    },
    mounted() {
      this.selectList()
src/components/view/b3-classes.vue
@@ -29,14 +29,14 @@
          </el-option>
        </el-select>
        <el-input v-model="query.userName" placeholder="请输入人员名称" size="small" style="width: 140px;margin: 0 16px;" clearable @keyup.enter.native="refreshTable()"></el-input>
        <el-select v-model="query.laboratory" placeholder="请选择实验室" style="width: 140px;" size="small" clearable @change="refreshTable()">
        <!-- <el-select v-model="query.laboratory" placeholder="请选择实验室" style="width: 140px;" size="small" clearable @change="refreshTable()">
          <el-option
            v-for="item in laboratory"
            :key="item.value"
            :label="item.label"
            :value="item.value">
          </el-option>
        </el-select>
        </el-select> -->
      </div>
    </div>
    <div class="search_thing" style="padding-left: 30px;">