manage-client-xy 3.2.7 → 3.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,7 @@ var compiler = webpack(config)
11
11
  // Define HTTP proxies to your custom API backend
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
13
  // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
- var bendi = 'http://172.16.16.163:8300/'
14
+ var bendi = 'http://127.0.0.1:8888/'
15
15
  , fuwu = 'http://172.16.16.163:8300/'
16
16
  // ,fuwu = 'http://172.16.16.163:8300/'
17
17
  var proxyTable = {
@@ -22,6 +22,12 @@ var proxyTable = {
22
22
  '/rs/logic/exportfile': {
23
23
  target: bendi
24
24
  },
25
+ '/rs/logic/saleExport': {
26
+ target: fuwu
27
+ },
28
+ '/rs/sql/qc_statistics_manage': {
29
+ target: fuwu
30
+ },
25
31
  '/files': {
26
32
  target: fuwu
27
33
  },
@@ -78,7 +84,7 @@ var proxyTable = {
78
84
  target: fuwu
79
85
  },
80
86
  '/rs/logic/SumSettleFileImport': {
81
- target: 'http://127.0.0.1:8087'
87
+ target: fuwu
82
88
  },
83
89
  '/rs': {
84
90
  target: fuwu
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client-xy",
3
- "version": "3.2.7",
3
+ "version": "3.2.9",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -0,0 +1,229 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <p class="bg-info text-center" style="padding: 8px;">咸阳其他收费汇总</p>
6
+ <div class="form-group" v-if="!$parent.$parent.data.f_files_path"></div>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <div class="col-sm-4">
10
+ <label class="font_normal_body" for="startDate">开始日期:</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ :disabled-days-of-Week="[]"
15
+ :format="'yyyy-MM-dd HH:mm:ss'"
16
+ :show-reset-button="reset">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-4">
20
+ <label class="font_normal_body" for="endDate">结束日期:</label>
21
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :disabled-days-of-Week="[]"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="reset">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-4">
30
+ <label class="font_normal_body">&emsp;&emsp;公司:</label>
31
+ <right-tree @re-res="$parent.$parent.getRes"></right-tree>
32
+ </div>
33
+ <div class="col-sm-4">
34
+ <label class="font_normal_body">&emsp;&emsp;部门:</label>
35
+ <res-select restype='department'
36
+ :is-mul="false"
37
+ @res-select="$parent.$parent.getdep"
38
+ :parentresid="$parent.$parent.depresid"
39
+ :initresid='$parent.$parent.depid'>
40
+ </res-select>
41
+
42
+ </div>
43
+ <div class="col-sm-4">
44
+ <label class="font_normal_body">&emsp;&emsp;人员:</label>
45
+ <res-select restype='user'
46
+ :is-mul="false"
47
+ @res-select="$parent.$parent.getuser"
48
+ :parentresid="$parent.$parent.userresid"
49
+ :initresid='$parent.$parent.operatorid'>
50
+ </res-select>
51
+ </div>
52
+ <div class="col-sm-4" style="float:right;">
53
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&nbsp;</label>
54
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
55
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
56
+ <report-excel id='gasprice'
57
+ v-if="$parent.$parent.jurisdiction.includes('excel导出')"
58
+ ></report-excel>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </criteria>
63
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
64
+ <table class='tableprint' style="margin: 0px auto">
65
+ <thead>
66
+ <tr>
67
+ <th colspan='17' style="font-weight: normal; text-align: left;">
68
+ <h3 style="text-align: center">咸阳其他收费汇总</h3>
69
+ </th>
70
+ </tr>
71
+ <tr>
72
+ <th colspan='17' style="font-weight: normal; text-align: center;">
73
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
74
+ 结束时间:{{ model.model.endDate }}
75
+ </th>
76
+ </tr>
77
+ <tr>
78
+ <th colspan='17' style="font-weight: normal; text-align: center;">
79
+ 打印时间:{{{$parent.printTime}}}
80
+ </th>
81
+ </tr>
82
+ <tr>
83
+ <th colspan='17' style="font-weight: normal; text-align: center;">
84
+ <div>
85
+ <span v-show="$parent.orgname.trim()!=''">公司:{{ $parent.orgname }}</span>
86
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{ $parent.depname }}</span>
87
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{ $parent.operatorname }}</span>
88
+ </div>
89
+ </th>
90
+ </tr>
91
+ </thead>
92
+ <tr>
93
+ <td colspan='17'>
94
+ {{{ model.data.substring(26,model.data.length-8) }}}
95
+ </td>
96
+ </tr>
97
+ <tfoot>
98
+ <tr style="text-align: left">
99
+ <th colspan='6'>财务审核:</th>
100
+ <th colspan='6'>收款审核:</th>
101
+ <th colspan='5'>收款员:</th>
102
+ </tr>
103
+ </tfoot>
104
+ </table>
105
+ {{{ $parent.reportStr}}}
106
+ </div>
107
+ </criteria-paged>
108
+ </div>
109
+ </template>
110
+
111
+ <script>
112
+ import {DataModel} from 'vue-client'
113
+ import co from 'co'
114
+
115
+ export default {
116
+ title: '咸阳其他收费汇总',
117
+ props: ['data'],
118
+ data() {
119
+ return {
120
+ printTime: this.$login.toStandardTimeString(),
121
+ depresid: [],
122
+ userresid: [],
123
+ f_orgid: this.$login.f.orgid,
124
+ f_depid: this.$login.f.depids,
125
+ f_operatorid: this.$login.f.id,
126
+ jurisdiction: this.$login.r,
127
+ operatorid: [],
128
+ depid: [],
129
+ orgname: '',
130
+ depname: '',
131
+ operatorname: '',
132
+ f_inputtor: [],
133
+ f_user_type: '',
134
+ orgCondtionStr: '1=1',
135
+ model: new DataModel('rs/report/otherCharge', {
136
+ startDate: 'this.model.startDate',
137
+ endDate: 'this.model.endDate',
138
+ f_orgid: 'this.model.f_orgid'
139
+ }),
140
+ reportStr: null
141
+ }
142
+ },
143
+ ready() {
144
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
145
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
146
+ this.$refs.paged.$refs.criteria.search()
147
+ console.log(this.$login.f)
148
+ },
149
+ methods: {
150
+ searchData() {
151
+ this.$refs.paged.$refs.criteria.search()
152
+ },
153
+ selfSearch(args) {
154
+ console.log(args.condition + 'yyyqqq')
155
+ this.printTime = this.$login.toStandardTimeString()
156
+ let orgCondition = '1=1'
157
+ if (this.f_orgid[0]) {
158
+ let id = this.f_orgid.toString()
159
+ let ids = id.split(',')
160
+ console.log('几个公司:' + ids.length)
161
+ let orgids = ''
162
+ let f_orgids = ''
163
+ if (ids.length === 1) {
164
+ f_orgids += "'" + ids[0] + "'"
165
+ } else {
166
+ for (let i = 0; i < ids.length; i++) {
167
+ console.log('id = ' + ids[i])
168
+ orgids += "'" + ids[i] + "',"
169
+ }
170
+ f_orgids = orgids.substring(0, orgids.length - 1)
171
+ }
172
+
173
+ orgCondition += " and f_orgid in ( " + f_orgids + " ) "
174
+ console.log('f_orgids:' + f_orgids)
175
+ }
176
+ if (this.f_depid[0]) {
177
+ orgCondition += " and f_depname like '%" + this.depname + "%'"
178
+ }
179
+ if (this.f_operatorid[0]) {
180
+ orgCondition += " and f_operator like '%" + this.operatorname + "%'"
181
+ }
182
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgCondition
183
+ this.$refs.paged.search(args)
184
+ },
185
+ getRes(obj) {
186
+ this.orgname = obj.res[0]
187
+ this.depresid = obj.resids
188
+ this.f_orgid = obj.resids
189
+ this.userresid = obj.resids
190
+ },
191
+ getdep(obj, val) {
192
+ this.depname = val[0]
193
+ this.f_depid = obj
194
+ },
195
+ getuser(obj, val) {
196
+ this.operatorname = val[0]
197
+ this.f_operatorid = obj
198
+ },
199
+ // 根据文件路径获取储存的报表内容
200
+ getFileContent(path) {
201
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {
202
+ resolveMsg: null,
203
+ rejectMsg: null
204
+ }).then((res) => {
205
+ this.reportStr = res.data.filecontent
206
+ this.model.state = '正确'
207
+ })
208
+ },
209
+ close() {
210
+ this.show = false
211
+ }
212
+ },
213
+ watch: {
214
+ 'data'(val) {
215
+ if (val.f_files_path) {
216
+ this.getFileContent(val.f_files_path)
217
+ } else {
218
+ this.reportStr = null
219
+ }
220
+ }
221
+ },
222
+ computed: {}
223
+ }
224
+ </script>
225
+ <style scoped>
226
+ .noborder {
227
+ border: none;
228
+ }
229
+ </style>
@@ -16,9 +16,6 @@
16
16
  <tabs-manage header="过户查询">
