sale-client 4.0.89 → 4.0.91
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 +7 -7
- package/package.json +1 -1
- package/src/components/revenue/changeInsurance/InsuranceAdd.vue +17 -10
- package/src/filiale/foric-v3/MaterialsList.vue +1 -1
- package/src/filiale/huaran/FilesManage/FileUserFiles.vue +1114 -0
- package/src/filiale/huaran/FilesManage/MeterinfoTest.vue +48 -31
- package/src/filiale/huaran/FilesManage/UserGeneralInfoTest.vue +852 -0
- package/src/filiale/huaran/FilesManage/UserPaperInfoTest.vue +68 -0
- package/src/filiale/huaran/FilesManageNew/FileUserFiles.vue +749 -0
- package/src/filiale/huaran/FilesManageNew/UserGeneralInfoTest.vue +700 -0
- package/src/filiale/huaran/FilesManageNew/UserPaperInfoTest.vue +51 -0
- package/src/filiale/huaran/GasPrice.vue +527 -0
- package/src/filiale/huaran/sale.js +10 -0
- package/src/filiale/ronghao/InsuranceManage.vue +58 -0
- package/src/filiale/ronghao/Upload.vue +6 -2
- package/src/filiale/ronghao/sale.js +2 -0
- package/src/main.js +1 -1
- package/src/plugins/GetSaleParams.js +18 -1
package/build/dev-server.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
2
|
var checkVersion = require('./versionCheck.js')
|
|
3
3
|
checkVersion()
|
|
4
|
-
const [ serverRul, localUrl ] = ['http://192.168.50.67:31467/', 'http://
|
|
4
|
+
const [ serverRul, localUrl ] = ['http://192.168.50.67:31467/', 'http://127.0.0.1:9026/']
|
|
5
5
|
var merge = require('webpack-merge')
|
|
6
6
|
var baseConfig = require('./webpack.dev.conf')
|
|
7
7
|
var devConfig = {
|
|
@@ -20,9 +20,9 @@ var devConfig = {
|
|
|
20
20
|
},
|
|
21
21
|
proxy: {
|
|
22
22
|
'/api/af-revenue/logic': {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
pathRewrite: {
|
|
24
|
+
'/api/af-revenue/logic': '/logic'
|
|
25
|
+
},
|
|
26
26
|
target: localUrl
|
|
27
27
|
},
|
|
28
28
|
'/api/af-revenue/file': {
|
|
@@ -38,9 +38,9 @@ var devConfig = {
|
|
|
38
38
|
target: 'http://410663id1ia4.vicp.fun'
|
|
39
39
|
},
|
|
40
40
|
'/api/af-revenue/sql': {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
pathRewrite: {
|
|
42
|
+
'/api/af-revenue/sql': '/sql'
|
|
43
|
+
},
|
|
44
44
|
target: localUrl
|
|
45
45
|
},
|
|
46
46
|
'/api': {
|
package/package.json
CHANGED
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
<input type="number" v-model="model.f_salecount" placeholder="购买年限" style="width: 60%"
|
|
64
64
|
class="input_search" v-validate:f_salecount='{required: true }' v-el:style v-next-el="inpipe">
|
|
65
65
|
</div>
|
|
66
|
-
<div class="col-sm-6 form-group" v-if="model.f_state !=='待执行'">
|
|
66
|
+
<div class="col-sm-6 form-group" v-if="model.f_state !=='待执行'" :class="[$v.f_salecount.required? 'has-error' : '']">
|
|
67
67
|
<label class="font_normal_body">    购买年限</label>
|
|
68
68
|
<input type="number" v-model="model.f_salecount" placeholder="购买年限" style="width: 60%"
|
|
69
|
-
class="input_search" v v-el:style v-next-el="inpipe">
|
|
69
|
+
class="input_search" v-validate:f_salecount='{required: true }' v-el:style v-next-el="inpipe">
|
|
70
70
|
</div>
|
|
71
71
|
<div class="col-sm-6 form-group" :class="[$v.f_expiration_date2.required ? 'has-error' : '']" v-if="model.f_state === '待执行'">
|
|
72
72
|
<input type="text" v-show="false" v-model="tmp" :value.sync='model.f_expiration_date' v-el:f_expiration_date2>
|
|
@@ -126,7 +126,8 @@
|
|
|
126
126
|
<div class="col-sm-6 form-group" :class="[$v.f_money.required ? 'has-error' : '']">
|
|
127
127
|
<label class="font_normal_body">    保费金额</label>
|
|
128
128
|
<input type="number" v-model="model.f_money" class="input_search" style="width:60%"
|
|
129
|
-
v-validate:f_money='{required: true, dctest: [0, ">=" ] }'
|
|
129
|
+
v-validate:f_money='{required: true, dctest: [0.00, ">=" ] }' v-scale="2"
|
|
130
|
+
placeholder="保费金额">
|
|
130
131
|
</div>
|
|
131
132
|
<div class="col-sm-6 form-group" :class="[$v.payment.required ? 'has-error select-error' : '']">
|
|
132
133
|
<label class="font_normal_body">    收款方式</label>
|
|
@@ -183,6 +184,7 @@
|
|
|
183
184
|
<button class="button_clear" @click="cancel">取消</button>
|
|
184
185
|
</div>
|
|
185
186
|
</validator>
|
|
187
|
+
<payment-code v-ref:paymentcode :payment="model.f_payment" :row="model" :money="model.f_money"></payment-code>
|
|
186
188
|
</div>
|
|
187
189
|
</template>
|
|
188
190
|
<script>
|
|
@@ -219,10 +221,10 @@
|
|
|
219
221
|
},
|
|
220
222
|
props: {
|
|
221
223
|
model: {
|
|
222
|
-
type:Object,
|
|
223
|
-
default:{
|
|
224
|
-
f_insurance_type:'',
|
|
225
|
-
f_state:''
|
|
224
|
+
type: Object,
|
|
225
|
+
default: {
|
|
226
|
+
f_insurance_type: '',
|
|
227
|
+
f_state: ''
|
|
226
228
|
}
|
|
227
229
|
|
|
228
230
|
},
|
|
@@ -279,7 +281,7 @@
|
|
|
279
281
|
}
|
|
280
282
|
},
|
|
281
283
|
'model.f_money' (val) {
|
|
282
|
-
if (val && (val < 0
|
|
284
|
+
if (val && (val < 0)) {
|
|
283
285
|
this.model.f_money = 0
|
|
284
286
|
}
|
|
285
287
|
},
|
|
@@ -313,11 +315,11 @@
|
|
|
313
315
|
}
|
|
314
316
|
},
|
|
315
317
|
'model.f_userinfo_id' (val) {
|
|
316
|
-
if(val&& this.model.f_userinfo_id){
|
|
318
|
+
if (val && this.model.f_userinfo_id) {
|
|
317
319
|
this.model.f_insurance_type = this.model.f_insurance_type == null ? this.config.insuranceType : this.model.f_insurance_type
|
|
318
320
|
this.model.f_state = this.model.f_state == null ? this.config.insurancestate : this.model.f_state
|
|
319
321
|
this.model.f_ins_start_date = Util.toStandardTimeString()
|
|
320
|
-
console.log('cs===================cs',this.model.f_userinfo_id,this.model.f_ins_start_date)
|
|
322
|
+
console.log('cs===================cs', this.model.f_userinfo_id, this.model.f_ins_start_date)
|
|
321
323
|
}
|
|
322
324
|
}
|
|
323
325
|
},
|
|
@@ -388,7 +390,12 @@
|
|
|
388
390
|
}
|
|
389
391
|
}
|
|
390
392
|
if (saveState) {
|
|
393
|
+
let ss = await this.$refs.paymentcode.flowPath()
|
|
394
|
+
this.$refs.paymentcode.paymentCodeShow = false
|
|
395
|
+
console.log('付款码操作返回', ss)
|
|
396
|
+
if (!ss.result) return
|
|
391
397
|
this.model.f_total_ins_charge = this.model.f_total_ins_charge == null ? 0 : this.model.f_total_ins_charge
|
|
398
|
+
this.model.f_serial_id = this.$refs.paymentcode.paymentCodeReturnData.f_out_trade_no
|
|
392
399
|
this.model.f_operat_type = '保险'
|
|
393
400
|
this.model.f_operator = this.operatorname[0]
|
|
394
401
|
this.model.f_operatorid = this.f_operatorid[0]
|
|
@@ -182,7 +182,7 @@ export default {
|
|
|
182
182
|
this.$showAlert('请先删除子目录!', 'warning', 2000)
|
|
183
183
|
return
|
|
184
184
|
}
|
|
185
|
-
this.$resetdelete(`
|
|
185
|
+
this.$resetdelete(`api/af-revenue/entity/t_material_info`, {id: obj.data.id}).then(res =>
|
|
186
186
|
this.searchData()
|
|
187
187
|
)
|
|
188
188
|
},
|