sale-client 3.6.76 → 3.6.77
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/build/dev-server.js +2 -2
- package/package.json +1 -1
- package/src/components/revenue/comprehen/Bill/EticketV4/EticketRecordList.vue +12 -4
- package/src/filiale/gehua/MeterinfoTest.vue +8 -2
- package/src/filiale/rizhao/ChargeList.vue +7 -1
- package/src/filiale/yuansheng/icTable.vue +4 -5
- package/src/filiale/yuansheng/sale.js +2 -0
- package/src/main.js +1 -2
package/build/dev-server.js
CHANGED
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<div class="form-group col-sm-2">
|
|
20
20
|
<label class="font_normal_body">客户地址</label>
|
|
21
21
|
<input type="text" class="form-control" v-model="model.f_buy_address_phone" style="width:60%"
|
|
22
|
-
condition="f_buy_address_phone like '%{}%'" placeholder="
|
|
22
|
+
condition="f_buy_address_phone like '%{}%'" placeholder="客户地址"
|
|
23
23
|
>
|
|
24
24
|
</div>
|
|
25
25
|
<div class="form-group col-sm-2">
|
|
@@ -114,6 +114,10 @@
|
|
|
114
114
|
</th>
|
|
115
115
|
<th>
|
|
116
116
|
<data-order field="f_total_money" name="实收金额"
|
|
117
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_collection"></data-order>
|
|
118
|
+
</th>
|
|
119
|
+
<th>
|
|
120
|
+
<data-order field="f_total_money" name="开票金额"
|
|
117
121
|
:order.sync="$parent.$parent.$parent.orderFields.f_total_money"></data-order>
|
|
118
122
|
</th>
|
|
119
123
|
<th>
|
|
@@ -159,6 +163,7 @@
|
|
|
159
163
|
<th style="text-align:center">{{ row.f_userinfo_code }}</th>
|
|
160
164
|
<th style="text-align:center">{{ row.f_user_name }}</th>
|
|
161
165
|
<th style="text-align:center">{{ row.f_buy_address_phone }}</th>
|
|
166
|
+
<th style="text-align:center">{{ row.f_collection }}</th>
|
|
162
167
|
<th style="text-align:center">{{ row.f_total_money }}</th>
|
|
163
168
|
<th style="text-align:center">{{ row.f_tax_money }}</th>
|
|
164
169
|
<th style="text-align:center">{{ row.f_invoice_type }}</th>
|
|
@@ -246,15 +251,18 @@ export default {
|
|
|
246
251
|
bz: '',
|
|
247
252
|
row: {},
|
|
248
253
|
orderFields: {
|
|
249
|
-
f_operate_date: 'desc'
|
|
254
|
+
f_operate_date: 'desc',
|
|
255
|
+
f_collection: 'no',
|
|
256
|
+
f_total_money: 'no'
|
|
250
257
|
},
|
|
251
258
|
// 排序
|
|
252
|
-
orderitem: '',
|
|
259
|
+
orderitem: ' f_operate_date desc ',
|
|
253
260
|
fields: {
|
|
254
261
|
'f_userinfo_code': '客户编号',
|
|
255
262
|
'f_user_name': '客户姓名',
|
|
256
263
|
'f_buy_address_phone': '用户地址',
|
|
257
|
-
'
|
|
264
|
+
'f_collection': '实收金额',
|
|
265
|
+
'f_total_money': '开票金额',
|
|
258
266
|
'f_tax_money': '不含税金额',
|
|
259
267
|
'f_invoice_type': '发票类型',
|
|
260
268
|
'f_bill_code': '发票代码',
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
<!-- <v-select :value.sync="row.gasbrand" :options='meterbrands' placeholder='气表品牌' close-on-select
|
|
46
46
|
search @change='brandChange' v-model='row.gasbrand' :disabled="!((row.f_meter_classify.indexOf('卡表') !== -1&&row.f_user_state === '预备') || (row.f_meter_classify.indexOf('卡表') !== -1&&row.f_whether_hairpin === '未发'))" v-ref:brand></v-select>-->
|
|
47
47
|
<v-select :value.sync="row.gasbrand" :options='meterbrands' placeholder='气表品牌' close-on-select
|
|
48
|
-
search @change='brandChange' v-model='row.gasbrand' :disabled="
|
|
48
|
+
search @change='brandChange' v-model='row.gasbrand' :disabled="user_State === '正常'" v-ref:brand></v-select>
|
|
49
49
|
</div>
|
|
50
50
|
<div class="col-sm-4 form-group" :class="[$m.model.required ? 'has-error' : '']">
|
|
51
51
|
<label for="gasmodel" class="font_normal_body">气表型号</label>
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
<!-- v-model='row.gasmodel' :disabled="!(row.gasbrand.length !== 0 && ((row.f_meter_classify.indexOf('卡表') !== -1&&row.f_user_state === '预备') || (row.f_meter_classify.indexOf('卡表') !== -1&&row.f_whether_hairpin === '未发')))" v-ref:model></v-select>-->
|
|
57
57
|
<v-select :value.sync="row.gasmodel" :options='row.gasbrand[0].gasmodel' placeholder='气表型号'
|
|
58
58
|
close-on-select
|
|
59
|
-
v-model='row.gasmodel' :disabled="!(row.gasbrand.length !== 0 && (
|
|
59
|
+
v-model='row.gasmodel' :disabled="!(row.gasbrand.length !== 0 && (user_State !== '正常'))" v-ref:model></v-select>
|
|
60
60
|
</div>
|
|
61
61
|
<div class="col-sm-4 form-group">
|
|
62
62
|
<label for="f_meter_base" class="font_normal_body"> 累购气量</label>
|
|
@@ -576,6 +576,7 @@
|
|
|
576
576
|
props: ['f_filialeid', 'meter', 'isdecimal', 'valid', 'f_userinfo_id', 'overdueset', 'curuser'],
|
|
577
577
|
async ready () {
|
|
578
578
|
this.user_State = this.curuser.f_user_state
|
|
579
|
+
console.log(this.user_State)
|
|
579
580
|
this.row = Object.assign(this.row, this.meter, {f_use_limit : this.$appdata.getSingleValue('报废年限')})
|
|
580
581
|
if (this.row.f_meter_classify) {
|
|
581
582
|
if (this.row.f_meter_classify === '物联网表') {
|
|
@@ -671,6 +672,11 @@
|
|
|
671
672
|
co(brandChangeGen(this))
|
|
672
673
|
}
|
|
673
674
|
this.meternumberValidate()
|
|
675
|
+
console.log('---------------------------------')
|
|
676
|
+
console.log(this.curuser)
|
|
677
|
+
console.log(this.meter)
|
|
678
|
+
console.log(this.user_State)
|
|
679
|
+
console.log('---------------------------------')
|
|
674
680
|
},
|
|
675
681
|
userTypeChange () {
|
|
676
682
|
this.gasproperties = []
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
<p class="form-control-static">{{userAddress}}</p>
|
|
308
308
|
</div>
|
|
309
309
|
<label class="col-sm-2 control-label" v-if="showOrgname">所属公司</label>
|
|
310
|
-
<div class="col-sm-
|
|
310
|
+
<div class="col-sm-10" v-if="showOrgname">
|
|
311
311
|
<p class="form-control-static" style="color: red">{{orgName}}</p>
|
|
312
312
|
</div>
|
|
313
313
|
</div>
|
|
@@ -575,6 +575,12 @@
|
|
|
575
575
|
if (getUser.data[0].f_filialeid != self.$login.f.orgid) {
|
|
576
576
|
self.showCardError = true
|
|
577
577
|
self.showCardError2 = true
|
|
578
|
+
self.orgName = ''
|
|
579
|
+
let arr = []
|
|
580
|
+
for(let i=0;i < getUser.data.length;i++){
|
|
581
|
+
arr.push(getUser.data[i].f_orgname)
|
|
582
|
+
}
|
|
583
|
+
self.orgName = arr.join(", ")
|
|
578
584
|
self.showOrgname = true
|
|
579
585
|
return
|
|
580
586
|
}
|
|
@@ -8,11 +8,13 @@
|
|
|
8
8
|
<label class="font_normal_body"> 操作 </label>
|
|
9
9
|
<v-select v-if="this.row.f_collection_type==='按金额'" :value.sync="model.f_operat_type"
|
|
10
10
|
:options='operator_type' placeholder='请选择'
|
|
11
|
+
:value-single="true"
|
|
11
12
|
selected="赠费"
|
|
12
13
|
style="width:60%"
|
|
13
14
|
close-on-select></v-select>
|
|
14
15
|
<v-select v-if="this.row.f_collection_type==='按气量'" :value.sync="model.f_operat_type"
|
|
15
16
|
:options='operator_type2' placeholder='请选择'
|
|
17
|
+
:value-single="true"
|
|
16
18
|
selected="赠气"
|
|
17
19
|
style="width:60%"
|
|
18
20
|
close-on-select></v-select>
|
|
@@ -118,11 +120,8 @@ let preamountGen = async function (self) {
|
|
|
118
120
|
let data = self.getSell()
|
|
119
121
|
data.f_total_gas = data.f_add_gas === '计入' ? (self.row.f_total_gas - 0) + (self.model.f_pregas - 0) : (self.row.f_total_gas - 0)
|
|
120
122
|
data.f_total_fee = data.f_add_gas === '计入' ? (self.row.f_total_fee - 0) + (self.model.f_preamount - 0) : (self.row.f_total_fee - 0)
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
} else {
|
|
124
|
-
data.f_preamount = self.model.f_preamount
|
|
125
|
-
}
|
|
123
|
+
data.f_pregas = self.model.f_pregas
|
|
124
|
+
data.f_preamount = self.model.f_preamount
|
|
126
125
|
data.f_userfiles_id = {
|
|
127
126
|
f_userfiles_id: self.row.f_userfiles_id,
|
|
128
127
|
f_user_id: self.row.f_user_id,
|
|
@@ -26,4 +26,6 @@ export default function () {
|
|
|
26
26
|
Vue.component('iot-refund', (resolve) => { require(['./IOTRefund'], resolve) })
|
|
27
27
|
// 物联网赠气
|
|
28
28
|
Vue.component('iotTable', (resolve) => { require(['./iotTable'], resolve) })
|
|
29
|
+
// 物联网赠气
|
|
30
|
+
Vue.component('icTable', (resolve) => { require(['./icTable'], resolve) })
|
|
29
31
|
}
|
package/src/main.js
CHANGED
|
@@ -3,7 +3,7 @@ import all from 'vue-client/src/all'
|
|
|
3
3
|
import App from './App'
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
5
|
import sale from './sale'
|
|
6
|
-
import wenxi from './filiale/
|
|
6
|
+
import wenxi from './filiale/yuansheng/sale'
|
|
7
7
|
// import FilialeSale from './filiale/yuansheng/sale'
|
|
8
8
|
import address from 'address-client/src/address'
|
|
9
9
|
import ldap from 'ldap-clients/src/ldap'
|
|
@@ -11,7 +11,6 @@ import VueClipboard from 'vue-clipboard2'
|
|
|
11
11
|
|
|
12
12
|
Vue.use(VueClipboard)
|
|
13
13
|
Vue.config.silent = true
|
|
14
|
-
|
|
15
14
|
all()
|
|
16
15
|
system(false)
|
|
17
16
|
sale()
|