From c0b8a21206c58a0161a179c15dfb73e4a8bbf55d Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期一, 19 五月 2025 17:36:17 +0800 Subject: [PATCH] 1 --- src/views/hosp/project/index.vue | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/src/views/hosp/project/index.vue b/src/views/hosp/project/index.vue index 1726610..7e0036e 100644 --- a/src/views/hosp/project/index.vue +++ b/src/views/hosp/project/index.vue @@ -77,6 +77,11 @@ <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.proCheckMethod" /> </template> </el-table-column> + <el-table-column label="鏄惁澶栭��" align="center" prop="proDelivery" :show-overflow-tooltip="true" width="75px"> + <template v-slot="scope"> + {{ scope.row.proDelivery === 0 ? "鏄�" : scope.row.proDelivery === 1 ? "鍚�" : "" }} + </template> + </el-table-column> <el-table-column label="椤圭洰鏍囧噯鍊�" align="center" prop="proScope" :show-overflow-tooltip="true" width="90px"> </el-table-column> <el-table-column label="Lis椤圭洰鍚嶇О" align="center" prop="lisXmmc" :show-overflow-tooltip="true" width="200px"> @@ -228,6 +233,18 @@ </el-form-item> <el-form-item label="鎺掑簭" prop="xh"> <el-input v-model="form.xh" placeholder="璇疯緭鍏ユ帓搴�" style="width: 200px" /> + </el-form-item> + <el-form-item label="鏄惁鍙備笌寮傚父" prop="sfcyyc"> + <el-select v-model="form.sfcyyc" placeholder="璇烽�夋嫨鏄惁鍙備笌寮傚父" style="width: 260px"> + <el-option v-for="dict in dictTypesy" :key="dict.value" :label="dict.label" + :value="dict.value"></el-option> + </el-select> + </el-form-item> + <el-form-item label="鏄惁澶栭��" prop="proDelivery"> + <el-select v-model="form.proDelivery" placeholder="璇烽�夋嫨鏄惁澶栭��" style="width: 200px"> + <el-option v-for="dict in wsTypesy" :key="dict.value" :label="dict.label" + :value="dict.value"></el-option> + </el-select> </el-form-item> </el-form> <el-button style="margin-left: 40px" type="primary" plain size="mini" icon="el-icon-plus" @@ -441,6 +458,26 @@ }, xmmc: "", chargeId: [], + dictTypesy: [ + { + value:"0", + label:"鏄�" + }, + { + value:"1", + label:"鍚�" + } + ], + wsTypesy: [ + { + value:"0", + label:"鏄�" + }, + { + value:"1", + label:"鍚�" + } + ], List: false, deptName: "", deptOption: [], @@ -515,6 +552,8 @@ proScope: "", proSex: "2", resultType: "", + sfcyyc: "0", + proDelivery:"1" }, rules: { createTime: [ @@ -725,6 +764,7 @@ this.title = "浣撴椤圭洰淇℃伅缁存姢"; this.form.deptId = this.queryParams.deptId || null; this.form.proCheckMethod = "N"; + this.form.proDelivery = "1"; if (this.key === "Y") { gettreeList().then((response) => { this.deptOptionstree = response.data; @@ -906,6 +946,7 @@ tjStandardList: [], proStatus: "0", resultType: "1", + proDelivery:'1' }; this.resetForm("form"); }, @@ -989,6 +1030,8 @@ this.form ={} this.form = this.xiugaiList; this.form.proStatus = this.form.proStatus.toString(); + this.form.sfcyyc = this.form.sfcyyc.toString(); + this.form.proDelivery = this.form.proDelivery.toString(); this.proParent = true; this.isPriceDisabled = true; getlist().then((response) => { @@ -1015,6 +1058,8 @@ this.showPrise = this.form.proParentId === "0"; this.showRentPrise = !this.showPrise; this.form.proStatus = this.form.proStatus.toString(); + this.form.sfcyyc = this.form.sfcyyc.toString(); + this.form.proDelivery = this.form.proDelivery.toString() this.form.consumablesList = response.data.consumablesList; this.form.tjStandardList = response.data.tjStandardList; if (this.form.tjStandardList) { -- Gitblit v1.8.0