sale-client 3.4.168 → 3.4.169

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.4.168",
3
+ "version": "3.4.169",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -319,7 +319,7 @@
319
319
  await self.$getConfig(self, 'OtherCharge')
320
320
  self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
321
321
  self.model.f_payment = [self.config.payment]
322
- self.model.f_brand_spec = [self.config.brandspec]
322
+ self.model.otherdetail[0].f_brand_spec = [self.config.brandspec]
323
323
  self.model.f_service_person = [self.config.services]
324
324
 
325
325
  self.model.f_use_type = self.config.billType
@@ -403,7 +403,7 @@
403
403
  if (unitprice !== undefined) {
404
404
  this.row.f_unitprice = this.$appdata.getSingleValue(val)
405
405
  }
406
-
406
+ this.model.otherdetail[0].f_unitprice = unitprice
407
407
  console.log('this', this)
408
408
  }
409
409
  },
@@ -282,17 +282,17 @@
282
282
  partner: "cqsemay_bcts", // 固定值
283
283
  version:"v1", // 固定值
284
284
  tasked:this.getuuid(), // 任务id
285
- notifyUrl:" http://192.168.2.10:8445/webmeter/rs/logic/XiMeiSystemCallBack", // 固定值
285
+ notifyUrl:"http://192.168.2.10:8445/webmeter/rs/logic/XiMeiSystemCallBack", // 固定值
286
286
  meterNo: this.row.f_meternumber,// 表号
287
287
  signType:" MD5" //固定值
288
288
  },
289
289
  Title: "清除异常", // 固定值
290
+ Type: "清除异常", // 固定值
290
291
  Inputtor:this.row.f_operator, // 操作人
291
292
  userId:this.row.f_userfiles_id, // 表档案ID
292
- dataId:null // 操作记录ID
293
+ dataId: null // 操作记录ID
293
294
  }