17
17
  <transfer-query v-if="show[4]" @deal-msg="dealMsg"></transfer-query>
18
18
  </tabs-manage>
19
- <!-- <tabs-manage header="其他收费查询">-->
20
- <!-- <other-charge-query v-if="show[5]" @deal-msg="dealMsg"></other-charge-query>-->
21
- <!-- </tabs-manage>-->
22
19
  <tabs-manage header="冲正查询">
23
20
  <reverse-query v-if="show[5]" @deal-msg="dealMsg"></reverse-query>
24
21
  </tabs-manage>
@@ -67,6 +64,9 @@
67
64
  <tabs-manage header="非收费业务查询" v-if="permission('非收费业务查询')">
68
65
  <no-business-query v-if="show == '非收费业务查询'" @deal-msg="dealMsg"></no-business-query>
69
66
  </tabs-manage>
67
+ <tabs-manage header="其他收费查询">
68
+ <other-charge-query v-if="show[20]" @deal-msg="dealMsg"></other-charge-query>
69
+ </tabs-manage>
70
70
  </tab-button-manage>
71
71
  <!-- </div>-->
72
72
  <!-- <div v-if="!listpage">-->
@@ -12,6 +12,8 @@
12
12
  <tr>
13
13
  <th><nobr>序号</nobr></th>
