From cf76f6292034875727546747a68230bf0befa83d Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期三, 20 九月 2023 15:46:56 +0800 Subject: [PATCH] modified: src/components/view/standard-table/material.vue modified: src/components/view/standard-table/product.vue modified: src/components/view/standard-table/target.vue modified: src/components/view/standard-table/technology.vue --- src/components/view/standard.vue | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/view/standard.vue b/src/components/view/standard.vue index 412a673..a5f0e0e 100644 --- a/src/components/view/standard.vue +++ b/src/components/view/standard.vue @@ -44,19 +44,19 @@ <div class="choose"> <span>绫诲瀷锛�</span> <el-select v-model="tableType" size="small" placeholder="璇烽�夋嫨" @change="TYPE" - style="width: 224px;margin-right: 52px;"> + style="width: 13vw;margin-right: 15px;"> <el-option :value="0" label="宸ヨ壓璺嚎"></el-option> <el-option :value="1" label="鎶�鏈寚鏍�"></el-option> <el-option :value="2" label="鐗╂枡娓呭崟"></el-option> <el-option :value="3" label="鐢熶骇宸ヨ壓"></el-option> </el-select> <span>鐗堟湰锛�</span> - <el-select v-model="versionVal" @change="verevent" size="small" style="width: 280px;margin-right: 52px;" placeholder="璇烽�夋嫨"> + <el-select v-model="versionVal" @change="verevent" size="small" style="width: 13vw;margin-right: 15px;" placeholder="璇烽�夋嫨"> <el-option v-for="(item,index) in versionData" :key="index" :label="item.label" :value="item.value"> </el-option> </el-select> <span>{{ tableType == 1 ? '椤圭洰锛�' : '宸ヨ壓鍚嶇О锛�' }}</span> - <el-input v-model="searchName" size="small" placeholder="璇疯緭鍏�" style="width: 224px;margin-right:10px" + <el-input v-model="searchName" size="small" placeholder="璇疯緭鍏�" style="width: 13vw;margin-right:15px" clearable></el-input> <el-button size="mini" @click="() => { searchName = ''; selectAll() }"> <span>閲� 缃�</span> @@ -70,7 +70,7 @@ <technology @childData="getChildData" @updateDevice="updateDevice" :tableType="tableType" :tableData="tableData"></technology> </div> <div class="contentTable" v-if="this.typeselect == 1"> - <target @childData="getChildData" :tableType="tableType" :tableData="tableData"></target> + <target @childData="getChildData" :tableType="tableType" :tableData="tableData"></target> </div> <div class="contentTable" v-if="this.typeselect == 2"> <material @childData="getChildData" :tableType="tableType" :tableData="tableData"></material> @@ -88,25 +88,25 @@ ref="technologyForm" :rules="technologyRules" label-width="90px"> <el-row> <el-col :span="12"> - <el-form-item label="宸ュ簭:" prop="tefather"> + <el-form-item label="宸ュ簭:" prop="tefather" style="display: flex;"> <el-select size="small" - filterable allow-create default-first-option + filterable allow-create default-first-option style="width: 100%;" v-model="technologyForm.tefather" placeholder="璇疯緭鍏ユ垨閫夋嫨宸ュ簭"> <el-option :value="item.father" :label="item.father" v-for="(item,index) in fatherList" :key="index"></el-option> </el-select> </el-form-item> </el-col> <el-col :span="12"> - <el-form-item label="宸ヨ壓鍚嶇О:" prop="tename"> - <el-input size="small" placeholder="璇疯緭鍏ュ伐鑹哄悕绉�" + <el-form-item label="宸ヨ壓鍚嶇О:" prop="tename" style="display: flex;"> + <el-input style="width: 100%;" size="small" placeholder="璇疯緭鍏ュ伐鑹哄悕绉�" clearable v-model="technologyForm.tename"></el-input> </el-form-item> </el-col> </el-row> <el-row> <el-col :span="12"> - <el-form-item label="璁惧缁�:" prop="deviceGroup"> - <el-select placeholder="璇烽�夋嫨璁惧缁�" size="small" + <el-form-item label="璁惧缁�:" prop="deviceGroup" style="display: flex;"> + <el-select placeholder="璇烽�夋嫨璁惧缁�" size="small" style="width: 100%;" v-model="technologyForm.deviceGroup"> <el-option :value="item.father" v-for="(item,index) in deviceList" :key="index" :label="item.father"></el-option> @@ -114,8 +114,8 @@ </el-form-item> </el-col> <el-col :span="12"> - <el-form-item label="鐢熶骇瀹氶:" prop="productionQuota"> - <el-input size="small" clearable v-model.number="technologyForm.productionQuota" placeholder="璇疯緭鍏ョ敓浜у畾棰�" /> + <el-form-item label="鐢熶骇瀹氶:" prop="productionQuota" style="display: flex;"> + <el-input style="width: 100%;" size="small" clearable v-model.number="technologyForm.productionQuota" placeholder="璇疯緭鍏ョ敓浜у畾棰�" /> </el-form-item> </el-col> </el-row> -- Gitblit v1.9.3