sale-client 3.6.175 → 3.6.177
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
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
|
-
const [ serverRul, localUrl ] = ['http://
|
|
2
|
+
const [ serverRul, localUrl ] = ['http://192.168.3.82:8400/#', 'http://192.168.3.82:8400/#']
|
|
3
3
|
var merge = require('webpack-merge')
|
|
4
4
|
var baseConfig = require('./webpack.dev.conf')
|
|
5
5
|
var devConfig = {
|
package/package.json
CHANGED
|
@@ -190,7 +190,7 @@ let asyncCardMeterCenter = async function (self) {
|
|
|
190
190
|
data: {
|
|
191
191
|
items: 'sum(f_real_amount) f_real_amount,sum(f_surplus_fee) f_surplus_fee',
|
|
192
192
|
tablename: 't_surplus_detail',
|
|
193
|
-
condition: `f_userinfo_id = any(select f_userinfo_id from t_userfiles where f_civill_id = '${self.civill}') and f_state='有效' and f_whether_pay = '否' `,
|
|
193
|
+
condition: `f_userinfo_id = any(select f_userinfo_id from t_userfiles where f_civill_id = '${self.civill.id}') and f_state='有效' and f_whether_pay = '否' `,
|
|
194
194
|
orderitem: 'f_surplus_fee'
|
|
195
195
|
}
|
|
196
196
|
},
|
|
@@ -157,7 +157,7 @@ export default {
|
|
|
157
157
|
// 处理按钮样式
|
|
158
158
|
this.styleChange(btn.name)
|
|
159
159
|
this.chargeShow = true
|
|
160
|
-
this.$refs.route.init(btn.value.routeName, {row: this.row, data: this.model, owe: this.owe, civill: this.
|
|
160
|
+
this.$refs.route.init(btn.value.routeName, {row: this.row, data: this.model, owe: this.owe, civill: this.civill})
|
|
161
161
|
},
|
|
162
162
|
styleChange (name) {
|
|
163
163
|
this.operBtns.forEach((res) => {
|
package/src/main.js
CHANGED
|
@@ -4,7 +4,7 @@ import App from './App'
|
|
|
4
4
|
import system from 'system-clients/src/system'
|
|
5
5
|
import sale from './sale'
|
|
6
6
|
// import wenxi from './filiale/rizhao/sale'
|
|
7
|
-
import FilialeSale from './filiale/
|
|
7
|
+
import FilialeSale from './filiale/gehua/sale'
|
|
8
8
|
import address from 'address-client/src/address'
|
|
9
9
|
import ldap from 'ldap-clients/src/ldap'
|
|
10
10
|
import VueClipboard from 'vue-clipboard2'
|
|
@@ -62,6 +62,11 @@ let offGasAddGasGen = function * (model, row) {
|
|
|
62
62
|
meternumber: row.f_meternumber
|
|
63
63
|
}
|
|
64
64
|
params = Object.assign({}, Vue.CommonService.writeCardParams(cardParams), params)
|
|
65
|
+
// 判断是否是累购表
|
|
66
|
+
if (row.f_support_purchase === '是') {
|
|
67
|
+
params.ljgql = (row.f_write_totalgas - 0)
|
|
68
|
+
params.ljgqje = (row.f_write_totalfee - 0)
|
|
69
|
+
}
|
|
65
70
|
params.kzt = getLastOper.data.ispick === '未过表' && getLastOper.data.lastsell_oper === '发卡售气' ? '0' : '1'
|
|
66
71
|
// 掉气补气传的累计购气金额应该处理掉最有一笔收费记录的金额
|
|
67
72
|
|