From aa6bb1f2363c33e1d3a6c03e984b928160dcca5c Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期三, 27 十二月 2023 16:32:09 +0800 Subject: [PATCH] 修改工艺文件 --- src/views/quality/packageinspect/packageInspect-form.vue | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/views/quality/packageinspect/packageInspect-form.vue b/src/views/quality/packageinspect/packageInspect-form.vue index 53f333c..4dc8c5c 100644 --- a/src/views/quality/packageinspect/packageInspect-form.vue +++ b/src/views/quality/packageinspect/packageInspect-form.vue @@ -64,11 +64,11 @@ </div> <div class="packageInspect-detail"> <el-row :gutter="10" style="width:100%;z-index: 10;height:50px;"> - <el-col :span="20">妫�楠岄」鐩�</el-col> - <el-col :span="2"> - <el-button v-if="resultVal=='' || resultVal==null" style="width:100%" size="small" @click="clickAddLine()">娣诲姞妫�楠岄」鐩�</el-button> + <el-col :sm="18" :lg="20">妫�楠岄」鐩�</el-col> + <el-col :sm="3" :lg="2" > + <el-button v-if="resultVal=='' || resultVal==null" size="small" @click="clickAddLine()">娣诲姞妫�楠岄」鐩�</el-button> </el-col> - <el-col :span="2"> + <el-col :sm="3" :lg="2"> <el-button v-if="resultVal=='' || resultVal==null" style="width:100%" type="primary" size="small" @click="savePackIns()">淇濆瓨</el-button> </el-col> @@ -88,13 +88,13 @@ :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> <el-table-column type="index" label="搴忓彿" width="60"> </el-table-column> - <el-table-column prop="name" label="椤圭洰" width="260"> + <el-table-column prop="name" label="椤圭洰" width="160"> <template slot-scope="scope"> - <el-input :readonly="resultVal!=null" v-if="scope.row.children" class="inline-input" style="width:90%;" v-model="scope.row.name" + <el-input :readonly="resultVal!=null" v-if="scope.row.children" class="inline-input" style="width:80%;" v-model="scope.row.name" placeholder="璇疯緭鍏ラ」鐩悕绉�"></el-input> </template> </el-table-column> - <el-table-column prop="required" label="瑕佹眰" width="260"> + <el-table-column prop="required" label="瑕佹眰" width="160" show-overflow-tooltip> <template slot-scope="scope"> <div v-if="!scope.row.children"> <el-input :readonly="resultVal!=null" v-model="scope.row.required" @@ -102,7 +102,7 @@ </div> </template> </el-table-column> - <el-table-column prop="note" label="妫�楠屾弿杩�" width="260" > + <el-table-column prop="note" label="妫�楠屾弿杩�" width="160" show-overflow-tooltip> <template slot-scope="scope"> <div v-if="!scope.row.children"> <el-input :readonly="resultVal!=null" v-model="scope.row.note" placeholder="妫�楠屾弿杩�"></el-input> @@ -140,8 +140,8 @@ <el-table class="l-mes" border height="90" :data="conclusionTable" ref="conclusion" v-model="conclusion" :header-cell-style="{textAlign:'center',color:'black',backgroundColor:'#fafafa'}" :cell-style="{textAlign:'center'}"> - <el-table-column prop="packageNo" label="鍖呰缂栧彿"></el-table-column> - <el-table-column prop="userName" label="妫�楠屽憳"></el-table-column> + <el-table-column prop="packageNo" label="鍖呰缂栧彿" width="200" show-overflow-tooltip></el-table-column> + <el-table-column prop="userName" label="妫�楠屽憳" width="200" show-overflow-tooltip></el-table-column> <el-table-column prop="result" label="妫�楠岀粨璁�"> <template slot-scope="scope"> <el-select :disabled="resultVal!=null" style="width:100%" v-model="scope.row.result"> @@ -282,7 +282,6 @@ _than.confirmSubmit(_than.submitData,true) } }).catch(error=>{ - console.log("杈撳叆琛屽彿"); _than.dialogVisible = true }) @@ -353,6 +352,7 @@ }) this.list[i].children.splice(childrenIndex,1) } + this.changeResult() }, //淇濆瓨妫�鏌ラ」 savePackIns(){ @@ -379,6 +379,7 @@ updatePackageInsProduct(dataList).then(res=>{ if(res.status===200){ this.$message.success("淇濆瓨鎴愬姛") + this.init() } }).catch(error=>{ console.log(error); -- Gitblit v1.9.3