Fixiaobai
2023-09-20 784576887295234154774fe1e9761ec9b3ab02d2
	modified:   src/components/view/mbom.vue
modified: src/components/view/standard.vue
已修改2个文件
16 ■■■■ 文件已修改
src/components/view/mbom.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/standard.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/view/mbom.vue
@@ -53,11 +53,11 @@
                        <el-table border :data="tableapi" height="calc(80vh - 250px)" style="width: 100%">
                            <el-table-column type="index" label="序号" width="70">
                            </el-table-column>
                            <el-table-column prop="date" label="供应商名称" width="180">
                            <!-- <el-table-column prop="date" label="供应商名称" width="180">
                                <template slot-scope="scope">
                                    <el-input v-model="scope.row.supplier" placeholder=""></el-input>
                                </template>
                            </el-table-column>
                            </el-table-column> -->
                            <el-table-column prop="" label="质量追溯号" width="180">
                                <template slot-scope="scope">
                                    <el-input v-model="scope.row.qualityTraceability" placeholder=""></el-input>
src/components/view/standard.vue
@@ -159,7 +159,7 @@
            </el-col>
            <el-col :span="12">
              <el-form-item label="指标名称:" prop="name">
                <el-input size="small" v-model="targetForm.name" placeholder="请输入指标名称"/>
                <el-input size="small"  v-model="targetForm.name" placeholder="请输入指标名称"/>
              </el-form-item>
            </el-col>
          </el-row>
@@ -226,12 +226,12 @@
              <el-table :data="materialForm.tableList" border max-height="470"
              :cell-style="{height:'20px',textAlign:'left'}"
              :header-cell-style="{height:'20px'}">
                <el-table-column label="供应商名称">
                <!-- <el-table-column label="供应商名称">
                  <template slot-scope="scope">
                      <el-input size="mini" v-model="scope.row.supplier"
                      placeholder="请输入"></el-input>
                  </template>
                </el-table-column>
                </el-table-column> -->
                <el-table-column label="质量追溯号">
                  <template slot-scope="scope">
                      <el-input size="mini" v-model="scope.row.qualityTraceability"
@@ -442,8 +442,8 @@
        father:{required:true,message:'项目不能为空',trigger:'change'},
        name:{required:true,message:'指标名称不能为空',trigger:'blur'},
        unit:{required:true,message:'单位不能为空',trigger:'change'},
        internal:{validator:checkVal,trigger:'change'},
        required:{validator:checkVal,trigger:'change'}
        internal:{required:true,message:'内控值不能为空',trigger:'change'},
        required:{required:true,message:'标准值不能为空',trigger:'change'}
      },
      //物料清单
      materialForm:{
@@ -845,7 +845,7 @@
        "num": null,
        "qualityTraceability": "",
        "specifications": "",
        "supplier": "",
        // "supplier": "",
        "unit": ""
      }
      this.materialForm.tableList.push(obj);