From caef1ff213da160e818342eceb3d77fac0db280d Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期五, 30 五月 2025 16:41:29 +0800 Subject: [PATCH] qx --- src/views/reservation/resercopy/index.vue | 40 ++++++++++++++++------------------------ 1 files changed, 16 insertions(+), 24 deletions(-) diff --git a/src/views/reservation/resercopy/index.vue b/src/views/reservation/resercopy/index.vue index 9902a62..f05c814 100644 --- a/src/views/reservation/resercopy/index.vue +++ b/src/views/reservation/resercopy/index.vue @@ -92,6 +92,7 @@ <!-- <el-table-column label="鑱旂郴閭" align="center" prop="email" /> --> <!-- <el-table-column label="浣撴绫诲埆" align="center" prop="tjCategory" /> --> <el-table-column label="鍒嗙粍" align="center" prop="groupingName" /> + <el-table-column label="鎵�鍦ㄥ湴" align="center" prop="szd" /> <el-table-column label="椤圭洰鏀惰垂" align="center" prop="ysPrice" /> </el-table> </div> @@ -109,8 +110,13 @@ 鏄惁鏇存柊宸茬粡瀛樺湪鐨勭敤鎴锋暟鎹� </div> --> <span>浠呭厑璁稿鍏ls鏍煎紡鏂囦欢銆�</span> - <!-- <el-link type="primary" :underline="false" style="font-size: 12px; vertical-align: baseline" - @click="importTemplate">涓嬭浇妯℃澘</el-link> --> + <!-- <el-link + type="primary" + :underline="false" + style="font-size: 12px; vertical-align: baseline" + @click="importTemplate" + >涓嬭浇妯℃澘</el-link + > --> </div> </el-upload> <div slot="footer" class="dialog-footer"> @@ -174,7 +180,7 @@ </el-date-picker> </el-form-item><br /> <el-form-item label="澶囨敞" prop="remark"> <el-input v-model="form.remark" type="textarea" placeholder="璇疯緭鍏ュ唴瀹�" :rows="2" label-width="400px" - style="width: 830px" resize="none"></el-input> + style="width: 770px" resize="none"></el-input> </el-form-item> </el-form> <div slot="footer" class="dialog-footer2"> @@ -252,7 +258,7 @@ } }; return { - uploadKey: 0, + leftList: "", isdisabled: true, setDisabled: { @@ -271,14 +277,6 @@ fileList: [], //涓婁紶鏂囦欢鍒楄〃 tableHead: [], //琛ㄥご tableData: [], // 琛ㄦ暟鎹� - form: { - company: "", - payType: "", - name: "", - phoe: "", - signingPic: "", - discount: "", - }, formLabelWidth: "120px", imageUrl: "", size: "", @@ -297,7 +295,6 @@ dwDeptId: "", dwName: "", }, - objs: { drugManufacturerId: "", reservationTime: "", @@ -359,7 +356,9 @@ payType: undefined, }, // 琛ㄥ崟鍙傛暟 - form: {}, + form: { + dwlx: 0 + }, // 琛ㄥ崟鏍¢獙 rules: { @@ -450,6 +449,7 @@ ], }, ListObj: {}, + uploadKey: 0, // 閬僵灞� loading: true, pacStatus: "鍚敤", @@ -510,7 +510,7 @@ }); }, idFn(value) { - console.log(value); + this.userList = [] if (value) { this.data.dwId = value; Deptlist(value).then((response) => { @@ -644,6 +644,7 @@ submitFormS() { this.$refs["form"].validate((valid) => { if (valid) { + this.form.dwlx= 0 addComp(this.form).then((response) => { this.$modal.msgSuccess("鏂板鎴愬姛"); this.open = false; @@ -686,10 +687,8 @@ /** 瀵煎叆鎸夐挳鎿嶄綔 */ handleImport() { if (this.objs.drugManufacturerId && this.objs.reservationTime) { - // 娓呯┖缁勪欢鍐呴儴鐘舵�侊紙鍚凡涓婁紶鏂囦欢锛� this.$refs.upload?.clearFiles(); this.uploadKey = Date.now(); // 鏀瑰彉 key 寮哄埗閲嶆柊娓叉煋缁勪欢 - // 鍚屾鏁版嵁婧愶紙Vue2 闇�鐢� $set 纭繚鍝嶅簲寮忥級 this.upload.title = "鐢ㄦ埛瀵煎叆"; this.upload.open = true; } else { @@ -709,15 +708,12 @@ this.upload.isUploading = true; }, // 鏂囦欢涓婁紶鎴愬姛澶勭悊 - // 鏂囦欢涓婁紶鎴愬姛澶勭悊 handleFileSuccess(response, file, fileList) { - console.log(response, file, fileList) if (response.code == 500) { this.isdisabled = true; // Message.warning(response.msg); // this.$modal.msgError(response.msg); // this.$modal.msgError("浜哄憳"+ response.data.list + "淇℃伅閿欒"); - if (response.data) { if (response.data.list) { const errorList = ` @@ -733,7 +729,6 @@ dangerouslyUseHTMLString: true, }); } - } else { this.$confirm(`${response.msg}`, { confirmButtonText: "纭畾", @@ -743,8 +738,6 @@ dangerouslyUseHTMLString: true, }); } - - } else { this.isdisabled = false; this.ListObj = response.data; @@ -809,7 +802,6 @@ }, // 鎻愪氦涓婁紶鏂囦欢 submitFileForm() { - console.log(9999) this.$refs.upload.submit(); this.isShow = false; }, -- Gitblit v1.8.0