Fixiaobai
2023-08-29 59bcdc1739c6d5f2ef88b9cbc29d309ce52e6a26
修改
已修改1个文件
22 ■■■■■ 文件已修改
src/views/experiment/inspectionApplication/index.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/experiment/inspectionApplication/index.vue
@@ -194,12 +194,14 @@
                  <el-row :gutter="100">
                      <el-col :span="10">
                          <el-form-item label="来料日期:">
                              <el-input style="width: 300px" type="text" :value="infoForm.startTime" placeholder="请输入来料日期" autocomplete="off" />
                          </el-form-item>
                              <!-- <el-input style="width: 300px" type="text" :value="infoForm.startTime" placeholder="请输入来料日期" autocomplete="off" /> -->
                              <el-date-picker style="width: 300px"
                                    v-model="infoForm.startTime" type="date" placeholder="选择日期"> </el-date-picker>
                            </el-form-item>
                      </el-col>
                      <el-col :span="10">
                          <el-form-item label="供应商名称:">
                              <el-input style="width: 300px" type="text" :value="infoForm.supplierName" placeholder="请输入供应商名称" autocomplete="off" />
                              <el-input style="width: 300px" type="text" :value="infoForm.supplier" placeholder="请输入供应商名称" autocomplete="off" />
                          </el-form-item>
                      </el-col>
                      </el-row>
@@ -485,7 +487,7 @@
                min-width="8%"
              />
              <el-table-column
                prop="supplierName"
                prop="supplier"
                label="供应商名称"
                min-width="12%"
              />
@@ -520,7 +522,7 @@
                min-width="8%"
              />
              <el-table-column
                prop="supplier"
                prop="surveyor"
                label="检验人"
                min-width="8%"
              />
@@ -530,12 +532,12 @@
                min-width="8%"
              />
              <el-table-column
                prop="condition"
                prop="type"
                label="状态"
                min-width="8%"
              >
              <template slot-scope="scope">
                <span :style="{ color: scope.row.state === 1 ? 'green' : 'red' }">
                <span :style="{ color: scope.row.state === type ? 'green' : 'red' }">
                  {{ scope.row.state===1 ? '已检测':'待检测' }}
                </span>
              </template>
@@ -703,7 +705,7 @@
    methods: {
      async selectAll(){
        const res = selectAll({type:0})
        // console.log(res);
        console.log(res);
        this.rawMaterialTable = res.data
      },
      async selectAll(){
@@ -747,7 +749,7 @@
          specifications:this.tmp.specifications,
          version:this.aa
        })
        console.log(res);
        // console.log(res);
        this.tableData = res.data
      },
      ccc(val){
@@ -828,6 +830,8 @@
    },
    handleRawMaterialSelection(){
      this.infoForm = this.tmp
      // console.log( this.infoForm );
      this.infoForm.endTime=[this.infoForm.startTime,this.infoForm.endTime]
      // console.log(this.infoForm);
      this.rawmaterialVisible = false