From 494dd9608549c5ff1672306eeeff0ce45ab64582 Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期五, 26 七月 2024 15:47:27 +0800 Subject: [PATCH] qxtj --- src/views/system/Checkout/index.vue | 25 ++++++++++++++++--------- 1 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/views/system/Checkout/index.vue b/src/views/system/Checkout/index.vue index f5a6e55..1be7779 100644 --- a/src/views/system/Checkout/index.vue +++ b/src/views/system/Checkout/index.vue @@ -120,9 +120,10 @@ :show-overflow-tooltip="true" > <template slot-scope="scope"> - <span v-if="scope.row.tjCustomerSex == '0'">鐢�</span> - <span v-if="scope.row.tjCustomerSex == '1'">濂�</span> - <span v-if="scope.row.tjCustomerSex == '2'">鏈煡</span> + <dict-tag + :options="dict.type.sys_user_sex" + :value="scope.row.tjCustomerSex" + /> </template> </el-table-column> <el-table-column @@ -251,7 +252,12 @@ </el-dialog> <!-- 娣诲姞鎴栦慨鏀逛綋妫�璁板綍瀵硅瘽妗� --> - <el-dialog :title="title" :visible.sync="open" width="660px" :close-on-click-modal="false"> + <el-dialog + :title="title" + :visible.sync="open" + width="660px" + :close-on-click-modal="false" + > <el-form :model="formIn" ref="queryForm" @@ -288,7 +294,8 @@ style="width: 116px" ref="inputName" v-model="formIn.tjCustomerSex" - /> + > + </el-input> </el-form-item> <el-form-item label="骞撮緞" prop="tjCustomerAge"> <el-input @@ -405,7 +412,7 @@ components: { ViewPdf, }, - dicts: ["dict_pay_type"], + dicts: ["dict_pay_type","sys_user_sex"], name: "Order", data() { return { @@ -810,7 +817,7 @@ // item.type3 = false // } // }) - + for (let i = 0; i <= this.numberList.length; i++) { if (val.proId == this.numberList[i].proId) { if (this.numberList[i].type2 === true) { @@ -819,7 +826,6 @@ this.tcShow = false; return; } else { - return; } } @@ -883,7 +889,8 @@ handleDelete() { this.title = "绛剧鐧昏"; this.numberList = []; - this.List.forEach((item) => { + let list = JSON.parse(JSON.stringify(this.List)) + list.forEach((item) => { this.formIn = item; if (this.formIn.tjCustomerSex === 0) { this.formIn.tjCustomerSex = "鐢�"; -- Gitblit v1.8.0