From cb1f69717eed3b6a61b6c61a8934bac752782b2d Mon Sep 17 00:00:00 2001 From: wwl <xchao828@163.com> Date: 星期三, 05 三月 2025 17:00:38 +0800 Subject: [PATCH] 1 --- src/views/system/Checkout/index.vue | 30 ++++++++++++++++++++---------- 1 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/views/system/Checkout/index.vue b/src/views/system/Checkout/index.vue index e7d8f17..860a702 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"> + <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 @@ -380,7 +387,7 @@ <!-- 寮冩2锛屽欢鏈�3 --> <div slot="footer" class="dialog-footer"> <!-- <el-button @click="cancel">寤舵湡</el-button> --> - <el-button @click="canaffirm">纭绛剧</el-button> + <el-button :loading = isLoading @click="canaffirm">纭绛剧</el-button> </div> </el-dialog> </div> @@ -405,7 +412,7 @@ components: { ViewPdf, }, - dicts: ["dict_pay_type"], + dicts: ["dict_pay_type","sys_user_sex"], name: "Order", data() { return { @@ -413,6 +420,7 @@ leave: false, checked: false, radioId1: false, + isLoading:false, createTimeList: [], cusId: "", payType: "0", @@ -810,7 +818,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 +827,6 @@ this.tcShow = false; return; } else { - return; } } @@ -883,7 +890,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 = "鐢�"; @@ -966,11 +974,13 @@ domainVos: this.DataList, tjNumber: this.tjNumber, }; + this.isLoading = true gettjGoOut(data).then((res) => { if (res.code === 200) { this.$modal.msgSuccess("鎿嶄綔鎴愬姛"); this.open = false; this.multiple = true; + this.isLoading = false this.getList(); } }); -- Gitblit v1.8.0