王震
2023-08-28 191afda78d09d2d685e8f1691339f9726e7afc7a
src/views/experiment/inspectionApplication/index.vue
@@ -206,7 +206,7 @@
                      <el-row :gutter="100">
                      <el-col :span="10">
                          <el-form-item label="原材料编码:">
                              <el-input style="width: 300px" type="text" :value="infoForm.mcode" placeholder="请输入原材料编码" autocomplete="off" />
                              <el-input style="width: 300px"  type="text" :value="infoForm.mcode" placeholder="请输入原材料编码" autocomplete="off" />
                          </el-form-item>
                      </el-col>
                      <el-col :span="10">
@@ -380,7 +380,7 @@
              title="标准库"
              :visible.sync="Standardframe"
              width="49%"
              height="">
              >
              <el-card>
                  <template slot-scope="scope" >
                    <span>版本选择:</span>
@@ -396,7 +396,7 @@
                    style="width: 100%; margin-bottom: 20px"
                    row-key="id"
                    border
                    height="calc(90vh - 250px)"
                    height="calc(80vh - 250px)"
                    default-expand-all
                    ref="multipleTable"
                    :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
@@ -606,6 +606,7 @@
  import { selectInspectsList, selectAll, addInspect,chooseVer,lookProByVer} from '@/api/experiment/planAssignments'
  export default {
    data() {
      return {
        showDetail: false,
        searchData: {
@@ -614,6 +615,7 @@
          state: '',
        },
        valu:{},
        inputValue: '',
        icode:'',
        inspectionTable: [],
        rawMaterialTable: [],
@@ -701,12 +703,12 @@
    methods: {
      async selectAll(){
        const res = selectAll({type:0})
        console.log(res);
        // console.log(res);
        this.rawMaterialTable = res.data
      },
      async selectAll(){
        const res = selectAll({type:2})
        console.log(res);
        // console.log(res);
        this.commisionTable = res.data
      },
      async handleClick(row){
@@ -715,6 +717,13 @@
        this.$router.push({name:'Viewdetails',query: {id:row.id}});
        this.selectInspectsList()
      },
      // validateInput() {
      //   if (this.inputValue.trim() === '') {
      //  }
      // },      // 输入值为空,弹出提示信息或进行其他处理
      //     alert('输入值不能为空');
      //     return;
      //版本库
      async chooseVer() {
        console.log(this.tmp.materialCoding);
@@ -916,7 +925,9 @@
      //确定跳转
      QUEding(){
        // this.tableRow = a
        this.Standardframe = true
        this.chooseVer()
        
      },