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,283 @@
|
|
|
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>
|
|
8
|
+
<validator name="v">
|
|
9
|
+
<form class="form-horizontal">
|
|
10
|
+
<div class="col-sm-11 form-group">
|
|
11
|
+
<div class="col-sm-4 form-group" :class="[$v.f_contract_number.required ? 'has-error': '']">
|
|
12
|
+
<label class="control-label col-sm-6">合同编号:</label>
|
|
13
|
+
<div class="col-sm-6">
|
|
14
|
+
<input type="text" class="form-control" v-model="model.f_contract_number" v-validate:f_contract_number='{required: true }'/>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-4 form-group">
|
|
18
|
+
<label class="control-label col-sm-4">合同签订日期:</label>
|
|
19
|
+
<div class="col-sm-6">
|
|
20
|
+
<datepicker width="600.76px;"
|
|
21
|
+
:value.sync="model.f_contract_time"
|
|
22
|
+
:format="'yyyy-MM-dd'"
|
|
23
|
+
v-model="model.f_contract_time" readonly="readonly"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="col-sm-4 form-group">
|
|
29
|
+
<label class="control-label col-sm-6">合同金额:</label>
|
|
30
|
+
<div class="col-sm-6">
|
|
31
|
+
<input type="text" class="form-control" v-model="model.f_contract_money"/>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="col-sm-4 form-group" :class="[$v.f_salesman.required ? 'has-error': '']">
|
|
35
|
+
<label class="control-label col-sm-6">合同业务办理人:</label>
|
|
36
|
+
<div class="col-sm-6">
|
|
37
|
+
<input type="text" class="form-control" v-model="model.f_salesman" v-validate:f_salesman='{required: true }'/>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-sm-11 form-group">
|
|
42
|
+
<div class="col-sm-8 form-group">
|
|
43
|
+
<label class="control-label col-sm-3">用气人:</label>
|
|
44
|
+
<div class="col-sm-8">
|
|
45
|
+
<input type="text" class="form-control col-sm-6" v-model="model.f_usegasren" disabled/>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="col-sm-4 form-group">
|
|
49
|
+
<label class="control-label col-sm-6">电话:</label>
|
|
50
|
+
<div class="col-sm-6">
|
|
51
|
+
<input type="text" class="form-control" v-model="model.f_usegasren_phone" disabled/>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="col-sm-11 form-group">
|
|
56
|
+
<div class="col-sm-8 form-group">
|
|
57
|
+
<label class="control-label col-sm-3">用气地址:</label>
|
|
58
|
+
<div class="col-sm-8">
|
|
59
|
+
<input type="text" class="form-control col-sm-6" v-model="model.f_usegasren_address" disabled/>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="col-sm-8 form-group">
|
|
63
|
+
<label class="control-label col-sm-3">用气质量及方式:</label>
|
|
64
|
+
<div class="col-sm-8">
|
|
65
|
+
<input type="text" class="form-control col-sm-6" v-model="model.f_givegasfund" disabled/>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="col-sm-11 form-group">
|
|
70
|
+
<div class="col-sm-12 form-group">
|
|
71
|
+
<label class="control-label col-sm-2">合同签订备注:</label>
|
|
72
|
+
<div class="col-sm-10">
|
|
73
|
+
<textarea class="form-control" rows="3" v-model="model.f_contract_remarks"></textarea>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
<div class="col-sm-11 form-group">
|
|
78
|
+
<div class="form-group col-sm-6">
|
|
79
|
+
<label class=" col-sm-4 control-label" for="f_filiale">分公司:</label>
|
|
80
|
+
<div class="col-sm-5" id="f_filiale">
|
|
81
|
+
<input class="form-control" type="text" v-model="model.f_filiale" disabled>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="col-sm-6 form-group">
|
|
85
|
+
<label class="control-label col-sm-6">操作日期:</label>
|
|
86
|
+
<div class="col-sm-5">
|
|
87
|
+
<input type="text" class="form-control" disabled v-model="model.f_contract_date"/>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="col-sm-11 form-group">
|
|
92
|
+
<div class="col-sm-6 form-group">
|
|
93
|
+
<label class="control-label col-sm-4">部门:</label>
|
|
94
|
+
<div class="col-sm-5">
|
|
95
|
+
<input type="text" class="form-control" disabled v-model="model.f_contract_department"/>
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
<div class="col-sm-6 form-group">
|
|
99
|
+
<label class="control-label col-sm-6">操作人:</label>
|
|
100
|
+
<div class="col-sm-5">
|
|
101
|
+
<input type="text" class="form-control" disabled v-model="model.f_contract_operator"/>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
</div>
|
|
105
|
+
</form>
|
|
106
|
+
</validator>
|
|
107
|
+
<div class="from-group col-sm-12">
|
|
108
|
+
<center>
|
|
109
|
+
<button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:50px;">
|
|
110
|
+
保存
|
|
111
|
+
</button>
|
|
112
|
+
<button type="button" @click="commit()" class="btn btn-primary" style="width:80px; margin-left:50px;">
|
|
113
|
+
提交
|
|
114
|
+
</button>
|
|
115
|
+
<button v-if="selectdata.defname==='项目报价并录入合同价格'&&selectdata.actdefid === '6'" type="button" @click="again()" class="btn btn-warning" style="width:80px; margin-left:50px;">
|
|
116
|
+
重设
|
|
117
|
+
</button>
|
|
118
|
+
<button type="button" @click="back()" class="btn btn-warning" style="width:80px; margin-left:50px;">
|
|
119
|
+
退回
|
|
120
|
+
</button>
|
|
121
|
+
</center>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</template>
|
|
125
|
+
<script>
|
|
126
|
+
import co from 'co'
|
|
127
|
+
import {HttpResetClass} from 'vue-client'
|
|
128
|
+
import * as Util from '../../../Util'
|
|
129
|
+
let gen = function * (self, val) {
|
|
130
|
+
val.f_sub_state = ''
|
|
131
|
+
val.f_temp_date = Util.toStandardTimeString()
|
|
132
|
+
let data ={
|
|
133
|
+
tablename:'t_apply',
|
|
134
|
+
parameters:val
|
|
135
|
+
}
|
|
136
|
+
yield self.$resetpost('rs/logic/save', {data:data})
|
|
137
|
+
if((self.selectdata.defname==='合同签订'&&self.selectdata.actdefid === '8')||(self.selectdata.defname==='材料申购'&&self.selectdata.actdefid === '12')){
|
|
138
|
+
let data = {
|
|
139
|
+
model: {
|
|
140
|
+
f_processid: self.selectdata.f_process_id,
|
|
141
|
+
},
|
|
142
|
+
loginUser: {
|
|
143
|
+
id: self.$login.f.id,
|
|
144
|
+
name: self.$login.f.name,
|
|
145
|
+
ename: self.$login.f.ename
|
|
146
|
+
},
|
|
147
|
+
employeetemplate : self.selectdata.f_survey_name,
|
|
148
|
+
subdep: '提交'
|
|
149
|
+
}
|
|
150
|
+
self.$resetpost(`rs/logic/grantnext`,
|
|
151
|
+
{data: data})
|
|
152
|
+
.then(() => {
|
|
153
|
+
self.reset()
|
|
154
|
+
})
|
|
155
|
+
}else{
|
|
156
|
+
let data = {
|
|
157
|
+
model: {
|
|
158
|
+
f_processid: self.selectdata.f_process_id,
|
|
159
|
+
},
|
|
160
|
+
loginUser: {
|
|
161
|
+
id: self.$login.f.id,
|
|
162
|
+
name: self.$login.f.name,
|
|
163
|
+
ename: self.$login.f.ename
|
|
164
|
+
},
|
|
165
|
+
subdep: '提交'
|
|
166
|
+
}
|
|
167
|
+
self.$resetpost(`rs/logic/contractnext`,
|
|
168
|
+
{data: data})
|
|
169
|
+
.then(() => {
|
|
170
|
+
self.reset()
|
|
171
|
+
})
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
}
|
|
175
|
+
export default {
|
|
176
|
+
title: '合同签订',
|
|
177
|
+
data () {
|
|
178
|
+
return {
|
|
179
|
+
model: {
|
|
180
|
+
actid: ''
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
props: ['selectdata'],
|
|
185
|
+
ready () {
|
|
186
|
+
this.$nextTick(() => {
|
|
187
|
+
this.model = Object.assign({}, this.model, this.selectdata)
|
|
188
|
+
this.model.f_usegasren = this.selectdata.f_user_name
|
|
189
|
+
this.model.f_usegasren_phone = this.selectdata.f_phone
|
|
190
|
+
this.model.f_usegasren_address = this.selectdata.f_address
|
|
191
|
+
this.model.f_givegasfund = 'GD-120天然气'
|
|
192
|
+
this.model.f_contract_date = this.$login.toStandardDateString()
|
|
193
|
+
this.model.f_contract_department = this.$login.f.f_parentname
|
|
194
|
+
this.model.f_contract_operator = this.$login.f.name
|
|
195
|
+
})
|
|
196
|
+
},
|
|
197
|
+
methods: {
|
|
198
|
+
again() {
|
|
199
|
+
this.model.f_sub_state = '重设'
|
|
200
|
+
this.confirm()
|
|
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/contractnext`,
|
|
213
|
+
{data: data})
|
|
214
|
+
.then(() => {
|
|
215
|
+
this.reset()
|
|
216
|
+
})
|
|
217
|
+
},
|
|
218
|
+
back() {
|
|
219
|
+
this.model.f_sub_state = '退回'
|
|
220
|
+
this.confirm()
|
|
221
|
+
let data = {
|
|
222
|
+
model: {
|
|
223
|
+
f_processid: this.selectdata.f_process_id,
|
|
224
|
+
},
|
|
225
|
+
loginUser: {
|
|
226
|
+
id: this.$login.f.id,
|
|
227
|
+
name: this.$login.f.name,
|
|
228
|
+
ename: this.$login.f.ename
|
|
229
|
+
},
|
|
230
|
+
subdep: '退回'
|
|
231
|
+
}
|
|
232
|
+
this.$resetpost(`rs/logic/contractnext`,
|
|
233
|
+
{data: data})
|
|
234
|
+
.then(() => {
|
|
235
|
+
this.reset()
|
|
236
|
+
})
|
|
237
|
+
},
|
|
238
|
+
async confirm() {
|
|
239
|
+
let http = new HttpResetClass()
|
|
240
|
+
let data ={
|
|
241
|
+
tablename:'t_apply',
|
|
242
|
+
parameters:this.model
|
|
243
|
+
}
|
|
244
|
+
await http.load('POST','rs/logic/saveentity', {data:data})
|
|
245
|
+
.then(() => {
|
|
246
|
+
this.reset()
|
|
247
|
+
})
|
|
248
|
+
},
|
|
249
|
+
async commit () {
|
|
250
|
+
let getGen = gen(this, this.model)
|
|
251
|
+
co(getGen)
|
|
252
|
+
let http = new HttpResetClass()
|
|
253
|
+
let data ={
|
|
254
|
+
tablename:'t_contract',
|
|
255
|
+
parameters:this.model
|
|
256
|
+
}
|
|
257
|
+
delete data.parameters.id
|
|
258
|
+
let res = await http.load('POST','rs/logic/saveentity', {data:data})
|
|
259
|
+
if(res.data.status != 200){
|
|
260
|
+
return
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
reset () {
|
|
264
|
+
this.$dispatch('close')
|
|
265
|
+
this.$dispatch('selfsearch')
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
watch: {
|
|
269
|
+
'selectdata'() {
|
|
270
|
+
this.$nextTick(() => {
|
|
271
|
+
this.model = Object.assign({}, this.model, this.selectdata)
|
|
272
|
+
this.model.f_usegasren = this.selectdata.f_user_name
|
|
273
|
+
this.model.f_usegasren_phone = this.selectdata.f_phone
|
|
274
|
+
this.model.f_usegasren_address = this.selectdata.f_address
|
|
275
|
+
this.model.f_givegasfund = 'GD-120天然气'
|
|
276
|
+
this.model.f_contract_date = this.$login.toStandardDateString()
|
|
277
|
+
this.model.f_contract_department = this.$login.f.f_parentname
|
|
278
|
+
this.model.f_contract_operator = this.$login.f.name
|
|
279
|
+
})
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
</script>
|
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="from-group col-sm-12">
|
|
3
|
+
<div class="from-group col-sm-12" style="height: auto">
|
|
4
|
+
<div class="form-group col-sm-3 form-input-group">
|
|
5
|
+
<label class="control-label">客户名称:</label>
|
|
6
|
+
<div class="col-sm-6">
|
|
7
|
+
<input class="form-control col-sm-6" type="text" v-if="selectdata.f_user_name" v-model="model.f_user_name"
|
|
8
|
+
readonly>
|
|
9
|
+
<input class="form-control col-sm-6" type="text" v-else v-model="model.f_user_name">
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="form-group col-sm-3 form-input-group">
|
|
13
|
+
<label class="control-label">客户类型:</label>
|
|
14
|
+
<div class="col-sm-5">
|
|
15
|
+
<input class="form-control col-sm-6" type="text" v-if="selectdata.f_customer_type"
|
|
16
|
+
v-model="model.f_customer_type" readonly>
|
|
17
|
+
<v-select :is-all-line="true" :value.sync="model.f_customer_type"
|
|
18
|
+
v-else v-model="model.f_customer_type" v-ref:customertype
|
|
19
|
+
:options='fcustomertype'
|
|
20
|
+
placeholder='请选择' close-on-select></v-select>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group col-sm-3 form-input-group">
|
|
24
|
+
<label class="col-sm-4 control-label">报装类型:</label>
|
|
25
|
+
<div class="col-sm-8">
|
|
26
|
+
<input class="form-control col-sm-6" type="text" v-if="selectdata.f_apply_type" v-model="model.f_apply_type"
|
|
27
|
+
readonly>
|
|
28
|
+
<v-select :is-all-line="true" v-ref:fapplytype v-else
|
|
29
|
+
v-model="model.f_apply_type"
|
|
30
|
+
placeholder='请选择'
|
|
31
|
+
:value.sync="model.f_apply_type"
|
|
32
|
+
:options='fapplytype'
|
|
33
|
+
close-on-select>
|
|
34
|
+
</v-select>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="form-group col-sm-3 form-input-group">
|
|
38
|
+
<label class="control-label">电话号码:</label>
|
|
39
|
+
<div class="col-sm-6">
|
|
40
|
+
<input class="form-control col-sm-6" type="text" v-if="selectdata.f_phone" v-model="model.f_phone" readonly>
|
|
41
|
+
<input class="form-control col-sm-6" type="text" v-else v-model="model.f_phone">
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="form-group col-sm-3 form-input-group">
|
|
45
|
+
<label class="control-label">用户类型:</label>
|
|
46
|
+
<div class="col-sm-4">
|
|
47
|
+
<input class="form-control col-sm-6" type="text" v-if="selectdata.f_user_type" v-model="model.f_user_type"
|
|
48
|
+
readonly>
|
|
49
|
+
<v-select :is-all-line="true" :value.sync="model.f_user_type" v-model="model.f_user_type" v-ref:usertype :options='fusertype'
|
|
50
|
+
v-else
|
|
51
|
+
placeholder='请选择' close-on-select></v-select>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="form-group col-sm-3 form-input-group">
|
|
55
|
+
<label class="col-sm-4 control-label">证件类型:</label>
|
|
56
|
+
<div class="col-sm-6">
|
|
57
|
+
<input class="form-control col-sm-6" type="text" v-if="selectdata.f_credentials" v-model="model.f_credentials"
|
|
58
|
+
readonly>
|
|
59
|
+
<v-select
|
|
60
|
+
v-model="model.f_credentials" v-else
|
|
61
|
+
placeholder='请选择'
|
|
62
|
+
:value.sync="model.f_credentials"
|
|
63
|
+
:options='fcredentials'
|
|
64
|
+
close-on-select>
|
|
65
|
+
</v-select>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="form-group col-sm-3 form-input-group">
|
|
69
|
+
<label class="control-label">证件号码:</label>
|
|
70
|
+
<div class="col-sm-5">
|
|
71
|
+
<input class="form-control col-sm-6" type="text" v-if="selectdata.f_idnumber" v-model="model.f_idnumber"
|
|
72
|
+
readonly>
|
|
73
|
+
<input class="form-control" type="text" v-model="model.f_idnumber" v-else>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="form-group col-sm-3 form-input-group">
|
|
77
|
+
<label class="control-label">片区:</label>
|
|
78
|
+
<div class="col-sm-5">
|
|
79
|
+
<input class="form-control col-sm-6" type="text" v-if="selectdata.f_residential_area"
|
|
80
|
+
v-model="model.f_residential_area" readonly>
|
|
81
|
+
<v-select :is-all-line="true" style="width:100%" :value.sync="model.f_residential_area" v-model="model.f_residential_area"
|
|
82
|
+
v-ref:area v-else
|
|
83
|
+
:options='village'
|
|
84
|
+
placeholder='请选择' close-on-select></v-select>
|
|
85
|
+
<!--<input style="width:90%;height:26px;position: relative;top: -26px" :value.sync="model.f_residential_area" v-model="model.f_residential_area" />-->
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
<div class="form-group col-sm-3 form-input-group">
|
|
89
|
+
<label class="control-label">小区:</label>
|
|
90
|
+
<div class="col-sm-5">
|
|
91
|
+
<input class="form-control col-sm-6" type="text" v-if="selectdata.f_area" v-model="model.f_area" readonly>
|
|
92
|
+
<v-select :is-all-line="true" :value.sync="model.f_area" v-model="model.f_area" v-ref:area :options='allvillages' v-else
|
|
93
|
+
placeholder='请选择' close-on-select></v-select>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="form-group col-sm-9 form-input-group">
|
|
97
|
+
<label class=" col-sm-3 control-label">用户单位:</label>
|
|
98
|
+
<div class="col-sm-8">
|
|
99
|
+
<input class="form-control col-sm-6" type="text" v-if="selectdata.f_company_name"
|
|
100
|
+
v-model="model.f_company_name" readonly>
|
|
101
|
+
<input class="form-control" type="text" v-model="model.f_company_name" v-else>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
<div class="form-group col-sm-9 form-input-group">
|
|
105
|
+
<label class=" col-sm-3 control-label">地址:</label>
|
|
106
|
+
<div class="col-sm-8">
|
|
107
|
+
<input class="form-control col-sm-6" type="text" v-if="selectdata.f_address" v-model="model.f_address"
|
|
108
|
+
readonly>
|
|
109
|
+
<input class="form-control" type="text" v-model="model.f_address" v-else>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
<div class="form-horizontal auto">
|
|
113
|
+
<div class="form-group">
|
|
114
|
+
<div class="form-group col-sm-9 form-input-group">
|
|
115
|
+
<label class="col-sm-2" v-if="model.f_apply_type === '改装报建'">改装原因:</label>
|
|
116
|
+
<label class="col-sm-2" v-else>报建登记备注:</label>
|
|
117
|
+
<div class="col-sm-9">
|
|
118
|
+
<textarea class="form-control" v-model="model.f_apply_remarks" rows="3"></textarea>
|
|
119
|
+
</div>
|
|
120
|
+
</div>
|
|
121
|
+
<div class="form-group col-sm-12">
|
|
122
|
+
<div class="form-group col-sm-4 form-input-group">
|
|
123
|
+
<label class="control-label">分公司:</label>
|
|
124
|
+
<div class="col-sm-5">
|
|
125
|
+
<input class="form-control" type="text" v-model="model.f_filiale" disabled>
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
<div class="form-group col-sm-4 form-input-group">
|
|
129
|
+
<label class="control-label">部门:</label>
|
|
130
|
+
<div class="col-sm-5">
|
|
131
|
+
<input class="form-control" type="text" v-model="model.f_apply_department" disabled>
|
|
132
|
+
</div>
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
<div class="form-group col-sm-12">
|
|
136
|
+
<div class="form-group col-sm-4 form-input-group">
|
|
137
|
+
<!--<label class="control-label">操作人:</label>-->
|
|
138
|
+
<label class="control-label">经办人:</label>
|
|
139
|
+
<div class="col-sm-5">
|
|
140
|
+
<input class="form-control" type="text" v-model="model.f_apply_operator" disabled>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
<!--<div class="form-group col-sm-4 form-input-group">-->
|
|
144
|
+
<!--<!–<label class="control-label">操作人:</label>–>-->
|
|
145
|
+
<!--<label class="control-label">经办人电话:</label>-->
|
|
146
|
+
<!--<div class="col-sm-5">-->
|
|
147
|
+
<!--<input class="form-control" type="text" v-model="model.f_apply_operator_telephone" disabled>-->
|
|
148
|
+
<!--</div>-->
|
|
149
|
+
<!--</div>-->
|
|
150
|
+
<div class="form-group col-sm-4 form-input-group">
|
|
151
|
+
<label class="control-label">操作日期:</label>
|
|
152
|
+
<div class="col-sm-5">
|
|
153
|
+
<input class="form-control" type="text" v-model="model.f_apply_date" disabled>
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
159
|
+
<div v-if="!base" class="from-group col-sm-8">
|
|
160
|
+
<center>
|
|
161
|
+
<!--<button type="button" @click="confirm()" class="btn btn-primary"-->
|
|
162
|
+
<!--style="width:80px; margin-left:50px;" :disabled='$v.invalid'>-->
|
|
163
|
+
<!--保存-->
|
|
164
|
+
<!--</button>-->
|
|
165
|
+
<button type="button" @click="confirm()" class="btn btn-primary "
|
|
166
|
+
style="width:80px; margin-left:50px;">
|
|
167
|
+
提交
|
|
168
|
+
</button>
|
|
169
|
+
<button type="button" @click="reset()" class="btn btn-warning" style="width:80px; margin-left:50px;">
|
|
170
|
+
取消
|
|
171
|
+
</button>
|
|
172
|
+
</center>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
<billgzkmakeinfo v-show="false" :billselect="model" :selectone="改装卡" v-ref:billgzkmakeinfo ></billgzkmakeinfo>
|
|
176
|
+
</div>
|
|
177
|
+
</template>
|
|
178
|
+
<script>
|
|
179
|
+
import {HttpResetClass} from 'vue-client'
|
|
180
|
+
export default {
|
|
181
|
+
title: "基本信息",
|
|
182
|
+
props: {
|
|
183
|
+
selectdata: {
|
|
184
|
+
type: Object,
|
|
185
|
+
default: {}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
data() {
|
|
189
|
+
return {
|
|
190
|
+
fusertype: this.$appdata.getParam('用户类型'),
|
|
191
|
+
fapplytype: this.$appdata.getParam('报装类型'),
|
|
192
|
+
fcredentials: this.$appdata.getParam('证件类型'),
|
|
193
|
+
fhousetype: this.$appdata.getParam('房屋类型'),
|
|
194
|
+
fcustomertype: this.$appdata.getParam('客户类型'),
|
|
195
|
+
model: {},
|
|
196
|
+
flag: null
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
ready() {
|
|
200
|
+
console.log("开始")
|
|
201
|
+
this.model = Object.assign({}, this.model, this.selectdata)
|
|
202
|
+
},
|
|
203
|
+
methods: {
|
|
204
|
+
async confirm() {
|
|
205
|
+
// 改装报建,先打印改装卡,再去保存信息
|
|
206
|
+
if(this.model.f_apply_type === '改装报建'){
|
|
207
|
+
if(this.model.f_apply_remarks){
|
|
208
|
+
this.getModel();
|
|
209
|
+
this.$refs.billgzkmakeinfo.$refs.billqrk.billselect = this.model
|
|
210
|
+
this.flag= this.$refs.billgzkmakeinfo.$refs.billqrk.load()
|
|
211
|
+
setTimeout(()=>{
|
|
212
|
+
this.$refs.billgzkmakeinfo.$refs.billqrk.$refs.page2.$refs.querenka.$refs.reportprint.print()
|
|
213
|
+
},5000)
|
|
214
|
+
this.$refs.billgzkmakeinfo.updateNumber()
|
|
215
|
+
}else{
|
|
216
|
+
this.$showMessage("请填写改装原因")
|
|
217
|
+
return
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
this.getModel();
|
|
221
|
+
this.workflow();
|
|
222
|
+
},
|
|
223
|
+
|
|
224
|
+
workflow() {
|
|
225
|
+
console.log('11', this.uuid);
|
|
226
|
+
if (!this.model.f_apply_type) {
|
|
227
|
+
this.$showMessage("请选择报装类型")
|
|
228
|
+
} else if (!this.model.f_user_type) {
|
|
229
|
+
this.$showMessage("请选择用户类型")
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
this.model.f_apply_type = this.model.f_apply_type
|
|
233
|
+
let fileInfoData = this.$parent.$parent.$parent.$parent.$refs.file.fileInfoData
|
|
234
|
+
let recordmessage = this.$parent.$parent.$parent.$parent.$refs.record.model.rows
|
|
235
|
+
let materialmessage = this.$parent.$parent.$parent.$parent.$refs.material.model.rows
|
|
236
|
+
for (var i = 0; i < materialmessage.length; i++) {
|
|
237
|
+
materialmessage[i].id = Number(materialmessage[i].id)
|
|
238
|
+
materialmessage[i].f_quantity = Number(materialmessage[i].f_quantity)
|
|
239
|
+
materialmessage[i].f_price = Number(materialmessage[i].f_price)
|
|
240
|
+
materialmessage[i].f_money = Number(materialmessage[i].f_money)
|
|
241
|
+
}
|
|
242
|
+
let buildingmessage = []
|
|
243
|
+
if (this.$parent.$parent.$parent.$parent.$refs.building) {
|
|
244
|
+
buildingmessage = this.$parent.$parent.$parent.$parent.$refs.building.model.rows
|
|
245
|
+
}
|
|
246
|
+
let equipmentmessage = []
|
|
247
|
+
if (this.$parent.$parent.$parent.$parent.flagg) {
|
|
248
|
+
equipmentmessage = this.$parent.$parent.$parent.$parent.$refs.equipment.devicesinfo
|
|
249
|
+
if (equipmentmessage.length != 0 && equipmentmessage[0].id == null) {
|
|
250
|
+
equipmentmessage = []
|
|
251
|
+
}
|
|
252
|
+
for (var i = 0; i < equipmentmessage.length; i++) {
|
|
253
|
+
equipmentmessage[i].f_devices_type = typeof equipmentmessage[i].f_devices_type === 'object' ? equipmentmessage[i].f_devices_type[0] : equipmentmessage[i].f_devices_type
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
let data = {
|
|
257
|
+
model: this.model,
|
|
258
|
+
fileinfodata: fileInfoData,
|
|
259
|
+
recordmessage: recordmessage,
|
|
260
|
+
materialmessage: materialmessage,
|
|
261
|
+
equipmentmessage: equipmentmessage,
|
|
262
|
+
buildingmessage: buildingmessage,
|
|
263
|
+
loginUser: {
|
|
264
|
+
id: this.$login.f.id,
|
|
265
|
+
name: this.$login.f.name,
|
|
266
|
+
ename: this.$login.f.ename
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
let http = new HttpResetClass()
|
|
270
|
+
http.load('POST',`rs/logic/saveapplynext`, {data: data})
|
|
271
|
+
.then((res) => {
|
|
272
|
+
this.reset()
|
|
273
|
+
})
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
|
|
277
|
+
reset() {
|
|
278
|
+
this.$dispatch('close')
|
|
279
|
+
this.$dispatch('selfsearch')
|
|
280
|
+
},
|
|
281
|
+
|
|
282
|
+
getModel() {
|
|
283
|
+
console.log("合并后" + JSON.stringify(this.model));
|
|
284
|
+
this.model.f_user_type = typeof this.model.f_user_type === 'object' ? this.model.f_user_type[0] : this.model.f_user_type?this.model.f_user_type:''
|
|
285
|
+
this.model.f_area = typeof this.model.f_area === 'object' ? this.model.f_area[0] : this.model.f_area?this.model.f_area:''
|
|
286
|
+
// this.model.f_house_type = typeof this.model.f_house_type[0] === 'object' ? this.model.f_house_type[0] :this.model.f_house_type
|
|
287
|
+
this.model.f_credentials = typeof this.model.f_credentials === 'object' ? this.model.f_credentials[0] : this.model.f_credentials?this.model.f_credentials:''
|
|
288
|
+
this.model.f_apply_type = typeof this.model.f_apply_type=== 'object' ? this.model.f_apply_type[0] : this.model.f_apply_type?this.model.f_apply_type:''
|
|
289
|
+
this.model.f_residential_area = typeof this.model.f_residential_area=== 'object' ? this.model.f_residential_area[0] :this.model.f_residential_area?this.model.f_residential_area:''
|
|
290
|
+
this.model.f_customer_type = typeof this.model.f_customer_type === 'object' ? this.model.f_customer_type[0] : this.model.f_customer_type?this.model.f_customer_type:''
|
|
291
|
+
// this.model.f_sub_state = ''
|
|
292
|
+
},
|
|
293
|
+
|
|
294
|
+
},
|
|
295
|
+
watch: {
|
|
296
|
+
'selectdata'() {
|
|
297
|
+
console.log("监听selectdata")
|
|
298
|
+
this.model = Object.assign({}, this.selectdata, this.model)
|
|
299
|
+
},
|
|
300
|
+
'model.f_customer_type'() {
|
|
301
|
+
if (this.model.f_customer_type == '企业') {
|
|
302
|
+
this.$parent.$parent.$parent.$parent.flagg = true
|
|
303
|
+
} else {
|
|
304
|
+
this.$parent.$parent.$parent.$parent.flagg = false
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
computed: {
|
|
309
|
+
village() {
|
|
310
|
+
let temp = []
|
|
311
|
+
for (var i = 0; i < this.$login.f.f_allArea.length; i++) {
|
|
312
|
+
temp.push({label: this.$login.f.f_allArea[i].label, value: this.$login.f.f_allArea[i].label})
|
|
313
|
+
}
|
|
314
|
+
return temp
|
|
315
|
+
},
|
|
316
|
+
allvillages() {
|
|
317
|
+
let temp = []
|
|
318
|
+
for (var i = 0; i < this.$login.f.f_allArea.length; i++) {
|
|
319
|
+
if (this.model.f_residential_area[0] == this.$login.f.f_allArea[i].label)
|
|
320
|
+
return this.$login.f.f_allArea[i].value
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
</script>
|