14
14
  <th><nobr>收费类型</nobr></th>
15
+ <th><nobr>具体项目</nobr></th>
16
+ <th><nobr>型号</nobr></th>
15
17
  <th><nobr>数量</nobr></th>
16
18
  <th><nobr>单价</nobr></th>
17
19
  <th><nobr>价格</nobr></th>
@@ -21,9 +23,11 @@
21
23
  <tr >
22
24
  <td style="text-align:center;">{{$index+1}}</td>
23
25
  <th style="text-align:center">{{row.f_brand_spec}}</th>
26
+ <th style="text-align:center">{{row.f_typename}}</th>
27
+ <th style="text-align:center">{{row.f_typenumber}}</th>
24
28
  <th style="text-align:center">{{row.f_number}}</th>
25
29
  <th style="text-align:center">{{row.f_unitprice}}</th>
26
- <th style="text-align:center">{{(row.f_number-0)*(row.f_unitprice-0)}}</th>
30
+ <th style="text-align:center">{{(row.f_number - 0)*(row.f_unitprice - 0)}}</th>
27
31
  </tr>
28
32
  </template>
29
33
  <template partial='foot'></template>
@@ -54,21 +54,9 @@
54
54
  <res-select-group style="col-sm-2 form-group" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
55
55
  <div class="col-sm-2 form-group">
56
56
  <label class="font_normal_body">客户地址</label>
57
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
57
+ <input type="text" style="width: 60%;" class="input_search" v-model="model.f_address"
58
58
  condition="f_address like '%{}%'" placeholder='客户地址'>
59
59
  </div>
60
- <div class="col-sm-2 form-group">
61
- <label class="font_normal_body">收费类型</label>
62
- <v-select id="f_type"
63
- v-model="model.f_brand_spec"
64
- placeholder='请选择'
65
- condition="f_type ='{}'"
66
- :value.sync="model.f_type"
67
- :options='$parent.$parent.chargetype'
68
- close-on-select clear-button></v-select>
69
- </div>
70
- </div>
71
- <div class="row" v-show="$parent.$parent.criteriaShow">
72
60
  <div class="col-sm-2 form-group">
73
61
  <label class="font_normal_body">收费状态</label>
74
62
  <v-select id="f_state"
@@ -80,6 +68,9 @@
80
68
  close-on-select clear-button>
81
69
  </v-select>
82
70
  </div>
71
+ </div>
72
+ <div class="row" v-show="$parent.$parent.criteriaShow">
73
+
83
74
 
84
75
  <div class="col-sm-2 form-group">
85
76
  <label class="font_normal_body">付款方式</label>
@@ -92,17 +83,6 @@
92
83
  close-on-select clear-button>
93
84
  </v-select>
94
85
  </div>
