safecheck-client 4.0.0-6 → 4.0.0-60
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/App.vue +31 -31
- package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
- package/src/components/DefectDealMain/DefectListNew.vue +642 -642
- package/src/components/Util/ImgSelfSafePlus.vue +13 -3
- package/src/components/android/AddPlanItem.vue +447 -447
- package/src/components/android/AddPlanItemYy.vue +451 -451
- package/src/components/android/AddSpecialPlanItem.vue +426 -426
- package/src/components/android/AndroidDefectDeal.vue +1 -1
- package/src/components/android/AndroidDefectDealBeforeSafe.vue +1 -1
- package/src/components/android/AndroidDefectDetails.vue +725 -0
- package/src/components/android/BlackUserOnLine.vue +2 -2
- package/src/components/android/CurrentCreateYy.vue +1051 -1051
- package/src/components/android/Devices.vue +327 -327
- package/src/components/android/Devicesm.vue +327 -327
- package/src/components/android/Insurance/PhoneInsurancePurchase.vue +1 -1
- package/src/components/android/PaperFeedback.vue +14 -12
- package/src/components/android/PaperFeedbackTemp.vue +2 -2
- package/src/components/android/PaperFeedbackm.vue +1026 -1026
- package/src/components/android/PhoneRecordInfo.vue +113 -113
- package/src/components/android/PhoneSellInfo.vue +113 -113
- package/src/components/android/PhoneUpDetail.vue +1040 -1040
- package/src/components/android/PhoneUpUserinfo.vue +20 -0
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
- package/src/components/android/QRCode/QRCodePage.vue +212 -212
- package/src/components/android/RelieveRestrict.vue +1 -1
- package/src/components/android/Restriction.vue +1 -1
- package/src/components/android/SafePlanItem.vue +509 -509
- package/src/components/android/SafecheckDevices.vue +47 -2
- package/src/components/android/SafecheckOrderV.vue +2 -2
- package/src/components/android/SealBind.vue +392 -0
- package/src/components/android/SealManage.vue +250 -0
- package/src/components/android/UserinfoSelect.vue +714 -714
- package/src/components/android/examples/SafeListExamples.vue +296 -296
- package/src/components/android/old/PaperFeedback.vue +1015 -1015
- package/src/components/android/recheck/Recheck.vue +402 -402
- package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
- package/src/components/checkplan/checkmsg.vue +459 -459
- package/src/components/defect/DefectList.vue +507 -507
- package/src/components/defect/DefectListWeixiu.vue +484 -484
- package/src/components/filialCircle/CircleList.vue +139 -139
- package/src/components/inspections/AddInspectPlanItem.vue +325 -325
- package/src/components/inspections/AddInspectPlanItems.vue +325 -325
- package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
- package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
- package/src/components/inspections/inspectionFeedback.vue +2 -2
- package/src/components/inspections/inspectionOrderV.vue +1853 -1853
- package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
- package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
- package/src/components/inspections/inspectionUserInfo.vue +398 -398
- package/src/components/paper/PaperList.vue +34 -6
- package/src/components/pc/AddToCheckBook.vue +100 -23
- package/src/components/pc/AnnouncementPC.vue +524 -524
- package/src/components/pc/CheckBook.vue +2 -0
- package/src/components/pc/CheckBookDetails.vue +6 -39
- package/src/components/pc/CheckBookEntry.vue +6 -7
- package/src/components/pc/CheckBookList.vue +60 -71
- package/src/components/pc/CheckBookSearchArea.vue +20 -24
- package/src/components/pc/CheckBookSearchUser.vue +139 -84
- package/src/components/pc/CheckBookSearchUserList.vue +1 -2
- package/src/components/pc/CheckBookUser.vue +276 -44
- package/src/components/pc/DefectList.vue +742 -742
- package/src/components/pc/DeviceChange.vue +1068 -1068
- package/src/components/pc/NewCheckpaper.vue +14 -8
- package/src/components/pc/NewCheckpaperTemp.vue +5 -5
- package/src/components/pc/PaperDefectMain.vue +1 -0
- package/src/components/pc/SafeVisitInfo.vue +261 -261
- package/src/components/planmanage/PlanManage.vue +886 -888
- package/src/components/planmanage/checkPlanList.vue +368 -368
- package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
- package/src/components/report/HiddenSituation.vue +165 -165
- package/src/components/rongcheng/AspPaperFeedback.vue +1 -1
- package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
- package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
- package/src/components/rongcheng/DefectList.vue +560 -560
- package/src/components/rongcheng/PaperFeedback.vue +2 -2
- package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
- package/src/components/safecheck/queryManage/CheckBookAll.vue +2 -2
- package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
- package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
- package/src/components/safecheckNew/android/Recheck.vue +379 -379
- package/src/components/sendsingle/EquipmentManagement.vue +727 -727
- package/src/components/shaoguan/DefectList.vue +473 -473
- package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
- package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
- package/src/components/userfile/SecurityAudit.vue +243 -243
- package/src/components/userfileNew/UserInfoAuditNew.vue +274 -274
- package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
- package/src/filiale/ancheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
- package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
- package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
- package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
- package/src/filiale/ankangyihua/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
- package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
- package/src/filiale/baiyin/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
- package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
- package/src/filiale/bayan/android/Edit.vue +132 -132
- package/src/filiale/bayan/android/PaperFeedback.vue +2 -2
- package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
- package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
- package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
- package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
- package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
- package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
- package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
- package/src/filiale/fugou/pc/PaperDefectMain.vue +1 -1
- package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
- package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
- package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
- package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
- package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
- package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
- package/src/filiale/hanzhong/android/PaperFeedback.vue +2 -2
- package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
- package/src/filiale/huatong/android/PaperFeedback.vue +2 -2
- package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
- package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
- package/src/filiale/huayin/android/PaperFeedback.vue +2 -2
- package/src/filiale/huayin/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
- package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
- package/src/filiale/jiaocheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
- package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
- package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
- package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
- package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
- package/src/filiale/jingyang/android/PaperFeedback.vue +2 -2
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
- package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +171 -100
- package/src/filiale/jinhong/android/PhoneInsuranceRecordList.vue +346 -0
- package/src/filiale/jinhong/android.js +1 -0
- package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
- package/src/filiale/kelai/android/AndroidDefectDeal.vue +2 -2
- package/src/filiale/kelai/android/PaperFeedback.vue +2 -2
- package/src/filiale/kelai/android/RelieveRestrict.vue +1 -1
- package/src/filiale/kelai/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
- package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
- package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
- package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +1 -1
- package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
- package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
- package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
- package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
- package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
- package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
- package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
- package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
- package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
- package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
- package/src/filiale/meihekou/android/AreaPlan.vue +569 -0
- package/src/filiale/meihekou/android/CheckPlanList.vue +198 -0
- package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -0
- package/src/filiale/meihekou/android/CurrentCreate.vue +1087 -0
- package/src/filiale/meihekou/android/MeterReading.vue +106 -0
- package/src/filiale/meihekou/android/PhoneUpUserinfo.vue +1276 -0
- package/src/filiale/meihekou/android/SafecheckOrderV.vue +2398 -0
- package/src/filiale/meihekou/android/SafecheckUserInfo.vue +787 -0
- package/src/filiale/meihekou/android.js +19 -0
- package/src/filiale/meihekou/pc.js +12 -0
- package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
- package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
- package/src/filiale/pingxiang/android/PaperFeedback.vue +2 -2
- package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
- package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
- package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
- package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
- package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
- package/src/filiale/qianneng/android/PaperFeedback.vue +2 -2
- package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
- package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
- package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
- package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
- package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
- package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
- package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
- package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
- package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
- package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
- package/src/filiale/rizhao/android/PaperFeedback.vue +2 -2
- package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
- package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
- package/src/filiale/rizhao/pc/DefectList.vue +489 -489
- package/src/filiale/rongchuang/android/PaperFeedback.vue +2 -2
- package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
- package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
- package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
- package/src/filiale/shanggao/android/PaperFeedback.vue +2 -2
- package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
- package/src/filiale/shanxian/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/shanxian/android/PaperFeedback.vue +2 -2
- package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
- package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
- package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
- package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
- package/src/filiale/shexian/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/shexian/android/PaperFeedback.vue +2 -2
- package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
- package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
- package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
- package/src/filiale/shimen/android/PaperFeedback.vue +2 -2
- package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
- package/src/filiale/shimen/pc/DefectList.vue +473 -473
- package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
- package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
- package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
- package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
- package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
- package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
- package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
- package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
- package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
- package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
- package/src/filiale/tongchuan/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/tongchuan/android/PaperFeedback.vue +2 -2
- package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
- package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
- package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
- package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
- package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
- package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
- package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
- package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
- package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
- package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
- package/src/filiale/weinan/android/SafecheckOrderV.vue +3 -3
- package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
- package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
- package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
- package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
- package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
- package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
- package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
- package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
- package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
- package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
- package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
- package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
- package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
- package/src/filiale/wenxi/android/PaperFeedback.vue +3 -3
- package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
- package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
- package/src/filiale/wenxi/pc/DefectList.vue +653 -653
- package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
- package/src/filiale/wuan/android/PaperFeedback.vue +2 -2
- package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
- package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
- package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
- package/src/filiale/wuhai/android/PaperFeedback.vue +2 -2
- package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
- package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
- package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
- package/src/filiale/xiangyuanzhongai/android/SafecheckDevices.vue +20 -1
- package/src/filiale/xiangyuanzhongai/android/SafecheckOrderV.vue +2282 -0
- package/src/filiale/xiangyuanzhongai/android/SafecheckUserInfo.vue +786 -0
- package/src/filiale/xiangyuanzhongai/android.js +2 -0
- package/src/filiale/xiangyuanzhongai/pc/DefectListNew.vue +663 -0
- package/src/filiale/xiangyuanzhongai/pc/PaperList.vue +795 -0
- package/src/filiale/xiangyuanzhongai/pc.js +2 -0
- package/src/filiale/xinkang/android/SafecheckOrderV.vue +2732 -2732
- package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -747
- package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
- package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -1498
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +2 -2
- package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
- package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
- package/src/filiale/yongzhou/android/PaperFeedback.vue +2 -2
- package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
- package/src/filiale/yuansheng/android/AndroidDefectDeal.vue +1 -1
- package/src/filiale/yuansheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
- package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
- package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
- package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
- package/src/filiale/yunchengminsheng/android/DailyworkloadQuery.vue +491 -491
- package/src/filiale/yunchengminsheng/android/PhoneSellInfo.vue +113 -0
- package/src/filiale/yunchengminsheng/android/SafecheckOrderV.vue +2848 -2846
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +785 -785
- package/src/filiale/yunchengminsheng/android.js +15 -14
- package/src/filiale/yunchengminsheng/pc/NewCheckpaper.vue +16 -5
- package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
- package/src/filiale/zhongsheng/android/PaperFeedback.vue +2 -2
- package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
- package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
- package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
- package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
- package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
- package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
- package/src/filiale/zhoukou/android/PaperFeedback.vue +2 -2
- package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
- package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
- package/src/main.js +32 -33
- package/src/safecheck-android.js +3 -0
@@ -2,7 +2,7 @@
|
|
2
2
|
<div class="auto clearfix">
|
3
3
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
4
4
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
5
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
5
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
6
6
|
<span class="text-left font">客户编号</span>
|
7
7
|
</div>
|
8
8
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
@@ -11,65 +11,65 @@
|
|
11
11
|
</div>
|
12
12
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
13
13
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
14
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
14
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
15
15
|
<span class="text-left font">客户姓名</span>
|
16
16
|
</div>
|
17
17
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
18
|
-
<input
|
18
|
+
<input v-model="model.f_user_name" class="form-control show-font" placeholder="请输入客户姓名" type="text">
|
19
19
|
</div>
|
20
20
|
</div>
|
21
21
|
<div class="row app-row col-xs-12 col-sm-12 col-md-12">
|
22
22
|
<div class="col-xs-4 col-sm-2 col-md-2">
|
23
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
23
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
24
24
|
<span class="text-left font">客户地址</span>
|
25
25
|
</div>
|
26
26
|
<div class="col-xs-8 col-sm-10 col-md-10">
|
27
|
-
<input
|
27
|
+
<input v-model="model.f_address" class="form-control show-font" placeholder="请输入客户地址" type="text">
|
28
28
|
</div>
|
29
29
|
</div>
|
30
30
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
31
31
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
32
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
32
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
33
33
|
<span class="text-left font">客户电话</span>
|
34
34
|
</div>
|
35
35
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
36
|
-
<input
|
36
|
+
<input v-model="model.f_user_phone" class="form-control show-font" placeholder="请输入电话号码" type="number">
|
37
37
|
</div>
|
38
38
|
</div>
|
39
39
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
40
40
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
41
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
41
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
42
42
|
<span class="text-left font">证件类型</span>
|
43
43
|
</div>
|
44
44
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
45
|
-
<v-select
|
46
|
-
:
|
47
|
-
|
48
|
-
|
45
|
+
<v-select v-model="model.f_id_type" :options="idTypeOptions"
|
46
|
+
:value-single="true" :value.sync="model.f_id_type"
|
47
|
+
close-on-select placeholder="请选择证件类型"
|
48
|
+
style="width: 100%">
|
49
49
|
</v-select>
|
50
50
|
</div>
|
51
51
|
</div>
|
52
52
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
53
53
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
54
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
54
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
55
55
|
<span class="text-left font">证件号码</span>
|
56
56
|
</div>
|
57
57
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
58
|
-
<input
|
58
|
+
<input v-model="model.f_idnumber" class="form-control show-font" placeholder="请输入证件号码" type="text">
|
59
59
|
</div>
|
60
60
|
</div>
|
61
61
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
62
62
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
63
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
63
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
64
64
|
<span class="text-left font">保单号</span>
|
65
65
|
</div>
|
66
66
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
67
|
-
<input
|
67
|
+
<input v-model="model.f_insurance_number" class="form-control show-font" placeholder="请输入保单号" type="number">
|
68
68
|
</div>
|
69
69
|
</div>
|
70
70
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
71
71
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
72
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
72
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
73
73
|
<span class="text-left font">上期保费截至日期</span>
|
74
74
|
</div>
|
75
75
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
@@ -78,115 +78,150 @@
|
|
78
78
|
</div>
|
79
79
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
80
80
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
81
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
81
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
82
82
|
<span class="text-left font">投保日期</span>
|
83
83
|
</div>
|
84
84
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
85
|
-
<datepicker
|
85
|
+
<datepicker v-model="model.f_ins_start_date" :format="'yyyy-MM-dd'" :value.sync="model.f_ins_start_date"
|
86
86
|
placeholder="请选择投保日期" style="width: 60%" @change="changeExpirationDate">
|
87
87
|
</datepicker>
|
88
88
|
</div>
|
89
89
|
</div>
|
90
90
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
91
91
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
92
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
92
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
93
93
|
<span class="text-left font">购买年限</span>
|
94
94
|
</div>
|
95
95
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
96
|
-
<input
|
96
|
+
<input v-model="model.f_salecount" class="form-control show-font" placeholder="购买年限" style="width: 60%"
|
97
|
+
type="number" @change="changeExpirationDate">
|
97
98
|
</div>
|
98
99
|
</div>
|
99
100
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
100
101
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
101
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
102
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
102
103
|
<span class="text-left font">购买日期</span>
|
103
104
|
</div>
|
104
105
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
105
|
-
<datepicker
|
106
|
+
<datepicker v-model="create_date" :format="'yyyy-MM-dd'" :value.sync="create_date"
|
106
107
|
placeholder="购买日期" style="width: 60%">
|
107
108
|
</datepicker>
|
108
109
|
</div>
|
109
110
|
</div>
|
110
111
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
111
112
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
112
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
113
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
113
114
|
<span class="text-left font">到期日期</span>
|
114
115
|
</div>
|
115
116
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
116
|
-
<datepicker
|
117
|
+
<datepicker v-model="model.f_expiration_date" :format="'yyyy-MM-dd'" :value.sync="model.f_expiration_date"
|
117
118
|
placeholder="到期日期" style="width: 60%">
|
118
119
|
</datepicker>
|
119
120
|
</div>
|
120
121
|
</div>
|
121
122
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
122
123
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
123
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
124
|
-
<span class="text-left font"
|
124
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
125
|
+
<span class="text-left font">保险公司</span>
|
125
126
|
</div>
|
126
127
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
127
|
-
<
|
128
|
+
<v-select v-model="model.f_insurance_company" :options="insurance_companys"
|
129
|
+
:value-single="true" :value.sync="model.f_insurance_company"
|
130
|
+
close-on-select placeholder="保险公司"
|
131
|
+
style="width: 100%">
|
132
|
+
</v-select>
|
128
133
|
</div>
|
129
134
|
</div>
|
130
135
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
131
136
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
132
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
137
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
133
138
|
<span class="text-left font">保险险种</span>
|
134
139
|
</div>
|
135
140
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
136
|
-
<
|
141
|
+
<v-select v-model="model.f_insurance_type" :options="insurance_types"
|
142
|
+
:value-single="true" :value.sync="model.f_insurance_type"
|
143
|
+
close-on-select placeholder="保险险种"
|
144
|
+
style="width: 100%">
|
145
|
+
</v-select>
|
137
146
|
</div>
|
138
147
|
</div>
|
139
148
|
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
140
149
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
141
|
-
<img src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px"
|
150
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
151
|
+
<span class="text-left font">金额</span>
|
152
|
+
</div>
|
153
|
+
<div class="col-xs-8 col-sm-8 col-md-8">
|
154
|
+
<input v-model="model.f_money" class="form-control show-font" placeholder="请输入金额" type="number">
|
155
|
+
</div>
|
156
|
+
</div>
|
157
|
+
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
158
|
+
<div class="col-xs-4 col-sm-4 col-md-4">
|
159
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
142
160
|
<span class="text-left font">与投保人关系</span>
|
143
161
|
</div>
|
144
162
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
145
|
-
<v-select
|
146
|
-
:
|
147
|
-
|
148
|
-
|
163
|
+
<v-select v-model="model.f_relationship" :options="relationshipOptions"
|
164
|
+
:value-single="true" :value.sync="model.f_relationship"
|
165
|
+
close-on-select placeholder="请选择关系"
|
166
|
+
style="width: 100%">
|
167
|
+
</v-select>
|
168
|
+
</div>
|
169
|
+
</div>
|
170
|
+
<div class="row app-row col-xs-12 col-sm-6 col-md-6">
|
171
|
+
<div class="col-xs-4 col-sm-4 col-md-4">
|
172
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;margin-bottom: 5px">
|
173
|
+
<span class="text-left font">收款方式</span>
|
174
|
+
</div>
|
175
|
+
<div class="col-xs-8 col-sm-8 col-md-8">
|
176
|
+
<v-select v-model="model.f_payment" :options="payTypes"
|
177
|
+
:value-single="true" :value.sync="model.f_payment"
|
178
|
+
close-on-select placeholder="收款方式"
|
179
|
+
style="width: 100%">
|
149
180
|
</v-select>
|
150
181
|
</div>
|
151
182
|
</div>
|
152
183
|
<div class="row app-row col-xs-12">
|
153
184
|
<div class="col-xs-4 col-sm-4 col-md-4">
|
154
|
-
<img src="../../../assets/add.png" style="width: 20px;"
|
185
|
+
<img alt="" src="../../../assets/add.png" style="width: 20px;">
|
155
186
|
<span class="text-left font">备注</span>
|
156
187
|
</div>
|
157
188
|
<div class="col-xs-8 col-sm-8 col-md-8">
|
158
|
-
<input class="form-control show-font"
|
189
|
+
<input v-model="model.f_comments" class="form-control show-font" placeholder="备注">
|
159
190
|
</div>
|
160
191
|
</div>
|
161
192
|
<div class="col-xs-12 text-center app-row">
|
162
|
-
<button
|
193
|
+
<button class="btn btn-lg btn-font btn-color" style="width: 22%;" type="button" @click="commit()">提交</button>
|
163
194
|
</div>
|
164
195
|
</div>
|
165
196
|
</template>
|
166
197
|
<script>
|
167
|
-
import {
|
198
|
+
import {HttpResetClass} from 'vue-client'
|
168
199
|
import * as Util from '../../../components/Util'
|
169
200
|
import Vue from 'vue'
|
201
|
+
|
170
202
|
export default {
|
171
203
|
title: '手机单户抄表',
|
172
204
|
data() {
|
173
205
|
return {
|
174
|
-
create_date:Util.getNowDate(),
|
175
|
-
isCommit:false,
|
206
|
+
create_date: Util.getNowDate(),
|
207
|
+
isCommit: false,
|
208
|
+
insurance_types: [{label: '请选择', value: ''}, ...this.$appdata.getParam('险种')],
|
209
|
+
insurance_companys: [{label: '请选择', value: ''}, ...this.$appdata.getParam('保险公司')],
|
210
|
+
payTypes: [{label: '请选择', value: ''}, ...this.$appdata.getParam('付款方式')],
|
176
211
|
idTypeOptions: [
|
177
|
-
{
|
178
|
-
{
|
179
|
-
{
|
180
|
-
{
|
181
|
-
{
|
182
|
-
{
|
212
|
+
{label: '身份证', value: '身份证'},
|
213
|
+
{label: '军官证', value: '军官证'},
|
214
|
+
{label: '统一社会信用代码', value: '统一社会信用代码'},
|
215
|
+
{label: '港澳居民通行证', value: '港澳居民通行证'},
|
216
|
+
{label: '外国人永久居留证', value: '外国人永久居留证'},
|
217
|
+
{label: '户口本', value: '户口本'}
|
183
218
|
],
|
184
219
|
relationshipOptions: [
|
185
|
-
{
|
186
|
-
{
|
187
|
-
{
|
188
|
-
{
|
189
|
-
{
|
220
|
+
{label: '本人', value: '0'},
|
221
|
+
{label: '配偶', value: '1'},
|
222
|
+
{label: '父母', value: '2'},
|
223
|
+
{label: '子女', value: '3'},
|
224
|
+
{label: '其他', value: '9'}
|
190
225
|
]
|
191
226
|
}
|
192
227
|
},
|
@@ -199,9 +234,9 @@ export default {
|
|
199
234
|
ready() {
|
200
235
|
new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
|
201
236
|
data: {
|
202
|
-
items: 'ui.*,p.f_province,p.f_city,p.f_district,tu.f_user_type',
|
237
|
+
items: 'ui.*,p.f_province,p.f_city,p.f_district,tu.f_user_type,tu.f_user_id,tu.version as table_version',
|
203
238
|
tablename: 't_userinfo ui left join t_user_address ua on ui.f_userinfo_id = ua.f_userinfo_id left join t_pcd p on ua.f_pcd_id = p.id left join t_userfiles tu on tu.f_userinfo_id = ui.f_userinfo_id',
|
204
|
-
condition: `ui.f_userinfo_id = '${this.model.f_userinfo_id}'`,
|
239
|
+
condition: `ui.f_userinfo_id = '${this.model.f_userinfo_id}' and tu.f_table_state in ('正常','停用','预备')`,
|
205
240
|
orderitem: '1'
|
206
241
|
}
|
207
242
|
}).then(response => {
|
@@ -209,113 +244,149 @@ export default {
|
|
209
244
|
this.model.f_last_insexpiration_date = response.data[0].f_ins_stop_date
|
210
245
|
if (response.data[0].f_user_type.includes('非民用')) {
|
211
246
|
this.model.f_relationship = '9'
|
212
|
-
}else {
|
247
|
+
} else {
|
213
248
|
this.model.f_relationship = '0'
|
214
249
|
}
|
215
|
-
if (
|
216
|
-
|
250
|
+
if (response.data[0].f_ins_stop_date && response.data[0].f_ins_stop_date >= Util.toStandardDateString()) {
|
251
|
+
let stopDate = new Date(response.data[0].f_ins_stop_date)
|
252
|
+
stopDate.setDate(stopDate.getDate() + 1)
|
253
|
+
let year = stopDate.getFullYear()
|
254
|
+
let month = (stopDate.getMonth() + 1).toString().padStart(2, '0')
|
255
|
+
let day = stopDate.getDate().toString().padStart(2, '0')
|
256
|
+
this.model.f_ins_start_date = `${year}-${month}-${day}`
|
257
|
+
} else {
|
258
|
+
this.model.f_ins_start_date = Util.toStandardDateString()
|
217
259
|
}
|
260
|
+
// if (!this.model.province || !this.model.city || !this.model.county){
|
261
|
+
// this.$showMessage('检查档案省、市、区数据是否正常')
|
262
|
+
// }
|
218
263
|
})
|
219
264
|
this.model.f_money = ''
|
220
265
|
this.model.f_fee_type = ''
|
221
|
-
this.model.f_insurance_type = '燃气险'
|
222
266
|
this.model.f_comments = ''
|
223
267
|
this.model.f_salecount = 1
|
224
|
-
this.model.
|
225
|
-
this.model.f_ins_start_date = Util.toStandardDateString()
|
268
|
+
this.model.f_insurance_number = ''
|
226
269
|
this.model.f_id_type = '身份证'
|
227
270
|
},
|
228
271
|
methods: {
|
229
|
-
commit() {
|
230
|
-
if (!this.model.
|
231
|
-
this.$showMessage('
|
272
|
+
async commit() {
|
273
|
+
if (!this.model.f_payment) {
|
274
|
+
this.$showMessage('收款方式未选择,请选择后重新尝试。')
|
232
275
|
return
|
233
276
|
}
|
234
|
-
if (!this.model.f_ins_start_date){
|
277
|
+
if (!this.model.f_ins_start_date) {
|
235
278
|
this.$showMessage('投保日期未选择,请选择后重新尝试。')
|
236
279
|
return
|
237
280
|
}
|
238
|
-
if (!this.model.f_expiration_date){
|
281
|
+
if (!this.model.f_expiration_date) {
|
239
282
|
this.$showMessage('到期日期未选择,请选择后重新尝试。')
|
240
283
|
return
|
241
284
|
}
|
242
|
-
if (!this.model.f_insurance_type){
|
285
|
+
if (!this.model.f_insurance_type) {
|
243
286
|
this.$showMessage('保险险种未填写,请填写后重新尝试。')
|
244
287
|
return
|
245
288
|
}
|
246
|
-
if (!this.model.
|
289
|
+
if (!this.model.f_money) {
|
290
|
+
this.$showMessage('金额未填写,请填写后重新尝试。')
|
291
|
+
return
|
292
|
+
}
|
293
|
+
if (!this.model.f_id_type) {
|
247
294
|
this.$showMessage('证件类型未选择,请选择后重新尝试。')
|
248
295
|
return
|
249
296
|
}
|
250
|
-
if (!this.model.f_idnumber){
|
251
|
-
|
297
|
+
// if (!this.model.f_idnumber) {
|
298
|
+
// this.$showMessage('证件号码未填写,请填写后重新尝试。')
|
299
|
+
// return
|
300
|
+
// }
|
301
|
+
if (!this.model.f_insurance_number) {
|
302
|
+
this.$showMessage('保单号未填写,请填写后重新尝试。')
|
252
303
|
return
|
253
304
|
}
|
254
|
-
if (!this.model.f_relationship){
|
305
|
+
if (!this.model.f_relationship) {
|
255
306
|
this.$showMessage('与投保人关系未选择,请选择后重新尝试。')
|
256
307
|
return
|
257
308
|
}
|
258
309
|
let data = {
|
259
|
-
"begin_date"
|
260
|
-
"insure_period_display"
|
261
|
-
"user_name"
|
262
|
-
"id_type"
|
263
|
-
"id_number"
|
264
|
-
"user_phone"
|
310
|
+
"begin_date": this.model.f_ins_start_date,// 保单开始日期 yyyy-mm-dd
|
311
|
+
"insure_period_display": `${this.model.f_salecount}年`,// 保期
|
312
|
+
"user_name": this.model.f_user_name,// 投保人姓名
|
313
|
+
"id_type": this.model.f_id_type,//证件类型
|
314
|
+
"id_number": this.model.f_idnumber,// 证件号码
|
315
|
+
"user_phone": this.model.f_user_phone,// 投保人电话
|
265
316
|
"user_address": this.model.f_address,// 投保人地址
|
266
|
-
"province":this.model.f_province,//省
|
267
|
-
"city":this.model.f_city,//市
|
268
|
-
"county":this.model.f_district,//区
|
269
|
-
"insuredList"
|
317
|
+
"province": this.model.f_province,//省
|
318
|
+
"city": this.model.f_city,//市
|
319
|
+
"county": this.model.f_district,//区
|
320
|
+
"insuredList": [ //被保人信息
|
270
321
|
{
|
271
|
-
"user_name"
|
272
|
-
"id_type"
|
273
|
-
"id_number"
|
322
|
+
"user_name": this.model.f_user_name,// 被保人姓名
|
323
|
+
"id_type": this.model.f_id_type,//证件类型
|
324
|
+
"id_number": this.model.f_idnumber,// 证件号码
|
274
325
|
"relationship": this.model.f_relationship//与投保人关系: 0 本人 1 配偶 2 父母 3 子女 9 其他 若投保人是企业,默认传9
|
275
326
|
}
|
276
327
|
]
|
277
328
|
}
|
278
|
-
|
279
|
-
let commit_data = this.model
|
329
|
+
try {
|
330
|
+
let commit_data = JSON.parse(JSON.stringify(this.model))
|
331
|
+
/*const response = await new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/jingSuanShi/specialToPolicy`, data)
|
332
|
+
let commit_data = JSON.parse(JSON.stringify(this.model))
|
280
333
|
if (response.data.message.includes('成功')) {
|
281
334
|
commit_data.f_serial_id = response.data.orderNo
|
282
|
-
}else {
|
335
|
+
} else {
|
283
336
|
this.$showMessage(response.data.message)
|
284
337
|
return
|
285
|
-
}
|
338
|
+
}*/
|
286
339
|
commit_data.f_buy_date = this.create_date
|
287
340
|
commit_data.f_total_ins_charge = 0
|
288
341
|
commit_data.f_operatorid = Vue.user.id
|
289
342
|
commit_data.f_operator = Vue.user.name
|
343
|
+
if (this.model.f_payment == '余额抵扣'){
|
344
|
+
if (this.model.f_meter_classify == '机表'){
|
345
|
+
if((this.model.f_balance -0)-this.model.f_money < 0){
|
346
|
+
this.$showMessage('当前用户账户余额不够抵扣本次收费,请选择其他的收费方式进行收费')
|
347
|
+
return
|
348
|
+
}
|
349
|
+
commit_data.f_receivable = Number(commit_data.f_money)
|
350
|
+
commit_data.f_money = 0
|
351
|
+
}else {
|
352
|
+
this.$showMessage('仅有机表用户可选择余额抵扣')
|
353
|
+
return
|
354
|
+
}
|
355
|
+
}
|
356
|
+
commit_data.f_receivable = this.model.f_money
|
290
357
|
commit_data.f_operate_date = Util.toStandardDateString()
|
291
358
|
commit_data.f_state = '有效'
|
292
359
|
commit_data.f_orgid = Vue.user.orgid
|
293
360
|
commit_data.f_orgname = Vue.user.orgs
|
294
361
|
commit_data.f_depid = Vue.user.depids
|
295
362
|
commit_data.f_depname = Vue.user.deps
|
296
|
-
new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/saveInsInfo`, {
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
this.$showMessage('提交失败')
|
301
|
-
this.isCommit = false
|
302
|
-
})
|
303
|
-
}).catch(error => {
|
363
|
+
await new HttpResetClass().load('post', `${this.$androidUtil.getProxyUrl()}/api/af-revenue/logic/saveInsInfo`, {data: commit_data})
|
364
|
+
this.$showMessage('提交成功')
|
365
|
+
this.$back()
|
366
|
+
} catch (error) {
|
304
367
|
this.$showMessage('提交失败')
|
305
368
|
this.isCommit = false
|
306
|
-
}
|
369
|
+
}
|
307
370
|
},
|
308
|
-
changeExpirationDate(){
|
309
|
-
if (this.model.f_ins_start_date && this.model.f_salecount){
|
371
|
+
changeExpirationDate() {
|
372
|
+
if (this.model.f_ins_start_date && this.model.f_salecount) {
|
310
373
|
let factoryDate = new Date(this.model.f_ins_start_date);
|
311
374
|
let scrapDate = new Date(factoryDate);
|
312
375
|
scrapDate.setFullYear(factoryDate.getFullYear() + parseInt(this.model.f_salecount));
|
313
376
|
let year = scrapDate.getFullYear();
|
314
377
|
let month = (scrapDate.getMonth() + 1).toString().padStart(2, '0');
|
315
|
-
let day = scrapDate.getDate().toString().padStart(2, '0');
|
316
|
-
this
|
378
|
+
let day = (scrapDate.getDate()-1).toString().padStart(2, '0');
|
379
|
+
this.$set('model.f_expiration_date',`${year}-${month}-${day}`)
|
317
380
|
}
|
318
381
|
}
|
382
|
+
},
|
383
|
+
watch: {
|
384
|
+
'model.f_insurance_type'() {
|
385
|
+
this.model.f_money = Number(this.$appdata.getSingleValue(this.model.f_insurance_type) || 0) * Number(this.model.f_salecount)
|
386
|
+
},
|
387
|
+
'model.f_salecount'() {
|
388
|
+
this.model.f_money = Number(this.$appdata.getSingleValue(this.model.f_insurance_type) || 0) * Number(this.model.f_salecount)
|
389
|
+
}
|
319
390
|
}
|
320
391
|
}
|
321
392
|
</script>
|