Quellcode durchsuchen

质检计划 质检方案 工艺参数修改

yusheng vor 1 Jahr
Ursprung
Commit
bd7cbfb6d7

+ 3 - 0
src/views/inspectionPlan/components/edit.vue

@@ -95,6 +95,9 @@
             <el-table-column label="质检项编码" prop="inspectionCode" align="center"></el-table-column>
             <el-table-column label="质检项名称" prop="inspectionName" align="center"></el-table-column>
             <el-table-column label="工艺参数" prop="defaultValue" align="center">
+              <template slot-scope="scope" >
+              <el-input :disabled="btnType == 'detail'" v-model="scope.row.defaultValue" placeholder="请输入内容"></el-input>
+             </template>
             </el-table-column>
           </el-table>
           <el-pagination v-show="activeName === '3' && schemeList.length > 0" @size-change="handleSchemeSizeChange"

+ 3 - 0
src/views/inspectionWork/components/QualityContentTabs.vue

@@ -171,6 +171,9 @@
           <el-table-column label="质检项编码" prop="inspectionCode" align="center"></el-table-column>
           <el-table-column label="质检项名称" prop="inspectionName" align="center"></el-table-column>
           <el-table-column label="工艺参数" prop="defaultValue" align="center">
+            <!-- <template slot-scope="scope" >
+              <el-input :disabled="type == 'detail'" v-model="scope.row.defaultValue" placeholder="请输入内容"></el-input>
+             </template> -->
           </el-table-column>
         </el-table>
         <el-pagination @size-change="handleSchemeSizeChange" @current-change="handleSchemeCurrentChange"

+ 1 - 0
src/views/inspectionWork/edit.vue

@@ -612,6 +612,7 @@ export default {
           ...this.form,
           sampleList: this.sampleList,
           planTemplateList: this.schemeList,
+          templateList: this.schemeList,
           qualityInventoryList: this.$refs.tabsRef.$refs.sourceTable.getData()
         }
         URL(params)