From 1e9fa82cb2fe2c15f46bd1dd73f5c878c74b83b8 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 04 八月 2022 15:35:50 +0800
Subject: [PATCH] 1.系统多账号登录问题2.采购订单页面样式修改及数据渲染
---
src/views/scgl/gd.vue | 24 +++++++++---------------
1 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/src/views/scgl/gd.vue b/src/views/scgl/gd.vue
index 8e70301..b2a5755 100644
--- a/src/views/scgl/gd.vue
+++ b/src/views/scgl/gd.vue
@@ -860,8 +860,7 @@
}
},
created() {
- this.getMesOrderSearch()
- this.getSelect()
+ this.handleRequest()
},
mounted() {
window.addEventListener('resize', this.getHeight)
@@ -871,6 +870,13 @@
this.username = getCookie('username')
},
methods: {
+ handleRequest() {
+ this.getMesOrderSearch().then(res => {
+ if (res.code === '200') {
+ this.getSelect()
+ }
+ })
+ },
async getMesOrderSearch() {
// let tempDate = this.form.createdate
// if (tempDate.length > 0) {
@@ -895,6 +901,7 @@
this.total = res.count
// this.form.createdate = tempDate
+ return { code: res.code }
},
async getSelect() {
// 鑾峰彇浜у搧淇℃伅
@@ -1299,19 +1306,6 @@
this.formApprove.lm_date = ''
// this.$refs.qrCodeDiv0.title = ''
-
- // this.$refs.qrCodeDiv1 = ''
- // this.$refs.qrCodeDiv2 = ''
- // this.$refs.qrCodeDiv3 = ''
-
- // this.$ref['qrCodeDiv'].clearable()
- // this.tableDataPrint.forEach((item, index) => {
- // this.$refs['qrCodeDiv' + item.seq] = ''
- // this.$refs[('qrCodeDiv' + index).toString()] = ''
- // // this.bindQRCode(item.seq, '', 'small')//姝ゆ柟娉曟病鐢�
- // })
- // this.bindQRCode(this.tableDataPrint.length, '', 'big')//姝ゆ柟娉曟病鐢�
- // this.$refs[('qrCodeDiv' + this.tableDataPrint.length).toString()] = ''
this.tableDataPrint = []
},
--
Gitblit v1.9.3