apply-clients 5.0.361 → 6.0.3
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/css-loaders.js +34 -0
- package/build/dev-android.js +101 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server-app.js +76 -0
- package/build/dev-server.js +72 -0
- package/build/example-server.js +80 -0
- package/build/release.sh +28 -0
- package/build/utils.js +80 -0
- package/build/webpack.base.conf.js +83 -0
- package/build/webpack.baseandroid.conf.js +84 -0
- package/build/webpack.dev.conf.js +39 -0
- package/build/webpack.devandroid.conf.js +34 -0
- package/build/webpack.example.conf.js +49 -0
- package/build/webpack.prod.conf.js +60 -0
- package/build/webpack.prodandroid.conf.js +60 -0
- package/build/webpack.test.conf.js +31 -0
- package/dist-android/static/.gitkeep +0 -0
- package/dist-android/static/batchleft.png +0 -0
- package/dist-android/static/batchright.png +0 -0
- package/dist-android/static/bluemainbg.jpg +0 -0
- package/dist-android/static/huangtengbiaozhi.png +0 -0
- package/dist-android/static/login_bg.jpg +0 -0
- package/dist-android/static/login_title.png +0 -0
- package/dist-android/static/login_title1.png +0 -0
- package/dist-android/static/loginbg.jpg +0 -0
- package/dist-android/static/loginlogo.png +0 -0
- package/dist-android/static/main_logo.png +0 -0
- package/dist-android/static/mainbg.jpg +0 -0
- package/dist-android/static/menulogo.png +0 -0
- package/dist-android/static/newmainbg.jpg +0 -0
- package/dist-android/static/psicon.png +0 -0
- package/dist-android/static/singleleft.png +0 -0
- package/dist-android/static/singleright.png +0 -0
- package/dist-android/static/treeopen.png +0 -0
- package/dist-android/static/treeout.png +0 -0
- package/dist-android/static/treeset.png +0 -0
- package/dist-android/static/usericon.png +0 -0
- package/dist-android/static/xinxi.png +0 -0
- package/package.json +5 -10
- package/src/AndroidApp.vue +1 -1
- package/src/App.vue +0 -1
- package/src/apply.js +172 -104
- package/src/applyAndroid.js +0 -5
- package/src/assets/shipin1.mp4 +0 -0
- package/src/bootstrap/less/bootstrap.less +2 -1
- package/src/components/Hello.vue +39 -0
- package/src/components/Table.js +2 -2
- package/src/components/Test.vue +26 -0
- package/src/components/Util.js +6 -11
- package/src/components/app_apply/Acceptance.vue +2 -7
- package/src/components/app_apply/ApplyApp.vue +6 -16
- package/src/components/app_apply/ApplyInfo.vue +1 -1
- package/src/components/app_apply/ApplyListUpload.vue +3 -3
- package/src/components/app_apply/ApplyToDoList.vue +3 -3
- package/src/components/app_apply/ApplyUserInfo.vue +3 -2
- package/src/components/app_apply/FieldExploration.vue +1 -3
- package/src/components/app_apply/PlaceControler.vue +49 -38
- package/src/components/{product/VueUtils → apply/base}/rightview/InstallCardList2.vue +38 -29
- package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ReduceFeeDetail2.vue +77 -77
- package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/StopApplyDetail2.vue +1 -1
- package/src/components/build/Install/ApplyChargeSearch.vue +210 -0
- package/src/components/build/Install/ExplorationSelect.vue +308 -0
- package/src/components/build/Install/ExplorationUser.vue +315 -0
- package/src/components/build/Install/InstallFee/AddContract.vue +257 -0
- package/src/components/build/Install/InstallFee/InstallFee.vue +929 -0
- package/src/components/build/Install/InstallFee/InstallFee2.vue +291 -0
- package/src/components/{product/Function/functions → build/Install/InstallFee}/InstallFeeInfo.vue +11 -42
- package/src/components/build/Install/InstallFee/InstallFunction.vue +242 -0
- package/src/components/build/Install/InstallFee/InstallInfoSelect.vue +232 -0
- package/src/components/{product/Process → build/Install}/ModifyUserFiles.vue +1 -1
- package/src/components/build/Install/Process/BuildJob.vue +242 -0
- package/src/components/build/Install/Process/ContratSigne.vue +283 -0
- package/src/components/build/Install/Process/CustomerEssentialInfo.vue +325 -0
- package/src/components/build/Install/Process/CustomerFile.vue +423 -0
- package/src/components/build/Install/Process/CustomerMaterialMessage.vue +414 -0
- package/src/components/build/Install/Process/CustomerRecordMessage.vue +749 -0
- package/src/components/build/Install/Process/DispatchingJob.vue +261 -0
- package/src/components/build/Install/Process/FeeNorme.vue +252 -0
- package/src/components/build/Install/Process/FeeNormeAndContratSigne.vue +376 -0
- package/src/components/build/Install/Process/FeeVerifier.vue +199 -0
- package/src/components/build/Install/Process/IgnitionVentilation.vue +232 -0
- package/src/components/build/Install/Process/MeterType.vue +379 -0
- package/src/components/build/Install/Process/PlaceControler.vue +304 -0
- package/src/components/build/Install/Process/ProjeterFigure.vue +211 -0
- package/src/components/build/Install/Process/ReceivingNote.vue +317 -0
- package/src/components/build/Install/Process/boneng/qbj_placecontroler.vue +370 -0
- package/src/components/build/Install/Process/zhongran/ZR_Construction.vue +388 -0
- package/src/components/build/Install/Process/zhongran/ZR_ContratSigne.vue +496 -0
- package/src/components/build/Install/Process/zhongran/ZR_CustomerEssentialInfo.vue +415 -0
- package/src/components/build/Install/Process/zhongran/ZR_DispatchingJob.vue +409 -0
- package/src/components/build/Install/Process/zhongran/ZR_FeeNorme.vue +342 -0
- package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation.vue +253 -0
- package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation_transfer.vue +198 -0
- package/src/components/build/Install/Process/zhongran/ZR_MaterialPlan.vue +259 -0
- package/src/components/build/Install/Process/zhongran/ZR_MaterialPlanExamine.vue +243 -0
- package/src/components/build/Install/Process/zhongran/ZR_PlaceControler.vue +426 -0
- package/src/components/build/Install/Process/zhongran/ZR_PlaceControler_print.vue +187 -0
- package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote.vue +404 -0
- package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote1.vue +301 -0
- package/src/components/build/Install/Process/zhongran/ZR_TestDesign.vue +441 -0
- package/src/components/build/Install/Process/zhongran/ZR_end.vue +20 -0
- package/src/components/build/Install/ProcessInfo/BasicInfo.vue +68 -0
- package/src/components/build/Install/ProcessInfo/BuildInfo.vue +110 -0
- package/src/components/build/Install/ProcessInfo/ContratProcessInfo.vue +116 -0
- package/src/components/build/Install/ProcessInfo/DispatchingInfo.vue +114 -0
- package/src/components/build/Install/ProcessInfo/FeeNormeInfo.vue +108 -0
- package/src/components/build/Install/ProcessInfo/FeeVerifierInfo.vue +102 -0
- package/src/components/build/Install/ProcessInfo/IgnitionInfo.vue +99 -0
- package/src/components/build/Install/ProcessInfo/MeterProcessInfo.vue +114 -0
- package/src/components/build/Install/ProcessInfo/PlaceProcessInfo.vue +115 -0
- package/src/components/build/Install/ProcessInfo/ProjeterProcessInfo.vue +107 -0
- package/src/components/build/Install/ProcessInfo/ReceivingInfo.vue +107 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_BasicInfo.vue +74 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_BuildInfo.vue +114 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_ContratProcessInfo.vue +114 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_DispatchingInfo.vue +119 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_FeeNormeInfo.vue +105 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_IgnitionInfo.vue +99 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_MaterialPlan_info.vue +104 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_PlaceProcessInfo.vue +109 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_ReceivingInfo.vue +102 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_ignition_transfer_info.vue +104 -0
- package/src/components/{product/Bill → build/Install/bill}/BillXSDMakeInfo.vue +1 -1
- package/src/components/build/Install/monitor/SupervisoryControl.vue +178 -0
- package/src/components/build/Install/monitor/SupervisoryList.vue +209 -0
- package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryhCart.vue +3 -29
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +91 -1718
- package/src/main.js +2 -9
- package/src/stores/ApplyLoadParams.js +1 -1
- package/src/bootstrap/less/standard.less +0 -208
- package/src/components/app_apply/ServiceControl.vue +0 -442
- package/src/components/app_apply/ServiceView.vue +0 -356
- package/src/components/product/Common/ApplyValidateBill.vue +0 -55
- package/src/components/product/Common/PrintBill.vue +0 -120
- package/src/components/product/Function/InstallFunction.vue +0 -142
- package/src/components/product/Function/InstallInfoSelect.vue +0 -254
- package/src/components/product/Function/Service/FunctionServiceControl.vue +0 -328
- package/src/components/product/Function/functions/AddContract.vue +0 -301
- package/src/components/product/Function/functions/BuyerMessage.vue +0 -512
- package/src/components/product/Function/functions/InstallFee.vue +0 -919
- package/src/components/product/Function/functions/material_recording.vue +0 -237
- package/src/components/product/MaterialBatchList.vue +0 -109
- package/src/components/product/MaterialBatchManage.vue +0 -34
- package/src/components/product/Process/ExplorationSelect.vue +0 -636
- package/src/components/product/Process/ExplorationUser.vue +0 -131
- package/src/components/product/Process/MaterialUseList.vue +0 -159
- package/src/components/product/Process/ProcessInfo/history_control.vue +0 -134
- package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -776
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -910
- package/src/components/product/Process/Processes/ProjectSettlement.vue +0 -383
- package/src/components/product/Process/Processes/ReceiveBatch.vue +0 -957
- package/src/components/product/Process/Processes/SendOrder.vue +0 -47
- package/src/components/product/Process/Processes/Service/ApplyAcceptBill.vue +0 -89
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +0 -305
- package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
- package/src/components/product/Process/ShowBackReason.vue +0 -18
- package/src/components/product/ServiceView.vue +0 -800
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +0 -407
- package/src/components/product/Supervisory/SupervisoryControl.vue +0 -130
- package/src/components/product/Supervisory/SupervisoryList.vue +0 -349
- package/src/components/product/stopInfo/ApplyStopInfo.vue +0 -280
- package/src/plugins/commonService.js +0 -229
- package/yarn.lock +0 -8072
- /package/src/components/{product/VueUtils → apply/base}/ToolsPage.vue +0 -0
- /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/BuildFeeDetail2.vue +0 -0
- /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ChangeFeeDetail2.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/AllSelect.vue +0 -0
- /package/src/components/{product/Function → build/Install/InstallFee}/InstallInfoDown.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/PreparationFee.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/PrestoreFee.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/ReduceFee.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/StopInstall.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/UpdateFee.vue +0 -0
- /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerBuildingMessage.vue +0 -0
- /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerEquipmentMessage.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/ProcessInfo}/ApplyRecordCancel.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillGZK.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillGZKMakeInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillGZKRecordInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillJLB.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillJLBMakeInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillJLBRecordInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillKTK.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillKTKMakeInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillKTKRecordInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillQRK.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillQRKMakeInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillQRKRecordInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillSelect.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillXSD.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillXSDRecordInfo.vue +0 -0
- /package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryBaseInfo.vue +0 -0
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto">
|
|
3
|
+
<div class="panel panel-info">
|
|
4
|
+
<div class="panel-heading">
|
|
5
|
+
<h3 class="panel-title">派工</h3>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
<validator name="v">
|
|
9
|
+
<form class="form-horizontal select-overspread">
|
|
10
|
+
<div class="col-sm-4 form-group" :class="[$v.f_project_number.required ? 'has-error': '']">
|
|
11
|
+
<label class="control-label col-sm-6">工程编号:</label>
|
|
12
|
+
<div class="col-sm-6">
|
|
13
|
+
<input type="text" class="form-control" v-model="model.f_project_number" v-validate:f_project_number='{required: true }'/>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="col-sm-4 form-group">
|
|
17
|
+
<label class="control-label col-sm-4">计划开工日期:</label>
|
|
18
|
+
<div class="col-sm-6">
|
|
19
|
+
<datepicker width="600.76px;"
|
|
20
|
+
:value.sync="model.f_work_startdate"
|
|
21
|
+
:format="'yyyy-MM-dd'"
|
|
22
|
+
v-model="model.f_work_startdate" readonly="readonly"
|
|
23
|
+
:show-reset-button="reset">
|
|
24
|
+
</datepicker>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-sm-4 form-group">
|
|
28
|
+
<label class="control-label col-sm-4">计划竣工日期:</label>
|
|
29
|
+
<div class="col-sm-6">
|
|
30
|
+
<datepicker width="600.76px;"
|
|
31
|
+
:value.sync="model.f_work_enddate"
|
|
32
|
+
:format="'yyyy-MM-dd'"
|
|
33
|
+
v-model="model.f_work_enddate" readonly="readonly"
|
|
34
|
+
:show-reset-button="reset">
|
|
35
|
+
</datepicker>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="form-group col-sm-4" :class="[$v.construction_unit.required ? 'has-error select-error' : '' ]">
|
|
39
|
+
<label for="f_construction_unit" class="col-sm-6 control-label">施工部门:</label>
|
|
40
|
+
<div class="col-sm-6" id="f_construction_unit">
|
|
41
|
+
<input type="text" v-show="false" v-model="$refs.construction_unit.value[0]" v-validate:construction_unit='{required: true}'/>
|
|
42
|
+
<v-select :is-all-line="true" v-ref:construction_unit
|
|
43
|
+
v-model="model.f_construction_unit"
|
|
44
|
+
placeholder="全部"
|
|
45
|
+
:value.sync="model.f_construction_unit"
|
|
46
|
+
:options='fconstructionunit'
|
|
47
|
+
close-on-select>
|
|
48
|
+
</v-select>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="form-group col-sm-4" :class="[$v.build_unit.required ? 'has-error select-error' : '' ]">
|
|
52
|
+
<label for="f_build_unit" class="col-sm-4 control-label">建设部门:</label>
|
|
53
|
+
<div class="col-sm-6" id="f_build_unit">
|
|
54
|
+
<input type="text" v-show="false" v-model="$refs.build_unit.value[0]" v-validate:build_unit='{required: true}'/>
|
|
55
|
+
<v-select :is-all-line="true" v-ref:build_unit
|
|
56
|
+
v-model="model.f_build_unit"
|
|
57
|
+
placeholder="全部"
|
|
58
|
+
:value.sync="model.f_build_unit"
|
|
59
|
+
:options='fbuildunit'
|
|
60
|
+
close-on-select>
|
|
61
|
+
</v-select>
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="form-group col-sm-4" :class="[$v.supervision_unit.required ? 'has-error select-error' : '' ]">
|
|
65
|
+
<label for="f_supervision_unit" class="col-sm-4 control-label">监理部门:</label>
|
|
66
|
+
<div class="col-sm-6" id="f_supervision_unit">
|
|
67
|
+
<input type="text" v-show="false" v-model="$refs.supervision_unit.value[0]" v-validate:supervision_unit='{required: true}'/>
|
|
68
|
+
<v-select :is-all-line="true" v-ref:supervision_unit
|
|
69
|
+
v-model="model.f_supervision_unit"
|
|
70
|
+
placeholder="全部"
|
|
71
|
+
:value.sync="model.f_supervision_unit"
|
|
72
|
+
:options='fsupervisionunit'
|
|
73
|
+
close-on-select>
|
|
74
|
+
</v-select>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="col-sm-4 form-group" :class="[$v.pprincipal.required ? 'has-error select-error': '']">
|
|
78
|
+
<label class="control-label col-sm-6">工程负责人:</label>
|
|
79
|
+
<div class="col-sm-6">
|
|
80
|
+
<!--<input type="text" v-show="false" v-model="$refs.pprincipal.value[0]" v-validate:pprincipal='{required: true}'/>-->
|
|
81
|
+
<v-select :is-all-line="true" :value.sync="model.f_project_principal" v-model="model.f_project_principal" v-ref:pprincipal
|
|
82
|
+
:options='fprojectprincipal' placeholder="全部" close-on-select></v-select>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="col-sm-4 form-group" :class="[$v.f_principal_phone.required ? 'has-error': '']">
|
|
86
|
+
<label class="control-label col-sm-4">负责人电话:</label>
|
|
87
|
+
<div class="col-sm-6">
|
|
88
|
+
<input type="text" class="form-control" v-model="model.f_principal_phone" v-validate:f_principal_phone='{required: true }'/>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="col-sm-4 form-group" :class="[$v.f_representative.required ? 'has-error select-error': '']">
|
|
92
|
+
<input type="text" v-show="false" v-model="$refs.f_representative.value[0]" v-validate:f_representative='{required: true}'/>
|
|
93
|
+
<label class="control-label col-sm-4">现场代表:</label>
|
|
94
|
+
<div class="col-sm-6">
|
|
95
|
+
<v-select :is-all-line="true" :value.sync="model.f_representative" v-model="model.f_representative" v-ref:f_representative
|
|
96
|
+
:options='frepresentative' placeholder="全部" close-on-select></v-select>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
<div class="col-sm-12 form-group">
|
|
100
|
+
<label class="control-label col-sm-2">工程内容:</label>
|
|
101
|
+
<div class="col-sm-9">
|
|
102
|
+
<textarea class="form-control" rows="3" v-model="model.f_tasking_remarks"></textarea>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
<div class="form-group col-sm-6">
|
|
106
|
+
<label class=" col-sm-4 control-label" for="f_filiale">分公司:</label>
|
|
107
|
+
<div class="col-sm-5" id="f_filiale">
|
|
108
|
+
<input class="form-control" type="text" v-model="model.f_filiale" disabled>
|
|
109
|
+
</div>
|
|
110
|
+
</div>
|
|
111
|
+
<div class="col-sm-6 form-group">
|
|
112
|
+
<label class="control-label col-sm-4">操作日期:</label>
|
|
113
|
+
<div class="col-sm-5">
|
|
114
|
+
<input type="text" class="form-control" disabled v-model="model.f_tasking_date"/>
|
|
115
|
+
</div>
|
|
116
|
+
</div>
|
|
117
|
+
<div class="col-sm-6 form-group">
|
|
118
|
+
<label class="control-label col-sm-4">部门:</label>
|
|
119
|
+
<div class="col-sm-5">
|
|
120
|
+
<input type="text" class="form-control" disabled v-model="model.f_tasking_department"/>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
<div class="col-sm-6 form-group">
|
|
124
|
+
<label class="control-label col-sm-4">操作人:</label>
|
|
125
|
+
<div class="col-sm-5">
|
|
126
|
+
<input type="text" class="form-control" disabled v-model="model.f_tasking_operator"/>
|
|
127
|
+
</div>
|
|
128
|
+
</div>
|
|
129
|
+
</form>
|
|
130
|
+
</validator>
|
|
131
|
+
<div class="from-group col-sm-12">
|
|
132
|
+
<center>
|
|
133
|
+
<button @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:50px;">
|
|
134
|
+
保存
|
|
135
|
+
</button>
|
|
136
|
+
<button @click="commit()" class="btn btn-primary" style="width:80px; margin-left:50px;">
|
|
137
|
+
提交
|
|
138
|
+
</button>
|
|
139
|
+
<button v-show="(!selectdata.f_apply_type.includes('改装报建')) && $login.f.f_fengongsi.includes('彩虹')" @click="back()" class="btn btn-warning" style="width:80px; margin-left:50px;">
|
|
140
|
+
退回
|
|
141
|
+
</button>
|
|
142
|
+
</center>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
</template>
|
|
146
|
+
<script>
|
|
147
|
+
import co from 'co'
|
|
148
|
+
import * as Util from '../../../Util'
|
|
149
|
+
let gen = function * (self, val) {
|
|
150
|
+
val.f_sub_state = ''
|
|
151
|
+
val.f_temp_date = Util.toStandardTimeString()
|
|
152
|
+
self.setval()
|
|
153
|
+
let data ={
|
|
154
|
+
tablename:'t_apply',
|
|
155
|
+
parameters:val
|
|
156
|
+
}
|
|
157
|
+
yield self.$resetpost('rs/logic/save', {data:data})
|
|
158
|
+
data = {
|
|
159
|
+
model: {
|
|
160
|
+
f_processid: self.selectdata.f_process_id,
|
|
161
|
+
},
|
|
162
|
+
loginUser: {
|
|
163
|
+
id: self.$login.f.id,
|
|
164
|
+
name: self.$login.f.name,
|
|
165
|
+
ename: self.$login.f.ename
|
|
166
|
+
},
|
|
167
|
+
subdep: '提交'
|
|
168
|
+
}
|
|
169
|
+
self.$resetpost(`rs/logic/engineeringnext`,
|
|
170
|
+
{data: data})
|
|
171
|
+
.then(() => {
|
|
172
|
+
self.reset()
|
|
173
|
+
})
|
|
174
|
+
}
|
|
175
|
+
export default {
|
|
176
|
+
title: '派工',
|
|
177
|
+
data () {
|
|
178
|
+
return {
|
|
179
|
+
fprojectprincipal: this.$appdata.getParam('工程负责人'),
|
|
180
|
+
frepresentative: this.$appdata.getParam('现场代表'),
|
|
181
|
+
fsupervisionunit: this.$appdata.getParam('监理部门'),
|
|
182
|
+
fbuildunit: this.$appdata.getParam('建设部门'),
|
|
183
|
+
fconstructionunit: this.$appdata.getParam('施工部门'),
|
|
184
|
+
model: {
|
|
185
|
+
actid: ''
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
props: ['selectdata'],
|
|
190
|
+
ready () {
|
|
191
|
+
this.$nextTick(() => {
|
|
192
|
+
this.setselect()
|
|
193
|
+
})
|
|
194
|
+
},
|
|
195
|
+
methods: {
|
|
196
|
+
back() {
|
|
197
|
+
let data = {
|
|
198
|
+
model: {
|
|
199
|
+
f_processid: this.selectdata.f_process_id,
|
|
200
|
+
},
|
|
201
|
+
loginUser: {
|
|
202
|
+
id: this.$login.f.id,
|
|
203
|
+
name: this.$login.f.name,
|
|
204
|
+
ename: this.$login.f.ename
|
|
205
|
+
},
|
|
206
|
+
subdep: '退回'
|
|
207
|
+
}
|
|
208
|
+
this.$resetpost(`rs/logic/engineeringnext`,
|
|
209
|
+
{data: data})
|
|
210
|
+
.then(() => {
|
|
211
|
+
this.reset()
|
|
212
|
+
})
|
|
213
|
+
},
|
|
214
|
+
confirm() {
|
|
215
|
+
// this.model.f_sub_state = '完成'
|
|
216
|
+
this.setval()
|
|
217
|
+
let data ={
|
|
218
|
+
tablename:'t_apply',
|
|
219
|
+
parameters:this.model
|
|
220
|
+
}
|
|
221
|
+
this.$resetpost('rs/logic/save', {data:data})
|
|
222
|
+
.then(() => {
|
|
223
|
+
this.reset()
|
|
224
|
+
})
|
|
225
|
+
},
|
|
226
|
+
commit () {
|
|
227
|
+
let getGen = gen(this, this.model)
|
|
228
|
+
co(getGen)
|
|
229
|
+
},
|
|
230
|
+
reset () {
|
|
231
|
+
this.$dispatch('close')
|
|
232
|
+
this.$dispatch('selfsearch')
|
|
233
|
+
},
|
|
234
|
+
setselect () {
|
|
235
|
+
this.selectdata.f_build_unit = [this.selectdata.f_build_unit ? this.selectdata.f_build_unit : this.model.f_build_unit]
|
|
236
|
+
this.selectdata.f_supervision_unit = [this.selectdata.f_supervision_unit ? this.selectdata.f_supervision_unit : this.model.f_supervision_unit]
|
|
237
|
+
this.selectdata.f_construction_unit = [this.selectdata.f_construction_unit ? this.selectdata.f_construction_unit : this.model.f_construction_unit]
|
|
238
|
+
this.selectdata.f_representative = [this.selectdata.f_representative ? this.selectdata.f_representative : this.model.f_representative]
|
|
239
|
+
this.selectdata.f_project_principal = [this.selectdata.f_project_principal ? this.selectdata.f_project_principal : this.model.f_project_principal]
|
|
240
|
+
this.model = Object.assign({}, this.model, this.selectdata)
|
|
241
|
+
this.model.f_tasking_date = this.$login.toStandardDateString()
|
|
242
|
+
this.model.f_tasking_department = this.$login.f.f_parentname
|
|
243
|
+
this.model.f_tasking_operator = this.$login.f.name
|
|
244
|
+
},
|
|
245
|
+
setval () {
|
|
246
|
+
this.model.f_build_unit = this.model.f_build_unit[0] ? this.model.f_build_unit[0] : ''
|
|
247
|
+
this.model.f_supervision_unit = this.model.f_supervision_unit[0] ? this.model.f_supervision_unit[0] : ''
|
|
248
|
+
this.model.f_construction_unit = this.model.f_construction_unit[0] ? this.model.f_construction_unit[0] : ''
|
|
249
|
+
this.model.f_project_principal = this.model.f_project_principal[0] ? this.model.f_project_principal[0] : ''
|
|
250
|
+
this.model.f_representative = this.model.f_representative[0] ? this.model.f_representative[0] : ''
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
watch: {
|
|
254
|
+
'selectdata'() {
|
|
255
|
+
this.$nextTick(() => {
|
|
256
|
+
this.setselect()
|
|
257
|
+
})
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
}
|
|
261
|
+
</script>
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto select-overspread">
|
|
3
|
+
<div class="panel panel-info">
|
|
4
|
+
<div class="panel-heading">
|
|
5
|
+
<h3 class="panel-title">收费标准</h3>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="panel-body">
|
|
8
|
+
<validator name= "v">
|
|
9
|
+
<form class="form-horizontal">
|
|
10
|
+
<div class="form-group col-sm-4">
|
|
11
|
+
<label for="f_construction_cost" class=" col-sm-6 control-label">开户费:</label>
|
|
12
|
+
<div class="col-sm-6" id="f_account_cost">
|
|
13
|
+
<input class="form-control" type="text" v-model="model.f_account_cost"/>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="form-group col-sm-4">
|
|
17
|
+
<label for="f_construction_cost" class=" col-sm-6 control-label">入户安装费:</label>
|
|
18
|
+
<div class="col-sm-6" id="f_construction_cost">
|
|
19
|
+
<input class="form-control" type="text" v-model="model.f_construction_cost" />
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="form-group col-sm-4">
|
|
23
|
+
<label for="f_material_cost" class=" col-sm-6 control-label">材料费:</label>
|
|
24
|
+
<div class="col-sm-6" id="f_material_cost">
|
|
25
|
+
<input class="form-control" type="text" v-model="model.f_material_cost" />
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="form-group col-sm-4">
|
|
29
|
+
<label for="f_labor_cost" class=" col-sm-6 control-label">人工费:</label>
|
|
30
|
+
<div class="col-sm-6" id="f_labor_cost">
|
|
31
|
+
<input class="form-control" type="text" v-model="model.f_labor_cost" />
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="form-group col-sm-4">
|
|
35
|
+
<label for="f_change_pipeline_cost" class=" col-sm-6 control-label">改管费:</label>
|
|
36
|
+
<div class="col-sm-6" id="f_change_pipeline_cost">
|
|
37
|
+
<input class="form-control" type="text" v-model="model.f_change_pipeline_cost" />
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
<div class="form-group col-sm-4">
|
|
41
|
+
<label for="f_sbaz_cost" class=" col-sm-6 control-label">设备安装费:</label>
|
|
42
|
+
<div class="col-sm-6" id="f_sbaz_cost">
|
|
43
|
+
<input class="form-control" type="text" v-model="model.f_sbaz_cost" />
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<!--<div class="col-sm-12 form-group">-->
|
|
47
|
+
<!--<div class="form-group col-sm-4">-->
|
|
48
|
+
<!--<label for="f_jmhj_cost" class=" col-sm-6 control-label">减免费用合计:</label>-->
|
|
49
|
+
<!--<div class="col-sm-6" id="f_jmhj_cost">-->
|
|
50
|
+
<!--<input class="form-control" type="text" v-model="model.f_jmhj_cost" disabled/>-->
|
|
51
|
+
<!--</div>-->
|
|
52
|
+
<!--</div>-->
|
|
53
|
+
<!--<div class="form-group col-sm-6">-->
|
|
54
|
+
<!--<label for="f_total_cost" class=" col-sm-4 control-label">费用合计:</label>-->
|
|
55
|
+
<!--<div class="col-sm-4" id="f_total_cost">-->
|
|
56
|
+
<!--<input class="form-control" type="text" v-model="totalcost" disabled/>-->
|
|
57
|
+
<!--</div>-->
|
|
58
|
+
<!--</div>-->
|
|
59
|
+
<!--</div>-->
|
|
60
|
+
<div class="form-group col-sm-4" :class="[$v.gasproperties.required ? 'has-error select-error' : '']">
|
|
61
|
+
<label for="f_gasproperties" class="col-sm-6 control-label">用气性质:</label>
|
|
62
|
+
<div class="col-sm-6" id="f_gasproperties">
|
|
63
|
+
<input type="text" v-show="false" v-model="$refs.gasproperties.value[0]" v-validate:gasproperties='{required: true}'/>
|
|
64
|
+
<v-select :is-all-line="true" v-model="model.f_gasproperties" v-ref:gasproperties
|
|
65
|
+
placeholder='全部'
|
|
66
|
+
:value.sync="model.f_gasproperties"
|
|
67
|
+
:options='fgasproperties'
|
|
68
|
+
close-on-select>
|
|
69
|
+
</v-select>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="form-group col-sm-4" :class="[$v.stairprice.required ? 'has-error select-error' : '']">
|
|
73
|
+
<label for="f_stair_price" class="col-sm-6 control-label">气价类型:</label>
|
|
74
|
+
<div class="col-sm-6" id="f_stair_price">
|
|
75
|
+
<input type="text" v-show="false" v-model="$refs.stairprice.value[0]"/>
|
|
76
|
+
<v-select :is-all-line="true" id="f_stair_price2"
|
|
77
|
+
v-model="model.f_stair_price" v-ref:stairprice
|
|
78
|
+
placeholder='全部'
|
|
79
|
+
:value.sync="model.f_stair_price"
|
|
80
|
+
:options='fstairprice'
|
|
81
|
+
close-on-select>
|
|
82
|
+
</v-select>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="form-group col-sm-12">
|
|
86
|
+
<label class="col-sm-2" for="f_fee_remarks">收费明细:</label>
|
|
87
|
+
<div class="col-sm-9" id="f_fee_remarks">
|
|
88
|
+
<textarea class="form-control" rows="3" v-model="model.f_fee_remarks"></textarea>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="form-group col-sm-6">
|
|
92
|
+
<label class=" col-sm-4 control-label" for="f_filiale">分公司:</label>
|
|
93
|
+
<div class="col-sm-6" id="f_filiale">
|
|
94
|
+
<input class="form-control" type="text" v-model="model.f_filiale" disabled>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="form-group col-sm-6">
|
|
98
|
+
<label class=" col-sm-5 control-label" for="f_fee_date">操作日期:</label>
|
|
99
|
+
<div class="col-sm-6" id="f_fee_date">
|
|
100
|
+
<input class="form-control" type="text" v-model="model.f_fee_date" disabled>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
<div class="form-group col-sm-6">
|
|
104
|
+
<label class=" col-sm-4 control-label" for="f_fee_department">部门:</label>
|
|
105
|
+
<div class="col-sm-6" id="f_fee_department">
|
|
106
|
+
<input class="form-control" type="text" v-model="model.f_fee_department" disabled>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
<div class="form-group col-sm-6">
|
|
110
|
+
<label for="f_fee_operator" class=" col-sm-5 control-label">执行人:</label>
|
|
111
|
+
<div class="col-sm-6" id="f_fee_operator">
|
|
112
|
+
<input class="form-control" type="text" v-model="model.f_fee_operator" disabled>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
</form>
|
|
116
|
+
</validator>
|
|
117
|
+
<div class="from-group col-sm-12">
|
|
118
|
+
<center>
|
|
119
|
+
<button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:50px;">
|
|
120
|
+
保存
|
|
121
|
+
</button>
|
|
122
|
+
<button type="button" @click="commit()" class="btn btn-primary" style="width:80px; margin-left:50px;">
|
|
123
|
+
提交
|
|
124
|
+
</button>
|
|
125
|
+
<button type="button" @click="back()" class="btn btn-warning" style="width:80px; margin-left:50px;">
|
|
126
|
+
退回
|
|
127
|
+
</button>
|
|
128
|
+
</center>
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
</div>
|
|
133
|
+
</template>
|
|
134
|
+
<script>
|
|
135
|
+
import co from 'co'
|
|
136
|
+
import AppData from '../../../../stores/AppData'
|
|
137
|
+
import * as Util from '../../../Util'
|
|
138
|
+
let gen = function * (self, val) {
|
|
139
|
+
val.f_sub_state = ''
|
|
140
|
+
val.f_temp_date = Util.toStandardTimeString()
|
|
141
|
+
val.f_gasproperties = val.f_gasproperties[0] ? val.f_gasproperties[0] : ''
|
|
142
|
+
val.f_stair_price = val.f_stair_price[0] ? val.f_stair_price[0] : ''
|
|
143
|
+
let data ={
|
|
144
|
+
tablename:'t_apply',
|
|
145
|
+
parameters:val
|
|
146
|
+
}
|
|
147
|
+
yield self.$resetpost('rs/logic/save', {data:data})
|
|
148
|
+
data = {
|
|
149
|
+
model: {
|
|
150
|
+
f_processid: self.selectdata.f_process_id,
|
|
151
|
+
},
|
|
152
|
+
loginUser: {
|
|
153
|
+
id: self.$login.f.id,
|
|
154
|
+
name: self.$login.f.name,
|
|
155
|
+
ename: self.$login.f.ename
|
|
156
|
+
},
|
|
157
|
+
subdep: '提交'
|
|
158
|
+
}
|
|
159
|
+
self.$resetpost(`rs/logic/standardnext`,
|
|
160
|
+
{data: data})
|
|
161
|
+
.then(() => {
|
|
162
|
+
self.reset()
|
|
163
|
+
})
|
|
164
|
+
}
|
|
165
|
+
export default {
|
|
166
|
+
title: '收费标准',
|
|
167
|
+
data () {
|
|
168
|
+
return {
|
|
169
|
+
fgasproperties: this.$appdata.getParam('用气性质'),
|
|
170
|
+
fstairprice: this.$appdata.getParam('气价类型'),
|
|
171
|
+
model: {
|
|
172
|
+
actid: ''
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
props: ['selectdata'],
|
|
177
|
+
ready () {
|
|
178
|
+
this.selectdata.f_gasproperties = this.selectdata.f_gasproperties ? [this.selectdata.f_gasproperties] : this.model.f_gasproperties
|
|
179
|
+
this.selectdata.f_stair_price = this.selectdata.f_stair_price ? [this.selectdata.f_stair_price] : this.model.f_stair_price
|
|
180
|
+
this.model = Object.assign({}, this.model, this.selectdata)
|
|
181
|
+
// this.$nextTick(() => {
|
|
182
|
+
// this.setselect()
|
|
183
|
+
// })
|
|
184
|
+
},
|
|
185
|
+
methods: {
|
|
186
|
+
confirm() {
|
|
187
|
+
// this.model.f_sub_state = '完成'
|
|
188
|
+
this.model.f_gasproperties = this.model.f_gasproperties[0] ? this.model.f_gasproperties[0] : ''
|
|
189
|
+
this.model.f_stair_price = this.model.f_stair_price[0] ? this.model.f_stair_price[0] : ''
|
|
190
|
+
// this.model.f_total_cost = this.totalcost
|
|
191
|
+
let data ={
|
|
192
|
+
tablename:'t_apply',
|
|
193
|
+
parameters:this.model
|
|
194
|
+
}
|
|
195
|
+
this.$resetpost('rs/logic/save',{data:data} )
|
|
196
|
+
.then(() => {
|
|
197
|
+
this.reset()
|
|
198
|
+
})
|
|
199
|
+
},
|
|
200
|
+
back() {
|
|
201
|
+
let data = {
|
|
202
|
+
model: {
|
|
203
|
+
f_processid: this.selectdata.f_process_id,
|
|
204
|
+
},
|
|
205
|
+
loginUser: {
|
|
206
|
+
id: this.$login.f.id,
|
|
207
|
+
name: this.$login.f.name,
|
|
208
|
+
ename: this.$login.f.ename
|
|
209
|
+
},
|
|
210
|
+
subdep: '退回'
|
|
211
|
+
}
|
|
212
|
+
this.$resetpost(`rs/logic/standardnext`,
|
|
213
|
+
{data: data})
|
|
214
|
+
.then(() => {
|
|
215
|
+
this.reset()
|
|
216
|
+
})
|
|
217
|
+
},
|
|
218
|
+
commit () {
|
|
219
|
+
let getGen = gen(this, this.model)
|
|
220
|
+
co(getGen)
|
|
221
|
+
},
|
|
222
|
+
reset () {
|
|
223
|
+
this.$dispatch('close')
|
|
224
|
+
this.$dispatch('selfsearch')
|
|
225
|
+
},
|
|
226
|
+
setselect () {
|
|
227
|
+
this.selectdata.f_gasproperties = this.selectdata.f_gasproperties ? [this.selectdata.f_gasproperties] : this.model.f_gasproperties
|
|
228
|
+
this.selectdata.f_stair_price = this.selectdata.f_stair_price ? [this.selectdata.f_stair_price] : this.model.f_stair_price
|
|
229
|
+
this.model = Object.assign({}, this.model, this.selectdata)
|
|
230
|
+
this.model.f_fee_date = this.$login.toStandardDateString()
|
|
231
|
+
this.model.f_fee_department = this.$login.f.f_parentname
|
|
232
|
+
this.model.f_fee_operator = this.$login.f.name
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
watch: {
|
|
236
|
+
'selectdata'() {
|
|
237
|
+
this.$nextTick(() => {
|
|
238
|
+
this.setselect()
|
|
239
|
+
})
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
// computed: {
|
|
243
|
+
// totalcost () {
|
|
244
|
+
// this.model.f_total_cost = (Number(this.model.f_construction_cost) + Number(this.model.f_material_cost) +
|
|
245
|
+
// Number(this.model.f_labor_cost) + Number(this.model.f_change_pipeline_cost) + Number(this.model.f_sbaz_cost))*Number(this.model.f_payfee_num) - Number(this.model.f_jmhj_cost)
|
|
246
|
+
// return this.model.f_total_cost
|
|
247
|
+
// }
|
|
248
|
+
// }
|
|
249
|
+
}
|
|
250
|
+
</script>
|
|
251
|
+
<style>
|
|
252
|
+
</style>
|