From a51f6cabf6919be2916cfc0b62c856c64b4f93c9 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期四, 26 十二月 2024 08:56:28 +0800 Subject: [PATCH] order --- src/views/hosp/project/index.vue | 47 ++++++++++++++++++++++++++++++++++++----------- 1 files changed, 36 insertions(+), 11 deletions(-) diff --git a/src/views/hosp/project/index.vue b/src/views/hosp/project/index.vue index f7bdc76..27ebed6 100644 --- a/src/views/hosp/project/index.vue +++ b/src/views/hosp/project/index.vue @@ -471,18 +471,32 @@ ></el-option> </el-select> </el-form-item> + <el-form-item label="鍗曚綅" prop="proMetering"> + <el-input + v-model="form.proMetering" + placeholder="璇疯緭鍏ュ崟浣�" + style="width: 260px" + /> + </el-form-item> + <el-form-item label="鍙傝�冭寖鍥�" prop="proScope"> + <el-input + v-model="form.proScope" + placeholder="璇疯緭鍏ュ弬鑰冭寖鍥�" + style="width: 200px" + /> + </el-form-item> <el-form-item label="鏁伴噺" prop="sl"> <el-input v-model="form.sl" placeholder="璇疯緭鍏ユ暟閲�" - style="width: 260px" + style="width: 200px" /> </el-form-item> <el-form-item label="缁勫悎鏍囧織" prop="sfzhfy"> <el-select v-model="form.sfzhfy" placeholder="璇烽�夋嫨鏄惁缁勫悎鏍囧織" - style="width: 200px" + style="width: 260px" > <el-option v-for="dict in dict.type.sys_yes_no" @@ -515,13 +529,11 @@ style="display: inline-block; border-bottom: 2px solid blue" @click="getDetailed" > - 鏄庣粏椤圭洰 - <!-- <el-tooltip effect="dark" content="鏄庣粏椤圭洰" placement="bottom"> - <i class='el-icon-question' @click="getDetailed" /> - </el-tooltip> --> + his椤圭洰鍚嶇О + </span> - <el-input v-model="form.hisXmmc" placeholder="his椤圭洰鍚嶇О" style="width: 260px;"> + <el-input v-model="form.hisXmmc" placeholder="his椤圭洰鍚嶇О" style="width: 200px;"> </el-input> </el-form-item> <el-form-item label="his椤圭洰鍚嶇О" prop="hisXmmc" v-if="key == 'N'"> @@ -532,7 +544,7 @@ <el-input v-model="form.hisXmbm" placeholder="璇疯緭鍏is缂栫爜" - style="width: 200px" + style="width: 260px" /> </el-form-item> <el-form-item label="his鍗曚环" prop="hisdj"> @@ -551,7 +563,7 @@ LIS椤圭洰 </span> - <el-input v-model="form.lisXmmc" placeholder="璇疯緭鍏IS椤圭洰" style="width: 260px;"> + <el-input v-model="form.lisXmmc" placeholder="璇疯緭鍏IS椤圭洰" style="width: 200px;"> </el-input> </el-form-item> @@ -559,7 +571,7 @@ <el-input v-model="form.LISXmbm" placeholder="璇疯緭鍏is缂栫爜" - style="width: 200px" + style="width: 260px" /> </el-form-item> <el-form-item label="澶囨敞" prop="proRemark"> @@ -1026,6 +1038,8 @@ sfxmId: "", lisXmbm: "", lisXmmc: "", + proMetering:'', + proScope:'' }, // 琛ㄥ崟鏍¢獙 rules: { @@ -1125,6 +1139,8 @@ }; getAllChildListById(data).then((response) => { // this.projectList = this.handleTree(response.data.list, "proId"); + console.log(response,1122); + this.projectList = response.data.list; this.loading = false; }); @@ -1140,6 +1156,9 @@ /** 鏂板鎸夐挳鎿嶄綔 */ handleAdd(row) { + this.form.hisXmbm = ''; + this.form.hisXmmc = ''; + this.form.hisdj = ''; // this.reset(); this.loading = true; this.proParent = false; @@ -1208,6 +1227,8 @@ // 鎵撳紑input寮规 getDetailed() { + this.querycharge.xmmc = '' + this.querycharge.pym = '' if (this.selectList) { if (this.selectList.proName === "涓荤被鐩�") { this.dialogTableVisible = false; @@ -1601,6 +1622,8 @@ const proId = row.proId || this.ids; this.proParent = false; getProject(proId).then((response) => { + console.log(response,999); + this.form = response.data; if (this.form.proParentId === "0") { this.showPrise = true; @@ -1841,8 +1864,10 @@ // 鏀惰垂椤圭洰纭 submit() { this.ChangeList.forEach((item) => { - this.form.proName = item.xmmc; this.form.proPrice = item.ckdj; + this.form.hisXmbm = item.xmbm; + this.form.hisXmmc = item.xmmc; + this.form.hisdj = item.ckdj; this.sfxmId = parseInt(item.id); }); this.dialogTableVisible = false; -- Gitblit v1.8.0