294
- debugger
295
- this.$resetpost('/rs/webmeter/ syncSaveSetParamsTemplate', {data: datas},{resolveMsg: `清理成功`, rejectMsg: `清理失败`}).then(res => {
295
+ this.$resetpost('/webmeter/rs/logic/syncSaveSetParamsTemplate', {data: datas},{resolveMsg: `清理成功`, rejectMsg: `清理失败`}).then(res => {
296
296
  })
297
297
  },
298
298
  getuuid(){
@@ -94,7 +94,7 @@
94
94
  </div>
95
95
  <div class="col-sm-6 form-group" :class="[$v.f_insurance_type.required ? 'has-error' : '']">
96
96
  <label class="font_normal_body" title="参数:险种">&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;险种</label>
97
- <input type="text" v-show="false" v-model="model.f_insurance_type"
97
+ <input type="text" v-show="false" v-model="$refs.f_insurance_type.selectedItems"
98
98
  v-validate:f_insurance_type='{required: true }'>
99
99
  <v-select
100
100
  placeholder='险种'
@@ -104,12 +104,13 @@
104
104
  v-model="model.f_insurance_type"
105
105
  :options='insurancetype'
106
106
  @change="getmoney()"
107
- close-on-select>
107
+ close-on-select
108
+ v-ref:f_insurance_type>
108
109
  </v-select>
109
110
  </div>
110
111
  <div class="col-sm-6 form-group" :class="[$v.f_state.required ? 'has-error' : '']">
111
112
  <label class="font_normal_body" title="参数:保险状态">&emsp;&emsp;&emsp;&emsp;保险状态</label>
112
- <input type="text" v-show="false" v-model="model.f_state"
113
+ <input type="text" v-show="false" v-model="$refs.f_state.selectedItems"
113
114
  v-validate:f_state='{required: true }'>
114
115
  <v-select
115
116
  placeholder='保险状态'
@@ -118,7 +119,8 @@
118
119
  :value-single="true"
119
120
  v-model="model.f_state"
120
121
  :options='insurancestate'
121
- close-on-select>
122
+ close-on-select
123
+ v-ref:f_state>
122
124
  </v-select>
123
125
  </div>
124
126
  <div class="col-sm-6 form-group" :class="[$v.f_money.required ? 'has-error' : '']">
@@ -214,7 +216,8 @@
214
216
  model: {
215
217
  type:Object,
216
218
  default:{
217
- f_insurance_type:''
219
+ f_insurance_type:'',
220
+ f_state:''
218
221
  }
219
222
 
220
223
  },
@@ -29,16 +29,16 @@
29
29
  close-on-select></v-select>
30
30
  </div>
31
31
  <div class="col-sm-4 form-group">
32
- <div v-if="this.data.f_collection_type==='按金额'" class="col-sm-4 form-group"
32
+ <div v-if="this.data.f_collection_type==='按金额'"
33
33
  :class="[$v.f_preamount.required || $v.f_preamount.dctest ? 'has-error' : 'has-success']">
34
34
  <label class="font_normal_body">&nbsp;金额&nbsp;</label>
35
- <input class="input_search" type="number" v-model="model.f_preamount" style="width:60%"
35
+ <input class="input_search" type="number" v-model="model.f_preamount"
36
36
  v-validate:f_preamount='{required: true, dctest: [0, ">" ]}' placeholder="金额">
37
37
  </div>
38
- <div v-if="this.data.f_collection_type==='按气量'" class="col-sm-4 form-group"
38
+ <div v-if="this.data.f_collection_type==='按气量'"
39
39
  :class="[$v.f_pregas.required || $v.f_pregas.dctest ? 'has-error' : 'has-success']">
40
40
  <label class="font_normal_body">&nbsp;气量&nbsp;</label>
41
- <input class="input_search" type="number" v-model="model.f_pregas" style="width:60%"
41
+ <input class="input_search" type="number" v-model="model.f_pregas"
42
42
  v-validate:f_pregas='{required: true, dctest: [0, ">" ]}' placeholder="气量">
43
43
  </div>
44
44
  </div>
@@ -1,285 +1,253 @@
1
1
  <template>
2
- <div class="auto">
3
- <form novalidate class="form-horizontal" >
4
- <p class="bg-info text-center" style="padding: 8px;">增值服务管理</p>
5
- <div style="width:100%;min-height:300px;">
6
- <div v-if="!isshow" style="width:100%;height:50px;">
7
- <p class="titleshow1">当前无增值管理信息!</p>
8
- </div>
9
- <div v-for="(index,row) in model" style="width:100%;height:66px;" >
10
- <ul v-if="isshow" class="showlist" >
11
- <li style="flex:0.8;list-style:none;">
12
- <p class="titleshow">{{row.value_type}}</p>
13
- </li>
14
- <li style="flex:1.7;list-style:none;">
15
- <div style="display: flex;" >
16
- <label style="font-weight:100;flex:0.5;text-align:left;" class=" control-label" >是否购买:</label>
17
- <div class="checkbox" style="flex:0.3;margin-left:-50%">
18
- <label>
19
- <input style="zoom: 200%;top: -2px;left: 14px;" @click="changeisuse(1,row,index)" type="checkbox" name="optionsRadios" :id="'optionsRadios'+index" value="option1" :checked="row.isuse=='是'?'checked':''">
20
-
21
- </label>
22
- </div>
23
- <div class="checkbox" style="flex:0.2;margin-left:-26%">
24
- <label>
25
- <input style="zoom: 200%;top: -2px;left: 14px;" @click="changeisuse(0,row,index)" type="checkbox" name="optionsRadios" :id="'optionsRadiosno'+index" value="option2" :checked="row.isuse!='是'?'checked':''" >
26
-
27
- </label>
28
- </div>
29
- <!--<v-select id="f_brand_spec"-->
30
- <!--:width="'40%'"-->
31
- <!--:search="false"-->
32
- <!--:value-single="true"-->
33
- <!--@change="changetimes(row)"-->
34
- <!--v-model="row.isuse"-->
35
- <!--placeholder='全部'-->
36
- <!--:value.sync="row.isuse"-->
37
- <!--:options='valueaddoptions'-->
38
- <!--close-on-select clear-button>-->
39
- <!--</v-select>-->
40
- </div>
41
- </li>
42
- <li style="flex:1.8;list-style:none;">
43
- <div >
44
- <label style="width: 70px;margin-right:0px;padding-right:0;font-weight:100;" class=" control-label" >购买时间:</label>
45
- <datepicker id="startDate" placeholder="输入年-月-日" style="width:60%"
46
- v-model="row.startDate" :disabled="row.isuse=='否'"
47
- :value.sync="row.startDate"
48
- @change="changeconfirm(row)"
49
- :format="'yyyy-MM-dd'"
50
- v-ref:datepick
51
- :show-reset-button="true">
52
- </datepicker>
53
- <span v-show="othershow" style="color: #999;right:30px;" class="glyphicon glyphicon-calendar"></span>
54
- </div>
55
- </li>
56
- <!-- <li style="flex:1.4;list-style:none;">-->
57
- <!-- <div >-->
58
- <!-- <label style="width: auto;font-weight:100;" class=" control-label" >终止时间:</label>-->
59
- <!-- <datepicker id="endDate" placeholder="输入年-月-日" style="width:60%"-->
60
- <!-- v-model="row.endDate" :disabled="row.isuse=='否'"-->
61
- <!-- :value.sync="row.endDate"-->
62
- <!-- :format="'yyyy-MM-dd'"-->
63
- <!-- :show-reset-button="true">-->
64
- <!-- </datepicker>-->
65
- <!-- <span style="color: #999;right:30px;" class="glyphicon glyphicon-calendar"></span>-->
66
- <!-- </div>-->
67
- <!-- </li>-->
68
- <!--<li style="flex:2;list-style:none;">-->
69
- <!--<div >-->
70
- <!--<label style="width: auto;font-weight:100;" class=" control-label" >结束时间:</label>-->
71
-
72
- <!--<datepicker id="endDate" placeholder="结束日期" style="width:60%"-->
73
- <!--v-model="row.endDate" :disabled="row.isuse=='否'"-->
74
- <!--:value.sync="row.endDate"-->
75
- <!--:format="'yyyy-MM-dd HH:mm:ss'"-->
76
- <!--:show-reset-button="true">-->
77
- <!--</datepicker>-->
78
- <!--</div>-->
79
- <!--</li>-->
80
- <li style="flex:0.8;list-style:none;">
81
- <div style=" margin-right:6%;" v-if="isshow">
82
- <button type="button" :style="{background:row.color}" style="border-radius:5px;margin: 0 auto; display: block;border:none" class="btn btn-success" @click="confirm(row)" :disabled='!$v.valid' id='components-comOpe-othCha'>提&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;交</button>
83
- </div>
84
- </li>
85
- </ul>
86
- </div>
2
+ <div class="auto">
3
+ <form novalidate class="form-horizontal">
4
+ <p class="bg-info text-center" style="padding: 8px;">增值服务管理</p>
5
+ <div style="width:100%;min-height:300px;">
6
+ <div v-if="!isshow" style="width:100%;height:50px;">
7
+ <p class="titleshow1">当前无增值管理信息!</p>
8
+ </div>
9
+ <div v-for="(index,row) in model" style="width:100%;height:66px;">
10
+ <div class="row showlist" v-if="isshow">
11
+ <div class="form-group col-sm-2">
12
+ <p class="titleshow">{{ row.value_type }}</p>
13
+ </div>
14
+ <div class="form-group col-sm-2">
15
+ <input class="col-sm-3" style="zoom: 200%;margin-top:0" @click="changeisuse(1,row,index)" type="checkbox"
16
+ name="optionsRadios" :id="'optionsRadios'+index" value="option1"
17
+ :checked="row.isuse==='是'?'checked':''">
18
+ <label class="col-sm-3"> 是 </label>
19
+ <input class="col-sm-3" style="zoom: 200%;margin-top:0" @click="changeisuse(0,row,index)" type="checkbox"
20
+ name="optionsRadios" :id="'optionsRadiosno'+index" value="option2"
21
+ :checked="row.isuse!=='是'?'checked':''">
22
+ <label class="col-sm-3"> 否 </label>
23
+ </div>
24
+ <div>
25
+ <label class=" control-label">购买时间:</label>
26
+ <datepicker id="startDate" placeholder="输入年-月-日" style="width:60%"
27
+ v-model="row.startDate" :disabled="row.isuse=='否'"
28
+ :value.sync="row.startDate"
29
+ @change="changeconfirm(row)"
30
+ :format="'yyyy-MM-dd'"
31
+ v-ref:datepick
32
+ :show-reset-button="true">
33
+ </datepicker>
34
+ <span v-show="othershow" style="color: #999;right:30px;" class="glyphicon glyphicon-calendar"></span>
35
+ </div>
36
+ <textarea rows="2" v-model="row.f_remark" style="margin: 0; border: 2px solid rgb(140, 188, 226); width: 231px; height: 33px;resize: none;" placeholder='备注信息'></textarea>
37
+ <div style=" margin-right:6%;margin-left: 2%;" v-if="isshow">
38
+ <button type="button" :style="{background:row.color}"
39
+ style="border-radius:5px;margin: 0 auto; display: block;border:none" class="btn btn-success"
40
+ @click="confirm(row)" :disabled='!$v.valid' id='components-comOpe-othCha'>提&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;交
41
+ </button>
87
42
  </div>
88
- </form>
89
- </div>
43
+ </div>
44
+ </div>
45
+ </div>
46
+ </form>
47
+ </div>
90
48
  </template>
91
49
  <script>
92
- import {HttpResetClass} from 'vue-client'
93
- import $ from 'jquery'
50
+ import {HttpResetClass} from 'vue-client'
94
51
 
52
+ let getvalueaddinfo = async function (self) {
53
+ let http = new HttpResetClass()
54
+ let param = {
55
+ f_userfiles_id: self.row.f_userfiles_id,
56
+ f_userinfo_id: self.row.f_userinfo_id
57
+ }
58
+ if (self.row.f_olduserinfo_code) {
59
+ param.f_olduserinfo_code = self.row.f_olduserinfo_code
60
+ }
61
+ let valueaddinfo = await http.load('POST', 'rs/logic/chargevalueaddinfo', param, {resolveMsg: null, rejectMsg: null})
62
+ let tempdata = []
63
+ if (valueaddinfo.data && valueaddinfo.data.length > 0) {
64
+ self.isshow = true
65
+ valueaddinfo.data.forEach(itemget => {
66
+ if (itemget.endDate == null) {
67
+ itemget.endDate = '1900-01-01 00:00:00'
68
+ }
69
+ let tempitem = {
70
+ value_type: itemget.value_type,
71
+ isuse: itemget.isuse,
72
+ startDate: itemget.startDate.substring(0, 10),
73
+ f_remark: itemget.f_remark,
74
+ endDate: itemget.endDate.substring(0, 10),
75
+ color: '#b0b7b9'
76
+ }
77
+ tempdata.push(tempitem)
78
+ })
79
+ self.$set('model', tempdata)
80
+ } else {
81
+ self.isshow = false
82
+ }
83
+ self.oldmodel = JSON.parse(JSON.stringify(self.model))
84
+ }
95
85
 
96
- let getvalueaddinfo = async function(self){
97
- let http = new HttpResetClass()
98
- let param = {
99
- f_userfiles_id: self.row.f_userfiles_id,
100
- f_userinfo_id: self.row.f_userinfo_id
101
- }
102
- if (self.row.f_olduserinfo_code) {
103
- param.f_olduserinfo_code = self.row.f_olduserinfo_code
86
+ export default {
87
+ title: '增值服务管理',
88
+ data() {
89
+ return {
90
+ valueaddinfo: [...this.$appdata.getParam('增值服务类型')],
91
+ model: [
92
+ {
93
+ value_type: '',
94
+ isuse: '否',
95
+ startDate: '',
96
+ endDate: '',
97
+ f_remark: ''
104
98
  }
105
- let valueaddinfo = await http.load('POST', 'rs/logic/chargevalueaddinfo', param, {resolveMsg: null, rejectMsg: null})
106
- let tempdata = [];
107
- if (valueaddinfo.data && valueaddinfo.data.length>0){
108
- self.isshow = true;
109
- valueaddinfo.data.forEach(itemget=>{
110
- if(itemget.endDate == null){
111
- itemget.endDate = '1900-01-01 00:00:00'
112
- }
113
- let tempitem = {
114
- value_type: itemget.value_type,
115
- isuse: itemget.isuse,
116
- startDate: itemget.startDate.substring(0,10),
117
- endDate: itemget.endDate.substring(0,10),
118
- color:'#b0b7b9'
119
- };
120
- tempdata.push(tempitem);
121
- })
122
- self.$set('model',tempdata);
123
- }else{
124
- self.isshow = false;
125
- }
126
- self.oldmodel =JSON.parse(JSON.stringify(self.model));
99
+ ],
100
+ oldmodel: [],
101
+ valueaddoptions: [{label: '是', value: '是'}, {label: '否', value: '否'}],
102
+ hasinfo: -1,
103
+ allhasinfo: 0,
104
+ showParame: false,
105
+ isshow: false,
106
+ screenheight: window.screen.height,
107
+ screenwidth: window.screen.width,
108
+ othershow: true
127
109
  }
110
+ },
111
+ props: ['row'],
112
+ ready() {
113
+ this.initData()
114
+ getvalueaddinfo(this)
115
+ },
116
+ methods: {
117
+ changeconfirm(row) {
118
+ row.color = '#00B8EE'
119
+ },
120
+ changeisuse(value, row, index) {
121
+ let options1 = document.querySelector('#optionsRadios' + index)
122
+ let options2 = document.querySelector('#optionsRadiosno' + index)
123
+ if (value == 1 && row.isuse == '是') {
124
+ options1.checked = true
125
+ return
126
+ } else if (value == 0 && row.isuse == '否') {
127
+ options2.checked = true
128
+ return
129
+ }
128
130
 
129
- export default {
130
- title: '增值服务管理',
131
- data() {
132
- return {
133
- valueaddinfo: [...this.$appdata.getParam('增值服务类型')],
134
- model:[
135
- {
136
- value_type:"",
137
- isuse:"",
138
- startDate:"",
139
- endDate:""
140
- }
141
- ],
142
- oldmodel:[],
143
- valueaddoptions: [{label:"是",value:"是"},{label:"否",value:"否"}],
144
- hasinfo:-1,
145
- allhasinfo:0,
146
- showParame:false,
147
- isshow:false,
148
- screenheight:window.screen.height,
149
- screenwidth:window.screen.width,
150
- othershow:true
151
- }
152
- },
153
- props: ['row'],
154
- ready() {
155
- this.initData();
156
- getvalueaddinfo(this);
157
- },
158
- methods: {
159
- changeconfirm(row) {
160
- row.color='#00B8EE';
161
- },
162
- changeisuse(value,row,index){
163
- let options1 = document.querySelector('#optionsRadios'+index);
164
- let options2 = document.querySelector('#optionsRadiosno'+index);
165
- if(value == 1 &&row.isuse ==''){
166
- options1.checked = true;
167
- return;
168
- }else if(value ==0 && row.isuse=='否'){
169
- options2.checked = true;
170
- return;
171
- }
172
-
173
- row.color='#00B8EE';
174
- if(value == 1){
175
- row.isuse = '是'
176
- row.startDate = this.$login.toStandardDateString();
177
- options1.checked = true;
178
- options2.checked = false;
179
- }
180
- if(value == 0){
181
- row.isuse = '否'
182
- options1.checked = false;
183
- options2.checked = true;
184
- row.startDate='';
185
- row.endDate='';
186
- }
187
- },
188
- reflush(){
189
- this.initData();
190
- getvalueaddinfo(this);
191
- this.$dispatch('resflushvalue');
192
- },
193
- mValid(bool) {
194
- this.row.valid = bool
195
- this.$dispatch('self-valid')
196
- },
197
- initData(){
198
- if(this.screenwidth>=1920 && this.screenheight>=1080){
199
- this.othershow = true;
200
- }else{
201
- this.othershow =false;
202
- }
203
- if(this.valueaddinfo.length>0){
204
- this.model = [];
205
- this.valueaddinfo.forEach(item=>{
206
- let temp = {
207
- value_type:item.value,
208
- isuse:"否",
209
- startDate:"",
210
- endDate:""
211
- };
212
- this.model.push(temp);
213
- })
214
- }
215
- },
216
- confirm(savemodel) {
217
- if(savemodel == null || savemodel.value_type == null){
218
- this.$showAlert("当前无任何增值业务,请联系管理员进行添加!!",'warning',2000);
219
- return;
220
- }
221
- if( savemodel.isuse == '是' && (savemodel.startDate == '' ) ){
222
- this.$showAlert("请输入购买时间!!",'warning',2000);
223
- return;
224
- }
225
- if(savemodel.startDate.indexOf(":")<0){
226
- savemodel.startDate = savemodel.startDate.substring(0,10);
227
- }
228
- if(savemodel.endDate.indexOf(":")<0){
229
- savemodel.endDate = savemodel.endDate.substring(0,10);
230
- }
231
- //处理数据
232
- let savearrdata = [];
233
- savearrdata.push(savemodel);
234
- let param = {
235
- oldvalueinfo:this.oldmodel,
236
- valueinfo : savearrdata,
237
- userinfo: this.row,
238
- f_operator:this.$login.f.name,
239
- f_operatorid:this.$login.f.id,
240
- f_orgid:this.$login.f.orgid,
241
- f_orgname:this.$login.f.orgs,
242
- f_depid:this.$login.f.depids,
243
- f_depname:this.$login.f.deps,
244
- f_zoneid : this.$login.f.zoneid,
245
- f_zones : this.$login.f.zones
246
- };
247
- this.$resetpost("rs/logic/chargevaluesave", param).then((res) => {
248
- if(res.data){
249
- this.reflush();
250
- }
251
- });
252
- },
253
- clean() {
254
- this.$dispatch('clean', this.row)
255
- },
256
- close() {
257
- this.clean()
258
- },
259
- changetimes(row){
260
- row.startDate = ''
261
- row.endDate = ''
262
- }
263
- },
264
- computed: {
265
-
131
+ row.color = '#00B8EE'
132
+ if (value == 1) {
133
+ row.isuse = '是'
134
+ row.startDate = this.$login.toStandardDateString()
135
+ options1.checked = true
136
+ options2.checked = false
137
+ }
138
+ if (value == 0) {
139
+ row.isuse = ''
140
+ options1.checked = false
141
+ options2.checked = true
142
+ row.startDate = ''
143
+ row.endDate = ''
144
+ }
145
+ },
146
+ reflush() {
147
+ this.initData()
148
+ getvalueaddinfo(this)
149
+ this.$dispatch('resflushvalue')
150
+ },
151
+ mValid(bool) {
152
+ this.row.valid = bool
153
+ this.$dispatch('self-valid')
154
+ },
155
+ initData() {
156
+ if (this.screenwidth >= 1920 && this.screenheight >= 1080) {
157
+ this.othershow = true
158
+ } else {
159
+ this.othershow = false
160
+ }
161
+ if (this.valueaddinfo.length > 0) {
162
+ this.model = []
163
+ this.valueaddinfo.forEach(item => {
164
+ let temp = {
165
+ value_type: item.value,
166
+ isuse: '',
167
+ startDate: '',
168
+ endDate: ''
169
+ }
170
+ this.model.push(temp)
171
+ })
172
+ }
173
+ },
174
+ confirm(savemodel) {
175
+ if (savemodel == null || savemodel.value_type == null) {
176
+ this.$showAlert('当前无任何增值业务,请联系管理员进行添加!!', 'warning', 2000)
177
+ return
178
+ }
179
+ if (savemodel.isuse == '是' && (savemodel.startDate == '')) {
180
+ this.$showAlert('请输入购买时间!!', 'warning', 2000)
181
+ return
182
+ }
183
+ if (savemodel.startDate.indexOf(':') < 0) {
184
+ savemodel.startDate = savemodel.startDate.substring(0, 10)
185
+ }
186
+ if (savemodel.endDate.indexOf(':') < 0) {
187
+ savemodel.endDate = savemodel.endDate.substring(0, 10)
188
+ }
189
+ // 处理数据
190
+ let savearrdata = []
191
+ savearrdata.push(savemodel)
192
+ let param = {
193
+ oldvalueinfo: this.oldmodel,
194
+ valueinfo: savearrdata,
195
+ userinfo: this.row,
196
+ f_operator: this.$login.f.name,
197
+ f_operatorid: this.$login.f.id,
198
+ f_orgid: this.$login.f.orgid,
199
+ f_orgname: this.$login.f.orgs,
200
+ f_depid: this.$login.f.depids,
201
+ f_depname: this.$login.f.deps,
202
+ f_zoneid: this.$login.f.zoneid,
203
+ f_zones: this.$login.f.zones
204
+ }
205
+ this.$resetpost('rs/logic/chargevaluesave', param).then((res) => {
206
+ if (res.data) {
207
+ this.reflush()
266
208
  }
209
+ })
210
+ },
211
+ clean() {
212
+ this.$dispatch('clean', this.row)
213
+ },
214
+ close() {
215
+ this.clean()
216
+ },
217
+ changetimes(row) {
218
+ row.startDate = ''
219
+ row.endDate = ''
267
220
  }
221
+ },
222
+ computed: {}
223
+ }
268
224
  </script>
269
225
  <style scoped>
270
- .titleshow {
271
- text-align: left;font-weight:bold;font-size:17px;margin:5px 0 0 5px;border-left:5px solid #81ced6;padding-left: 10px;
272
- }
273
- .titleshow1 {
274
- text-align: center;font-weight:bold;font-size:19px;margin:5px 0 0 5px;
275
- }
276
- .showlist{
277
- border-top: 1px solid #e2dfdf;
278
- border-bottom: 1px solid #e2dfdf;
279
- padding-top: 16px;
280
- margin-top: 9px;
281
- width:100%;height:100%;display: flex;
282
- }
226
+ .titleshow {
227
+ text-align: left;
228
+ font-weight: bold;
229
+ font-size: 17px;
230
+ margin: 5px 0 0 5px;
231
+ border-left: 5px solid #81ced6;
232
+ padding-left: 10px;
233
+ }
234
+
235
+ .titleshow1 {
236
+ text-align: center;
237
+ font-weight: bold;
238
+ font-size: 19px;
239
+ margin: 5px 0 0 5px;
240
+ }
241
+
242
+ .showlist {
243
+ border-top: 1px solid #e2dfdf;
244
+ border-bottom: 1px solid #e2dfdf;
245
+ padding-top: 16px;
246
+ margin-top: 9px;
247
+ width: 100%;
248
+ height: 100%;
249
+ display: flex;
250
+ }
283
251
 
284
252
 
285
253
  </style>