95
- <div class="col-sm-2 form-group">
96
- <label class="font_normal_body">服务人员</label>
97
- <v-select id="f_service_person"
98
- v-model="model.f_service_person"
99
- placeholder='请选择'
100
- condition="f_service_person ='{}'"
101
- :value.sync="model.f_service_person"
102
- :options='$parent.$parent.service_person'
103
- close-on-select clear-button>
104
- </v-select>
105
- </div>
106
86
  </div>
107
87
  </div>
108
88
  </criteria>
@@ -124,9 +124,8 @@ export default {
124
124
 
125
125
  otherchargeConfig: {
126
126
  'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_address': '客户地址',
127
- 'f_brand_spec': '收费类型', 'f_unitprice': '单价', 'f_number': '数量', 'f_collection': '收款',
128
- 'f_payment': '付款方式', 'f_state': '状态', 'f_operate_date': '收费日期',
129
- 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司'
127
+ 'f_collection': '收款', 'f_payment': '付款方式', 'f_state': '状态',
128
+ 'f_operate_date': '收费日期', 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司'
130
129
  },
131
130
 
132
131
  handplanConfig: {
@@ -37,7 +37,7 @@
37
37
  <export-excel :choose-col="true"
38
38
  :data="$parent.$parent.getCondition"
39
39
  :field="$parent.$parent.getExportField"
40
- sqlurl="rs/logic/exportfile" sql-name="qc_statistics_manage" template-name='圈存机查询导出'></export-excel>
40
+ sqlurl="rs/logic/saleExport" sql-name="qc_statistics_manage" template-name='圈存机查询导出'></export-excel>
41
41
  <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
42
42
  </div>
43
43
  </div>
@@ -271,4 +271,8 @@ export default function () {
271
271
  Vue.component('manage-user-counta', (resolve) => {
272
272
  require(['./components/SellReport/ManageUserCounta'], resolve)
273
273
  })
274
+ // 报表展示组件(其他收费汇总)
275
+ Vue.component('manage-other-charge', (resolve) => {
276
+ require(['./components/SellReport/ManageOtherChargeReport'], resolve)
277
+ })
274
278
  }
package/.cursorrules DELETED
@@ -1,80 +0,0 @@
1
- {
2
- "rules": {
3
- "javascript": {
4
- "formatter": "prettier",
5
- "formatOnSave": true,
6
- "defaultFormatter": "prettier",
7
- "validate": true,
8
- "lintOnSave": true,
9
- "lintCommand": "eslint --fix"
10
- },
11
- "vue": {
12
- "formatter": "prettier",
13
- "formatOnSave": true,
14
- "defaultFormatter": "prettier",
15
- "validate": true
16
- },
17
- "less": {
18
- "formatter": "prettier",
19
- "formatOnSave": true
20
- },
21
- "html": {
22
- "formatter": "prettier",
23
- "formatOnSave": true
24
- },
25
- "files": {
26
- "exclude": {
27
- "**/node_modules": true,
28
- "**/dist": true,
29
- "**/build": true,
30
- "**/.git": true,
31
- "**/coverage": true,
32
- "**/lib": true,
33
- "**/*.min.js": true,
34
- "**/*.map": true,
35
- "**/yarn-error.log": true,
36
- "**/hs_err_pid*.log": true
37
- }
38
- },
39
- "search": {
40
- "exclude": {
41
- "**/node_modules": true,
42
- "**/dist": true,
43
- "**/build": true,
44
- "**/.git": true,
45
- "**/coverage": true,
46
- "**/lib": true,
47
- "**/*.min.js": true,
48
- "**/*.map": true
49
- }
50
- },
51
- "editor": {
52
- "tabSize": 2,
53
- "insertSpaces": true,
54
- "trimTrailingWhitespace": true,
55
- "insertFinalNewline": true,
56
- "rulers": [100],
57
- "wordWrap": "off"
58
- },
59
- "terminal": {
60
- "defaultProfile": "PowerShell",
61
- "integrated": {
62
- "shell": {
63
- "windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
64
- }
65
- }
66
- },
67
- "git": {
68
- "enabled": true,
69
- "autofetch": true
70
- },
71
- "path-intellisense": {
72
- "autoTriggerNextSuggestion": true,
73
- "exclude": {
74
- "**/node_modules": true,
75
- "**/dist": true,
76
- "**/build": true
77
- }
78
- }
79
- }
80
- }