sale-client 3.5.45 → 3.5.46
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 +1 -1
- package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +1 -1
- package/src/components/revenue/HandManager/MbpeopleList.vue +9 -9
- package/src/components/revenue/HandManager/meterbookEntry.vue +7 -2
- package/src/filiale/guangxi/OtherGas.vue +29 -0
- package/src/plugins/CommonService.js +2 -0
package/package.json
CHANGED
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
</div>
|
|
124
124
|
<div class="col-sm-4">
|
|
125
125
|
<label class="font_normal_body_new">是否自动阀控</label>
|
|
126
|
-
<input class="input-underline" style="width:45%" :value="row.f_network_valve == '1' ? '
|
|
126
|
+
<input class="input-underline" style="width:45%" :value="row.f_network_valve == '1' ? '否' : '是'" readonly>
|
|
127
127
|
</div>
|
|
128
128
|
</div>
|
|
129
129
|
<div v-if="row.f_collection_type == '按气量'" >
|
|
@@ -156,12 +156,12 @@
|
|
|
156
156
|
</div>
|
|
157
157
|
</div>
|
|
158
158
|
</criteria>
|
|
159
|
-
<data-grid class="list_area table_sy" :model="model" partial='list' v-ref:grid>
|
|
159
|
+
<data-grid class="list_area table_sy" :model="model" partial='list' v-ref:grid :optional="true">
|
|
160
160
|
<template partial='head'>
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
161
|
+
<!--<th>-->
|
|
162
|
+
<!--<input type="checkbox" id="f_operator" v-model="$parent.$parent.$parent.all[model.pageIndex-1]"-->
|
|
163
|
+
<!--@change="$parent.$parent.$parent.select()"/>-->
|
|
164
|
+
<!--</th>-->
|
|
165
165
|
<th><nobr>序号</nobr></th>
|
|
166
166
|
<th><nobr>客户编号</nobr></th>
|
|
167
167
|
<th><nobr>客户名称</nobr></th>
|
|
@@ -175,10 +175,10 @@
|
|
|
175
175
|
<th><nobr>表底数</nobr></th>
|
|
176
176
|
</template>
|
|
177
177
|
<template partial='body'>
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
178
|
+
<!--<td>-->
|
|
179
|
+
<!--<input :id="'body'+model.pageIndex" type='checkbox' @change="$parent.$parent.$parent.selectOne($event,row,$index)"-->
|
|
180
|
+
<!--:checked="$parent.$parent.$parent.ischecked(model.pageIndex-1,$index)"/>-->
|
|
181
|
+
<!--</td>-->
|
|
182
182
|
<td>{{$index+1}}</td>
|
|
183
183
|
<td>{{row.f_userinfo_code}}</td>
|
|
184
184
|
<td>{{row.f_user_name}}</td>
|
|
@@ -47,13 +47,18 @@
|
|
|
47
47
|
},
|
|
48
48
|
'add-tobook-confirm' (model) {
|
|
49
49
|
model.userfilesids = []
|
|
50
|
+
this.rowsdata = this.$refs.mbpeople_list.$refs.paged.$refs.grid.getRowData()
|
|
50
51
|
let msg = '确认将选中的用户全部移入表册?'
|
|
51
52
|
var alluser=[]
|
|
52
53
|
if (this.rowsdata === null || this.rowsdata.length == 0) {
|
|
53
54
|
this.$showAlert('请勾选用户!!', 'warning', 3000)
|
|
54
55
|
} else {
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
let userfilesids = []
|
|
57
|
+
this.rowsdata.forEach((row) => {
|
|
58
|
+
userfilesids.push(row.f_userfiles_id + '')
|
|
59
|
+
})
|
|
60
|
+
model.userfilesids = userfilesids
|
|
61
|
+
alluser = this.rowsdata
|
|
57
62
|
// 变成可以直接使用的格式
|
|
58
63
|
this.$showMessage(msg, ['confirm', 'cancel']).then((res) => {
|
|
59
64
|
if (res === 'confirm') {
|
|
@@ -9,6 +9,15 @@
|
|
|
9
9
|
<input class="input_search" style="width:60%" type="number" @blur="pregas"
|
|
10
10
|
v-validate:f_pregas='{ dctest: [0, ">=" ]}' v-model="model.f_pregas" placeholder="应补气量" v-ref:f_pregas>
|
|
11
11
|
</div>
|
|
12
|
+
<div class="col-sm-4">
|
|
13
|
+
<label class=" font_normal_body">上次气量是否上表:</label>
|
|
14
|
+
<div style="display: inline-block;padding-top: 7px">
|
|
15
|
+
<input type="radio" id="true1" name="filllast" value="1" v-model="filllast">
|
|
16
|
+
<label for="true1">是</label>
|
|
17
|
+
<input type="radio" id="false1" name="filllast" value="0" v-model="filllast">
|
|
18
|
+
<label for="false1">否</label>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
12
21
|
<div class="col-sm-4">
|
|
13
22
|
<label for="f_add_gas" class="font_normal_body">是否入累计</label>
|
|
14
23
|
<v-select id="f_add_gas"
|
|
@@ -35,6 +44,15 @@
|
|
|
35
44
|
<label for="f_preamount" class=" font_normal_body">应补金额:</label>
|
|
36
45
|
<input class="input_search" style="width:60%" type="number" min = "0" v-model="model.f_preamount" placeholder="金额">
|
|
37
46
|
</div>
|
|
47
|
+
<div class="col-sm-4">
|
|
48
|
+
<label class=" font_normal_body">上次气量是否上表:</label>
|
|
49
|
+
<div style="display: inline-block;padding-top: 7px">
|
|
50
|
+
<input type="radio" id="true2" name="filllast" value="1" v-model="filllast">
|
|
51
|
+
<label for="true2">是</label>
|
|
52
|
+
<input type="radio" id="false2" name="filllast" value="0" v-model="filllast">
|
|
53
|
+
<label for="false2">否</label>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
38
56
|
<div class="col-sm-4">
|
|
39
57
|
<label for="f_add_gas" class="font_normal_body">是否入累计:</label>
|
|
40
58
|
<v-select v-model="model.f_add_gas"
|
|
@@ -180,6 +198,16 @@ let otherGasGen = async function (self) {
|
|
|
180
198
|
if (!(self.row.f_hascard == null) && !(self.row.f_share_times == null) && self.row.f_meter_type == '物联网表' && self.row.f_hascard == '是' && self.row.f_share_times == '是') {
|
|
181
199
|
params.cs = self.row.f_times + 1
|
|
182
200
|
}
|
|
201
|
+
// 如果上次气量上表,就把上次气量变成上上次气量,上上次变为上上上次
|
|
202
|
+
if(self.filllast == '1'){
|
|
203
|
+
params.csql = params.ccsql
|
|
204
|
+
params.lastmoney = params.lastlastmoney
|
|
205
|
+
params.ccsql = params.cccsql
|
|
206
|
+
params.lastlastmoney = params.lastlastlastmoney
|
|
207
|
+
}
|
|
208
|
+
// 删除多余参数
|
|
209
|
+
delete params.cccsql
|
|
210
|
+
delete params.lastlastlastmoney
|
|
183
211
|
console.log('获取其他补气写卡参数,,', params)
|
|
184
212
|
|
|
185
213
|
let url = (getLastOper.data.last_oper === '补卡' || getLastOper.data.last_oper === '换表')
|
|
@@ -223,6 +251,7 @@ export default {
|
|
|
223
251
|
data () {
|
|
224
252
|
return {
|
|
225
253
|
isGas: false,
|
|
254
|
+
filllast: '0',
|
|
226
255
|
config: {
|
|
227
256
|
hasPrint: false, // 默认打票
|
|
228
257
|
hasBillManage: false, // 默认不启用发票管理
|
|
@@ -213,6 +213,8 @@ let CommonService = {
|
|
|
213
213
|
lastmoney: cardParams.data.scje,
|
|
214
214
|
ccsql: cardParams.data.ssc,
|
|
215
215
|
lastlastmoney: cardParams.data.sscje,
|
|
216
|
+
cccsql: cardParams.data.sssc ? cardParams.data.sssc : null,
|
|
217
|
+
lastlastlastmoney: cardParams.data.ssscje ? cardParams.data.ssscje : null,
|
|
216
218
|
ljgql: cardParams.data.f_pregas,
|
|
217
219
|
ljyql: cardParams.data.f_pregasall,
|
|
218
220
|
yhh: cardParams.data.f_meterid,
|