From a620fbbd69100c0137e1c7cc508bc444bf830317 Mon Sep 17 00:00:00 2001
From: yunuo970428 <405378304@qq.com>
Date: Tue, 25 Oct 2022 15:32:18 +0800
Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E8=BE=86=E9=94=80=E5=94=AE=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E6=9F=A5=E8=AF=A2=E8=B0=83=E4=BB=B7=E5=A2=9E=E5=8A=A0?=
=?UTF-8?q?=E9=94=80=E5=94=AE=E9=83=A8=E9=97=A8=E3=80=81=E9=94=80=E5=94=AE?=
=?UTF-8?q?=E4=B8=93=E5=91=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../cheliangxiaoshouguanli.vue | 31 +++++++++++++++++--
1 file changed, 28 insertions(+), 3 deletions(-)
diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangxiaoshou/cheliangxiaoshouguanli.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangxiaoshou/cheliangxiaoshouguanli.vue
index cf6e2f8d0a..b8acdf45b1 100644
--- a/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangxiaoshou/cheliangxiaoshouguanli.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangxiaoshou/cheliangxiaoshouguanli.vue
@@ -31,6 +31,16 @@
+
+
+
+
+
+
+
+
+
+
查询
@@ -152,7 +162,7 @@ import { pagerList } from '@/api/cheliang/cheliangxiaoshou'
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import ButtonBar from '@/components/ButtonBar'
-import { typeValues, getPathSidByUserSid } from '@/api/cheliang/dictcommons'
+import { typeValues, getPathSidByUserSid, selectOrgList } from '@/api/cheliang/dictcommons'
import chelaingxiaoshouInfo from './chelaingxiaoshouInfo'
export default {
@@ -181,6 +191,8 @@ export default {
// 查询条件 -----------
tableKey: 0,
list: [],
+ org_list: [],
+ staff_list: [],
payType_list: [],
FormLoading: false,
listLoading: false,
@@ -192,7 +204,9 @@ export default {
saleDateStart: '',
typeKey: '',
vinNo: '',
- createOrgSid: ''
+ createOrgSid: '',
+ orgDeptSid: '',
+ staffSid: ''
},
current: 1,
size: 5,
@@ -221,6 +235,11 @@ export default {
this.getList()
}
})
+ selectOrgList({ userSid: window.sessionStorage.getItem('userSid') }).then((res) => {
+ if (res.success) {
+ this.org_list = res.data
+ }
+ })
},
// 搜索条件效果
clicksearchShow() {
@@ -276,7 +295,9 @@ export default {
saleDateStart: '',
typeKey: '',
vinNo: '',
- createOrgSid: ''
+ createOrgSid: '',
+ orgDeptSid: '',
+ staffSid: ''
},
current: 1,
size: 5,
@@ -284,6 +305,10 @@ export default {
}
this.init()
},
+ changeOrg(value) {
+ const choosetItem = this.org_list.filter((item) => item.orgDeptSid === value)
+ this.staff_list = choosetItem[0].staffinfoVoList
+ },
toInfo(row) {
this.viewState = 2
this.$refs['divInfo'].showInfo(row)