¶Ô±ÈÐÂÎļþ |
| | |
| | | <!-- --> |
| | | <template> |
| | | <div class="Modifydetailscla"> |
| | | <div class="boxdiv"> |
| | | <div class="top-text">{{ title }}</div> |
| | | <el-form ref="form" :model="form" :rules="rules" label-width="120px"> |
| | | <el-row> |
| | | <el-col :span="5"> |
| | | <el-form-item label="ç³è¯·æ¥æ" prop="createTime"> |
| | | <el-date-picker clearable style="width: 100%" v-model="form.createTime" type="date" |
| | | value-format="yyyy-MM-dd HH:mm:ss" placeholder="ç³è¯·æ¥æ"> |
| | | </el-date-picker> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="ç»å人" prop="username"> |
| | | <el-select v-model="form.username" placeholder="ç³è¯·äºº" clearable filterable allow-create style="width: 100%" |
| | | @change="getUserAccount"> |
| | | <el-option v-for="dict in userlist" :key="dict.index" :label="dict.nickname" |
| | | :value="dict.nickname"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="æå±ç»å«" prop="deptmentname"> |
| | | <el-input v-model="form.deptmentname" placeholder="请è¾å
¥æå±ç»å«" clearable /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="ç»é¿" prop="managername"> |
| | | <el-input v-model="form.managername" placeholder="请è¾å
¥ç»é¿" clearable /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <!-- |
| | | <el-col :span="7"> |
| | | <el-form-item label="å·¥ä½åä½" prop="unitno"> |
| | | <org-selecter ref="orgSelecter" :org-type="'3'" v-model="form.unitno" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | --> |
| | | <el-col :span="5"> |
| | | <el-form-item label="ç³è¯·åç±»å"> |
| | | <el-radio v-model="form.applytype" :label="businessType">{{ |
| | | businessName |
| | | }}</el-radio> |
| | | </el-form-item> |
| | | </el-col> |
| | | <!-- <el-col :span="5"> |
| | | <el-form-item label="é¶è¡åç§°" prop="bankname"> |
| | | <el-input v-model="form.bankname" placeholder="请è¾å
¥é¶è¡åç§°" /> |
| | | </el-form-item> </el-col |
| | | ><el-col :span="5"> |
| | | <el-form-item label="é¶è¡è´¦å·" prop="bankcardno"> |
| | | <el-input |
| | | v-model="form.bankcardno" |
| | | placeholder="请è¾å
¥é¶è¡è´¦å·" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> --> |
| | | <el-col :span="5"> |
| | | <el-form-item label="èç³»çµè¯" prop="phone"> |
| | | <el-input v-model="form.phone" placeholder="请è¾å
¥èç³»çµè¯" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="æç®è
" prop="name"> |
| | | <el-input :disabled="true" v-model="form.donorname" placeholder="请è¾å
¥æç®è
å§å" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="ç³è¯·éé¢" prop="pretaxcost"> |
| | | <el-input v-model="form.pretaxcost" placeholder="ç¨åéé¢å计" :disabled="true" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row style="text-align: left"> |
| | | <!-- |
| | | <el-col :span="5"> |
| | | <el-form-item label="å计éé¢" prop="amountrequested"> |
| | | <el-input v-model="form.amountrequested" placeholder="ç³è¯·éé¢" :disabled="true" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | --> |
| | | |
| | | <!-- |
| | | <el-col :span="5"> |
| | | <el-form-item label="åºç¼´ç¨" prop="taxcost" v-if="businessType == '1' || businessType == '2'"> |
| | | <el-input v-model="form.taxcost" placeholder="åºç¼´ç¨éé¢å计" :disabled="true" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="5"> |
| | | <el-form-item label="ç¨åéé¢" prop="pretaxcost"> |
| | | <el-input v-model="form.taxedcost" placeholder="ç¨åéé¢å计" :disabled="true" /> |
| | | </el-form-item> |
| | | </el-col>--> |
| | | <el-col :span="10"> |
| | | <el-form-item label="ç³è¯·è¯´æ" prop="remark"> |
| | | <el-input v-model="form.remark" placeholder="ç³è¯·è¯´æ" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | |
| | | <!-- |
| | | <el-col :span="5"> |
| | | <el-form-item label="ç³è¯·ç¶æ" prop="recordstatus"> |
| | | <el-select v-model="form.recordstatus" placeholder="è¯·éæ©å®¡æ ¸ç¶æ" clearable size="small" :disabled="true"> |
| | | <el-option v-for="dict in dict.type.sys_recordstatus" :key="dict.value" :label="dict.label" |
| | | :value="dict.value" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col>--> |
| | | </el-row> |
| | | <el-row style="margin-top: 5px; margin-bottom: 5px" /> |
| | | <el-row style="margin-bottom: 10px" v-if="businessType == '1'"> |
| | | <el-col :span="4"> |
| | | <el-button @click.native.prevent="importFeeItems" type="primary" size="small"> |
| | | 导å
¥æå¡é¡¹ç® |
| | | </el-button> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row v-if="jurisdiction"> |
| | | <!-- <el-alert title="å½å为æ¥çç¶æï¼ä¸æ¯æä¿®æ¹åå¨ã" type="warning"> |
| | | </el-alert> --> |
| | | <el-alert title="å½å为æ¥çç¶æï¼ä¸æ¯æä¿®æ¹åå¨ã" type="warning" show-icon> |
| | | </el-alert> |
| | | </el-row> |
| | | <el-row> |
| | | <el-table :data="rbDetails" v-loading="loading" max-height="800" border highlight-current-row> |
| | | <el-table-column prop="orderno" align="center" label="åºå·" width="88"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.orderno" placeholder="åºå·" /> |
| | | </template> |
| | | </el-table-column> |
| | | <!-- |
| | | <el-table-column prop="itemcode" align="center" label="项ç®ç¼å·" show-overflow-tooltip="" |
| | | v-if="form.applytype == '1'"> |
| | | </el-table-column>--> |
| | | <el-table-column prop="applytype" align="center" label="æå¡ç±»å" width="200"> |
| | | <template slot-scope="scope"> |
| | | <el-select v-model="scope.row.applytype" placeholder="æå¡ç±»å" @change="verifyFeeItemType(scope.row)"> |
| | | <el-option v-for="dict in rowfeeItemTypes" :key="dict.index" :label="dict.label" |
| | | :value="dict.value"></el-option> |
| | | </el-select> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="itemid" align="center" label="æå¡é¡¹ç®" width="260"> |
| | | <template slot-scope="scope"> |
| | | <el-select v-model="scope.row.itemid" placeholder="æå¡é¡¹ç®" filterable @change="verifyFeeItem(scope.row)" |
| | | :filter-method="val => searchItemType(val, scope)"> |
| | | <el-option v-for="dict in scope.row.itemlist" :key="dict.index" :label="dict.itemName" |
| | | :value="dict.id"></el-option> |
| | | </el-select> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="servicesscope" align="center" label="æå¡è¯´æ" v-if="form.applytype == '1'" width="180"> |
| | | <template slot-scope="scope"> |
| | | <el-select v-model="scope.row.servicesscope" placeholder="æå¡è¯´æ" clearable allow-create |
| | | @change="verifyFeeRemark(scope.row)"> |
| | | <el-option v-for="dict in scope.row.rowfeeblocks" :key="dict.servicesscope" :label="dict.remark" |
| | | :value="dict.servicesscope"></el-option> |
| | | </el-select> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="price" align="center" label="åä»·" width="120" v-if="businessType == 4"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.price" placeholder="åä»·" @blur="val => { |
| | | sumTotalFee(scope.row); |
| | | } |
| | | " /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="quantity" align="center" label="æ°é" width="120" v-if="businessType == 4"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.quantity" placeholder="æ°é" @blur="val => { |
| | | sumTotalFee(scope.row); |
| | | } |
| | | " /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="businessType == 2 || |
| | | businessType == 3 || |
| | | businessType == 4 || |
| | | ismanager == true |
| | | " prop="amount" align="center" :label="amountLabel" width="120"> |
| | | <template slot-scope="scope"> |
| | | <!-- |
| | | <el-select v-model="scope.row.amount" placeholder="ç¨åéé¢" clearable filterable allow-create |
| | | @change="selectamount(scope.row)"> |
| | | <el-option v-for="dict in scope.row.rowfeeblocks" :key="dict.expensedescribe" :label="dict.expense" |
| | | :value="dict.expense"></el-option> |
| | | </el-select> |
| | | --> |
| | | <el-input v-model="scope.row.amount" placeholder="éé¢" @blur="val => { |
| | | calculateTax(scope.row, 'A'); |
| | | } |
| | | " /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="taxedamount" align="center" label="ç¨åéé¢" width="120" v-if="(this.ismanager == true) & |
| | | (form.applytype == '1' || form.applytype == '2') |
| | | "> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.taxedamount" placeholder="ç¨åéé¢" @blur="val => { |
| | | calculateTax(scope.row, 'B'); |
| | | } |
| | | " /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="beneficiaryname" align="center" label="å§å" width="120" |
| | | v-if="form.applytype == '1' || form.applytype == '2'"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="primary" plain @click="ShowDetailDialog(scope, 'expert')">{{ scope.row.beneficiaryname |
| | | }}</el-button> |
| | | <!-- <el-select |
| | | filterable |
| | | allow-create |
| | | ref="getReportname" |
| | | default-first-option |
| | | @change="selectExpert(scope.row)" |
| | | v-model="scope.row.beneficiaryname" |
| | | placeholder="è¯·éæ©" |
| | | > |
| | | <el-option |
| | | v-for="item in expertlist" |
| | | :key="item.reportNo" |
| | | :label="item.reportName" |
| | | :value="item.reportName" |
| | | > |
| | | </el-option> |
| | | </el-select> --> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="unitno" align="center" label="åä½åç§°" width="250" v-if="form.applytype != '4'"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="primary" plain @click="ShowDetailDialog(scope, 'unit')">{{ scope.row.unitname |
| | | }}</el-button> |
| | | <!-- <el-select |
| | | v-model="scope.row.unitno" |
| | | placeholder="åä½" |
| | | clearable |
| | | filterable |
| | | allow-create |
| | | > |
| | | <el-option |
| | | v-for="(spec, index) in unitList" |
| | | :key="index" |
| | | :label="spec.organizationname" |
| | | :value="spec.organizationid" |
| | | ></el-option> |
| | | </el-select> --> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="unitno" align="center" label="åä½/个人" width="250" v-if="form.applytype == '4'"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="primary" plain @click="ShowDetailDialog(scope, 'expert')">{{ |
| | | experthear == "expert" |
| | | ? scope.row.unitname |
| | | : scope.row.beneficiaryname |
| | | }}</el-button> |
| | | <!-- <el-select |
| | | v-model="scope.row.unitno" |
| | | placeholder="åä½" |
| | | clearable |
| | | filterable |
| | | allow-create |
| | | > |
| | | <el-option |
| | | v-for="(spec, index) in unitList" |
| | | :key="index" |
| | | :label="spec.organizationname" |
| | | :value="spec.organizationid" |
| | | ></el-option> |
| | | </el-select> --> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="title" align="center" label="èç§°" width="120" |
| | | v-if="form.applytype == '1' || form.applytype == '2'"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.title" placeholder="èç§°" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="idcardno" align="center" label="身份è¯å·" width="200" |
| | | v-if="form.applytype == '1' || form.applytype == '2'"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.idcardno" placeholder="身份è¯å·" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="depositbank" align="center" label="弿·é¶è¡" width="200"> |
| | | <!-- v-if="form.applytype != '4'" --> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.depositbank" placeholder="弿·é¶è¡" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="bankcardno" align="center" label="é¶è¡å¸å·" width="210"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.bankcardno" placeholder="é¶è¡å¸å·" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="remark" align="center" width="330" label="夿³¨"> |
| | | <template slot-scope="scope"> |
| | | <el-input type="textarea" :rows="2" v-model="scope.row.remark" placeholder="夿³¨" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column fixed="right" align="center" label="æä½" width="180"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" size="mini" @click="addRow(scope.$index)" v-if="operationType == 'add' || |
| | | operationType == 'update' || |
| | | operationType == 'check' |
| | | ">æ°å¢</el-button> |
| | | <el-button @click.native.prevent=" |
| | | deleteRows(scope.row, scope.$index, rbDetails) |
| | | " type="text" size="small" v-if="operationType == 'add' || |
| | | operationType == 'update' || |
| | | operationType == 'check' |
| | | "> |
| | | å é¤ |
| | | </el-button> |
| | | <el-button @click.native.prevent=" |
| | | Filepopup(scope.$index, rbDetails, scope.row) |
| | | " type="text" size="small" v-if="businessType == 3 || businessType == 4">票æ®</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-row> |
| | | <!-- |
| | | <el-row> |
| | | <el-col :span="7"> |
| | | <el-form-item label="颿¯éé¢" prop="prepaidamount"> |
| | | <el-input v-model="form.prepaidamount" placeholder="ç³è¯·éé¢" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-col :span="7"> |
| | | <el-form-item label="OPOä¸å¿ç¾å" prop="opochecker"> |
| | | <el-input v-model="form.opochecker" placeholder="opoä¸å¿ç¾å" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="è´¢å¡å¯é¢é¿" prop="finvicepresident"> |
| | | <el-input v-model="form.finvicepresident" placeholder="è´¢å¡å¯é¢é¿" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="ä¸å¡å¯é¢é¿" prop="busvicepresident"> |
| | | <el-input v-model="form.busvicepresident" placeholder="ä¸å¡å¯é¢é¿" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="åå
¬å®¤ä¸»ä»»" prop="officedirector"> |
| | | <el-input v-model="form.officedirector" placeholder="请è¾å
¥åå
¬å®¤ä¸»ä»»" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-form-item label="è´¢å¡é¨è´è´£äºº" prop="financedirector"> |
| | | <el-input v-model="form.financedirector" placeholder="请è¾å
¥è´¢å¡é¨è´è´£äºº" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="7"> |
| | | <el-form-item label="è´¢å¡å®¡æ ¸" prop="financechecher"> |
| | | <el-input v-model="form.financechecher" placeholder="请è¾å
¥è´¢å¡å®¡æ ¸" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | --> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="è´¹ç¨ç³è¯·éä»¶" align="left" prop="annexbankcard" v-if="businessType == 0"> |
| | | <el-upload size="mini" class="upload-demo" :action="uploadFileUrl" :file-list="fileListto" |
| | | :show-file-list="false" multiple drag :headers="headers" :on-success="(response, file, fileList) => |
| | | uploadSccess(response, file, fileList) |
| | | " :on-preview="downFile" :disabled="operationType == 'detail'" :on-error="handleUploadError" |
| | | :on-remove="remove" accept="image/*,.pdf"> |
| | | <i class="el-icon-upload"></i> |
| | | <div class="el-upload__text"> |
| | | å°ç¥¨æ®æå°æ¤å¤ï¼æ |
| | | <em><el-button :disabled="operationType == 'detail'" size="small" type="primary">ç¹å»ä¸ä¼ </el-button></em> |
| | | </div> |
| | | </el-upload> |
| | | <el-table :data="fileListto" @row-click="downFile" style="width: 100%" height="400"> |
| | | <el-table-column prop="name" :show-overflow-tooltip="true" label="åç§°"> |
| | | <template slot-scope="scope"> |
| | | <i style="color:#409EFF" class=" el-icon-s-order" />{{ |
| | | scope.row.name |
| | | }} |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column prop="name" width="180" :show-overflow-tooltip="true" label="åè½"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="primary" size="mini" |
| | | @click.native.prevent.stop="deletedowfile(scope.row)">å é¤</el-button> |
| | | <el-button type="primary" size="mini" |
| | | @click.native.prevent.stop="moveupdowfile(scope.row)">ä¸ç§»</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row v-if="operationType == 'detail' || |
| | | operationType == 'check' || |
| | | operationType == 'update' |
| | | "> |
| | | <el-table :data="fundflowList" border> |
| | | <el-table-column label="å®¡æ ¸æ¥æ" align="center" width="160" prop="createTime" /> |
| | | <el-table-column label="å®¡æ ¸äºº" align="center" width="120" prop="checkusername" /> |
| | | <el-table-column label="å®¡æ ¸ç»æ" align="center" width="200" prop="flowconclusion"> |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.flowconclusion == 1">éè¿</span> |
| | | <span v-if="scope.row.flowconclusion == 2">ä¸éè¿</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="å®¡æ ¸å¤æ³¨" align="center" prop="flowcontent" /> |
| | | </el-table> |
| | | </el-row> |
| | | <el-row style="margin-top: 25px; margin-bottom: 5px" v-if="operationType == 'check'"> |
| | | <el-col :span="7"> |
| | | <el-form-item label="å®¡æ ¸ç»æ" align="left"> |
| | | <el-radio-group v-model="checkObj.flowlevelone" align="left"> |
| | | <el-radio label="1">éè¿</el-radio> |
| | | <el-radio label="2">ä¸éè¿</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row v-if="operationType == 'check'"> |
| | | <el-col :span="17"> |
| | | <el-form-item label="å®¡æ ¸å¤æ³¨" align="left"> |
| | | <el-input v-model="checkObj.flowconclusion" placeholder="夿³¨" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="submitForm" v-if="operationType == 'add' || |
| | | operationType == 'update' || |
| | | ismanager == true |
| | | ">æäº¤ä¿å</el-button> |
| | | <el-button type="primary" @click="checksubmit" v-if="operationType == 'check'">æäº¤å®¡æ ¸</el-button> |
| | | <el-button @click="cancel">å
³ é</el-button> |
| | | </div> |
| | | </div> |
| | | |
| | | <el-dialog :visible.sync="showSelectionDialog" :close-on-click-modal="false" :title="'åä½/个人信æ¯éæ©'" width="500px" |
| | | style="text-align: center" v-loading="loading"> |
| | | <el-form ref="funddetailForm" :model="funddetailForm"> |
| | | <el-row v-if="businessType != 4"> |
| | | <el-col :span="24" v-if="selectionType == 'expert' && businessType != 4"> |
| | | <el-form-item label="è¯·éæ©ä¸å®¶ä¿¡æ¯ï¼" prop="expertfrom"> |
| | | <el-radio-group v-model="expertfrom" style="margin-bottom: 0"> |
| | | <el-radio label="1">ä¸å®¶åº</el-radio> |
| | | <el-radio label="2">æ°å¢ä¸å®¶</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="24" v-if="selectionType == 'expert' && expertfrom == '1'"> |
| | | <el-form-item label="ä¸å®¶å§å" prop="beneficiaryname" label-width="80px"> |
| | | <el-select filterable allow-create ref="beneficiaryname" default-first-option |
| | | v-model="funddetailForm.beneficiaryname" placeholder="è¯·éæ©" style="width: 100%"> |
| | | <el-option v-for="item in expertlist" :key="item.expertNo" :label="item.exportName" |
| | | :value="item.exportName"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="24" v-if="selectionType == 'unit'"> |
| | | <el-form-item label="åä½åç§°" prop="unitno" label-width="120px" v-if="businessType == 1 || businessType == 2"> |
| | | <el-select v-model="funddetailForm.unitno" placeholder="åä½åç§°" clearable filterable allow-create |
| | | style="width: 100%"> |
| | | <el-option v-for="(spec, index) in unitList" :key="index" :label="spec.organizationname" |
| | | :value="spec.organizationid"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="å票åä½åç§°" prop="unitno" label-width="120px" v-if="businessType == 3"> |
| | | <el-select v-model="funddetailForm.unitno" placeholder="åä½åç§°" clearable filterable allow-create |
| | | style="width: 100%"> |
| | | <el-option v-for="(item, index) in feeUnitList" :key="index" :label="item.reportName" |
| | | :value="item.reportNo"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row v-if="businessType == 4"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="è¯·éæ©ä¸å®¶ä¿¡æ¯ï¼" prop="experthear"> |
| | | <el-radio-group @change="ShowDetailDialog(spocewl)" v-model="experthear" style="margin-bottom: 0"> |
| | | <el-radio label="unit">人åé项</el-radio> |
| | | <el-radio label="expert">åä½é项</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="24" v-if="experthear == 'unit'"> |
| | | <el-form-item label="人åå§å" prop="beneficiaryname" label-width="80px"> |
| | | <el-select filterable allow-create ref="beneficiaryname" default-first-option @change="bbaaccss" |
| | | v-model="funddetailForm.beneficiaryname" placeholder="è¯·éæ©" style="width: 100%"> |
| | | <el-option v-for="item in expertlist" :key="item.expertNo" :label="item.exportName" |
| | | :value="item.exportName"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="24" v-if="experthear == 'expert'"> |
| | | <el-form-item label="åä½åç§°" prop="unitno" label-width="120px"> |
| | | <el-select v-model="funddetailForm.unitname" placeholder="åä½åç§°" @change="bbaaccss" clearable filterable |
| | | allow-create style="width: 100%"> |
| | | <el-option v-for="(spec, index) in unitList" :key="index" :label="spec.organizationname" |
| | | :value="spec.organizationname"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row v-if="businessType != 4"> |
| | | <el-col :span="12" v-if="expertfrom == '2'"> |
| | | <el-form-item label="ä¸å®¶å§å" prop="expertname" label-width="80px"> |
| | | <el-input v-model="funddetailForm.expertname" placeholder="å¿
填项" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12" v-if="expertfrom == '2'"> |
| | | <el-form-item label="è ç§°" prop="experttitle" label-width="80px"> |
| | | <el-select v-model="funddetailForm.experttitle" placeholder="å¿
填项"> |
| | | <el-option v-for="dict in dict.type.sys_professionaltitle" :key="dict.value" :label="dict.label" |
| | | :value="dict.label"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row v-if="businessType != 4"> |
| | | <el-col :span="24" v-if="expertfrom == '2'"> |
| | | <el-form-item label="身份è¯å·" prop="expertidcardno" label-width="80px"> |
| | | <el-input v-model="funddetailForm.expertidcardno" placeholder="å¿
填项" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <!-- |
| | | <el-row> |
| | | <el-col :span="12" v-if="expertfrom == '2'"> |
| | | <el-form-item label="人åç±»å«" prop="usertype" label-width="80px"> |
| | | <el-select v-model="funddetailForm.usertype" placeholder="å¿
填项"> |
| | | <el-option v-for="dict in dict.type.sys_UserType" :key="dict.value" :label="dict.label" |
| | | :value="dict.value"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | --> |
| | | <el-row v-if="businessType != 4"> |
| | | <el-col :span="24" v-if="expertfrom == '2'"> |
| | | <el-form-item label="åä½åç§°" prop="expertunitno" label-width="80px"> |
| | | <el-select v-model="funddetailForm.expertunitno" placeholder="åä½åç§°" clearable filterable allow-create |
| | | style="width: 100%"> |
| | | <el-option v-for="(spec, index) in unitList" :key="index" :label="spec.organizationname" |
| | | :value="spec.organizationid"></el-option> |
| | | </el-select> </el-form-item></el-col> |
| | | </el-row> |
| | | <el-row v-if="businessType != 4"> |
| | | <el-col :span="24" v-if="expertfrom == '2'"> |
| | | <el-form-item label="弿·é¶è¡" prop="expertdepositbank" label-width="80px"> |
| | | <el-input v-model="funddetailForm.expertdepositbank" placeholder="å¿
填项" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="24" v-if="expertfrom == '2'"> |
| | | <el-form-item label="é¶è¡å¡å·" prop="expertbankcardno" label-width="80px"> |
| | | <el-input v-model="funddetailForm.expertbankcardno" placeholder="å¿
填项" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="showSelectionDialog = false">å æ¶</el-button> |
| | | <el-button type="primary" @click="ConfirmDetailDialog()">ç¡® å®</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog v-dialogDrags :modal="false" :close-on-click-modal="false" :title="pdftitle" :visible.sync="pdfVisible" |
| | | width="60%"> |
| | | <div class="pdfimg"> |
| | | <div class="box-pdf"> |
| | | <div> |
| | | <el-upload size="mini" class="upload-demo" :action="uploadFileUrl" :file-list="fileListto" |
| | | :show-file-list="false" multiple drag :headers="headers" :on-success="(response, file, fileList) => |
| | | uploadSccess(response, file, fileList) |
| | | " :on-preview="downFile" :disabled="operationType == 'detail'" :on-error="handleUploadError" |
| | | :on-remove="remove" accept="image/*,.pdf"> |
| | | <i class="el-icon-upload"></i> |
| | | <div class="el-upload__text"> |
| | | å°ç¥¨æ®æå°æ¤å¤ï¼æ |
| | | <em><el-button :disabled="operationType == 'detail'" size="small" type="primary">ç¹å»ä¸ä¼ </el-button></em> |
| | | </div> |
| | | <!-- <div class="el-upload__tip" slot="tip"> |
| | | åªè½ä¸ä¼ jpg/pngæä»¶ï¼ä¸ä¸è¶
è¿500kb |
| | | </div> --> |
| | | </el-upload> |
| | | <el-table :data="fileListto" @row-click="downFile" style="width: 100%" height="400"> |
| | | <el-table-column prop="name" :show-overflow-tooltip="true" label="åç§°"> |
| | | <template slot-scope="scope"> |
| | | <i style="color:#409EFF" class=" el-icon-s-order" />{{ |
| | | scope.row.name |
| | | }} |
| | | </template> |
| | | </el-table-column> |
| | | |
| | | <el-table-column prop="name" width="180" :show-overflow-tooltip="true" label="åè½"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="primary" size="mini" |
| | | @click.native.prevent.stop="deletedowfile(scope.row)">å é¤</el-button> |
| | | <el-button type="primary" size="mini" |
| | | @click.native.prevent.stop="moveupdowfile(scope.row)">ä¸ç§»</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | <!-- <div |
| | | class="pdftit" |
| | | @click="pdffn(item)" |
| | | v-for="item in fileList" |
| | | :key="item.name" |
| | | > |
| | | {{ item.name }} |
| | | </div> --> |
| | | </div> |
| | | |
| | | <div v-if="this.previewpdf" class="pdfimgmin"> |
| | | <!-- <img :src="pdfimg" /> --> |
| | | <el-image style="width: 95%; height: 90%" :src="pdfimg" :preview-src-list="pdfimgsrcList"> |
| | | </el-image> |
| | | </div> |
| | | <div v-else class="pdfimgmins">{{ hintitle }}</div> |
| | | </div> |
| | | </el-dialog> |
| | | <el-dialog title="æç¤º" :visible.sync="Savereminder" width="30%"> |
| | | <el-alert :title="'æ¨å·²æ·»å ' + |
| | | totalquantity + |
| | | 'æ¡æ°æ®ï¼ä¸ºé²æ¢æ°æ®ä¸¢å¤±æ¯å¦æäº¤ä¿ååç»§ç»æ·»å ã' |
| | | " type="warning"> |
| | | </el-alert> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="unsave">å æ¶</el-button> |
| | | <el-button type="primary" @click="Savenow">ç¡® å®</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | //è¿éå¯ä»¥å¯¼å
¥å
¶ä»æä»¶ï¼æ¯å¦ï¼ç»ä»¶ï¼å·¥å
·jsï¼ç¬¬ä¸æ¹æä»¶jsï¼jsonæä»¶ï¼å¾çæä»¶ççï¼ |
| | | //ä¾å¦ï¼import ãç»ä»¶åç§°ã from 'ãç»ä»¶è·¯å¾ã'; |
| | | import { |
| | | listDonatebaseinfo, |
| | | getDonatebaseinfo |
| | | } from "@/api/project/donatebaseinfo"; |
| | | import debounce from "lodash/debounce"; |
| | | import { |
| | | onelistFund, |
| | | listFund, |
| | | getFund, |
| | | delFund, |
| | | addFund, |
| | | updateFund, |
| | | exportFund, |
| | | getdownloadLW, |
| | | getdownloadSH, |
| | | getdownloadSS, |
| | | getdownloadYX, |
| | | checkfund, |
| | | getdownloadBX, |
| | | addorupdateFund, |
| | | getdetailsByItemId |
| | | } from "@/api/project/fund"; |
| | | |
| | | import { |
| | | onelistFunds, |
| | | listrbDetails, |
| | | listFunddetail, |
| | | getFunddetail, |
| | | delFunddetail, |
| | | addFunddetail, |
| | | getownFundDetail, |
| | | updateFunddetail, |
| | | exportFunddetail, |
| | | getItemNames, |
| | | getFundType, |
| | | getFundTypeAll, |
| | | listcountItem, |
| | | getDataBybeneficiaryNo, |
| | | getTaxByBeneFiciaryNo, |
| | | getTaxBeforeByBeneFiciaryNo, |
| | | getTaxationByBeneFiciaryNo, |
| | | getTaxBeforeByAfterMoney |
| | | } from "@/api/project/funddetail"; |
| | | |
| | | import { listFundflow } from "@/api/project/fundflow"; |
| | | |
| | | import { |
| | | listOrganization, |
| | | getOrganization, |
| | | listReportname, |
| | | listUser |
| | | } from "@/api/project/organization"; |
| | | |
| | | import { |
| | | listExternalperson, |
| | | getExternalperson, |
| | | getInfoBytheUserNo, |
| | | delExternalperson, |
| | | addExternalperson, |
| | | updateExternalperson, |
| | | exportExternalperson |
| | | } from "@/api/project/externalperson"; |
| | | |
| | | import { listItemexpense } from "@/api/project/itemexpense"; |
| | | |
| | | import { getUserProfile } from "@/api/system/user"; |
| | | import Li_area_select from "@/components/Address"; |
| | | import OrgSelecter from "@/views/project/components/orgselect"; |
| | | import { getToken } from "@/utils/auth"; |
| | | |
| | | export default { |
| | | //importå¼å
¥çç»ä»¶éè¦æ³¨å
¥å°å¯¹è±¡ä¸æè½ä½¿ç¨ |
| | | components: { |
| | | Li_area_select, |
| | | OrgSelecter |
| | | }, |
| | | name: "fundApply", |
| | | |
| | | dicts: [ |
| | | //"sys_consolationfundlevel", |
| | | //"sys_OrganizationType", |
| | | "sys_DonationStatus", |
| | | //"sys_depositbank", |
| | | //"sys_FamilyRelation", |
| | | //"sys_IDType", |
| | | //"sys_ConsolationType", |
| | | //"sys_fund_type", |
| | | //"sys_finsubject", |
| | | //"sys_financeitemtype", |
| | | //"sys_expensetype", |
| | | "sys_recordstatus", |
| | | "sys_professionaltitle" |
| | | ], |
| | | |
| | | data() { |
| | | //è¿éåæ¾æ°æ® |
| | | return { |
| | | // é®ç½©å± |
| | | loading: false, |
| | | // 导åºé®ç½©å± |
| | | exportLoading: false, |
| | | usernamedata: "", |
| | | jurisdiction: false, |
| | | |
| | | // 表ååæ° |
| | | form: {}, |
| | | experthear: "", |
| | | spocewl: "", |
| | | //è´¹ç¨ç³è¯·è¡¨åtitle |
| | | title: "", |
| | | //ç³è¯·åç±»å |
| | | businessType: "0", |
| | | businessName: "", |
| | | //æä½ç±»å |
| | | operationType: "", |
| | | |
| | | //å½ååæ®id |
| | | curId: 0, |
| | | //å½åéä¸æç®æ¡ä¾ |
| | | curCase: {}, |
| | | |
| | | total: 0, |
| | | |
| | | // å½åç¨æ·ä¿¡æ¯ |
| | | userprofile: {}, |
| | | //ç³»ç»ç¨æ·å表 |
| | | userlist: [], |
| | | //ææäººå表 |
| | | personlist: [], |
| | | //ä¸å®¶å表 |
| | | expertlist: [], |
| | | //å»çæºæå表 |
| | | unitList: [], |
| | | //è´¹ç¨æ¥éæºæå表 |
| | | feeUnitList: [], |
| | | // ç½ç»è¯·æ±å¤´ |
| | | Networkheader: null, |
| | | |
| | | itemlist: [], |
| | | |
| | | //æ¯å¦æ¯ä¸å®¶è´¹çOPO审æ¹äººå |
| | | ismanager: false, |
| | | //ä¸å®¶è´¹éæ©ï¼1æ¯ä¸å®¶åºï¼2æ¯æ°å¢ |
| | | expertfrom: "1", |
| | | |
| | | //æç®æ¡ä¾å表 |
| | | donateList: [], |
| | | |
| | | //è´¹ç¨æç»å表 |
| | | rbDetails: [], |
| | | formData: {}, |
| | | amount: 0.0, |
| | | totalPreTaxAmount: 0.0, |
| | | totalAfterTaxAmount: 0.0, |
| | | totalAmount: 0.0, |
| | | |
| | | //è´¹ç¨ç±»åæ°ç» |
| | | feeItemTypes: [], |
| | | |
| | | //è¡è®°å½çè´¹ç¨ç±»åæ°ç» |
| | | rowfeeItemTypes: [], |
| | | |
| | | //è´¹ç¨è¯´æ |
| | | feeBlocks: [], |
| | | |
| | | fundflowList: [], |
| | | // éæºæ° |
| | | randomnumber: "", |
| | | |
| | | //ä¸å®¶/åä½éæ©ï¼expert/unit |
| | | selectionType: "", |
| | | showSelectionDialog: false, |
| | | //ç¨åé颿 é¢ï¼ä¸å®¶è´¹-ç¨åéé¢ï¼å»å¦ææ¬ãåå
¬è´¹ç¨-éé¢ |
| | | amountLabel: "ç¨åéé¢", |
| | | |
| | | // è¡¨åæ ¡éª |
| | | rules: { |
| | | createTime: [ |
| | | { required: true, message: "请è¾å
¥å¡«æ¥æ¥æ", trigger: "blur" } |
| | | ], |
| | | reason: [ |
| | | { required: true, message: "请è¾å
¥åºå·®äºç±", trigger: "blur" } |
| | | ], |
| | | deptmentname: [ |
| | | { required: true, message: "请è¾å
¥æå±ä¸å¡ç»", trigger: "blur" } |
| | | ] |
| | | }, |
| | | |
| | | funddetailForm: { |
| | | index: null, |
| | | beneficiaryname: null, |
| | | beneficiaryno: null, |
| | | unitno: null, |
| | | unitname: null, |
| | | expertname: null, |
| | | expertidcardno: null, |
| | | expertunitno: null, |
| | | expertunitname: null, |
| | | experttitle: null, |
| | | expertdepositbank: null, |
| | | expertbankcardno: null |
| | | }, |
| | | |
| | | expertform: { |
| | | id: null, |
| | | address: null, |
| | | bankcardno: null, |
| | | branchbankname: null, |
| | | createBy: null, |
| | | createTime: null, |
| | | del_flag: null, |
| | | depositbank: null, |
| | | idcardno: null, |
| | | personnelunitno: null, |
| | | pym: null, |
| | | remark: null, |
| | | searchValue: null, |
| | | sex: null, |
| | | telephone: null, |
| | | title: null, |
| | | unitname: null, |
| | | unitno: null, |
| | | updateBy: null, |
| | | updateTime: null, |
| | | username: null, |
| | | userno: null, |
| | | userstatus: 1, |
| | | usertype: null, |
| | | wbm: null |
| | | }, |
| | | //审æ¹åæ° |
| | | checkObj: { |
| | | flowlevelone: null, |
| | | flowconclusion: null, |
| | | fundid: null |
| | | }, |
| | | |
| | | // æ¥è¯¢åæ° |
| | | queryParams: { |
| | | organizationname: null, |
| | | organizationtype: null, |
| | | pageNum: 1, |
| | | pageSize: 10, |
| | | name: null, |
| | | idcardno: null, |
| | | residenceprovince: null, |
| | | residencecity: null, |
| | | residencetown: null, |
| | | recordstate: null, |
| | | treatmenthospitalname: null, |
| | | donorno: null, |
| | | reportername: null, |
| | | reporttime: null |
| | | }, |
| | | |
| | | fundQueryParam: { |
| | | pageNum: 1, |
| | | pageSize: 100, |
| | | infoid: null, |
| | | applytype: "0", |
| | | createBy: null |
| | | }, |
| | | |
| | | expertQueryParam: { |
| | | pageNum: 1, |
| | | pageSize: 10000, |
| | | userno: null, |
| | | username: null, |
| | | usertype: null |
| | | }, |
| | | |
| | | //计ç®ä¸ªç¨åæ° |
| | | taxParam: { |
| | | beneficiaryNo: "", |
| | | money: "0", |
| | | startTime: "" |
| | | }, |
| | | |
| | | //æå¡è´¹ç¨åæ° |
| | | expenseQueryParams: { |
| | | pageNum: 1, |
| | | pageSize: 10000, |
| | | itemid: null, |
| | | expense: null, |
| | | expensedescribe: null, |
| | | usestate: null, |
| | | }, |
| | | |
| | | //éä»¶å表 |
| | | fileList: [], |
| | | fileListto: [], |
| | | //ä¸ä¼ éä»¶è·¯å¾ |
| | | uploadFileUrl: process.env.VUE_APP_BASE_API + "/common/upload", |
| | | //æä»¶ä¸ä¼ token |
| | | headers: { |
| | | Authorization: "Bearer " + getToken() |
| | | }, |
| | | //ç¥¨æ®æä»¶ |
| | | pdftitle: "", |
| | | pdfimg: "", |
| | | pdfimgsrcList: [], |
| | | pdfVisible: false, |
| | | previewpdf: false, |
| | | hintitle: "éä¸å·¦ä¾§å·²ä¸ä¼ æä»¶é¢è§æ¥ç", |
| | | atpresent: "", |
| | | Savereminder: false, //æéä¿åå¼¹æ¡ |
| | | Reminderquantity: 0, //æéæ°é |
| | | totalquantity: 0, //æ»æ°é |
| | | Modifyornot: 0 //æ¯å¦ä¿®æ¹ |
| | | }; |
| | | }, |
| | | |
| | | //çå¬å±æ§ 类似äºdataæ¦å¿µ |
| | | computed: {}, |
| | | //çæ§dataä¸çæ°æ®åå |
| | | watch: {}, |
| | | //æ¹æ³éå |
| | | methods: { |
| | | bbaaccss(val) { |
| | | console.log(val); |
| | | console.log(this.funddetailForm); |
| | | }, |
| | | // æµè§å¨é¡µé¢å
³éæå·æ°æç¤º |
| | | beforeunloadHandler(e) { |
| | | if ( |
| | | (JSON.stringify(this.form) == sessionStorage.getItem("apiform") && |
| | | JSON.stringify(this.rbDetails) == |
| | | sessionStorage.getItem("apifunddetail")) || |
| | | !sessionStorage.getItem("apifunddetail") |
| | | ) { |
| | | console.log(cg); |
| | | } else { |
| | | this._beforeUnload_time = new Date().getTime(); |
| | | e = e || window.event; |
| | | if (e) { |
| | | e.returnValue = "å
³éæç¤º"; |
| | | } |
| | | return "å
³éæç¤º"; |
| | | } |
| | | }, |
| | | |
| | | // 表åéç½® |
| | | reset() { |
| | | this.form = { |
| | | id: null, |
| | | applytype: "0", |
| | | recordstate: -1, |
| | | userno: null, |
| | | username: null, |
| | | deptmentname: null, |
| | | deptmentno: null, |
| | | managername: null, |
| | | infoid: null, |
| | | donorno: null, |
| | | delFlag: null, |
| | | createBy: null, |
| | | createTime: null, |
| | | updateBy: null, |
| | | updateTime: null, |
| | | familyrelations: null, |
| | | name: null, |
| | | remark: null, |
| | | doname: null, |
| | | unitname: null, |
| | | unitno: null, |
| | | sex: null, |
| | | idcardtype: null, |
| | | idcardno: null, |
| | | phone: null, |
| | | donorname: null, |
| | | depositbank: null, |
| | | bankprovince: null, |
| | | bankprovincename: null, |
| | | bankcity: null, |
| | | bankcityname: null, |
| | | banktown: null, |
| | | banktownname: null, |
| | | branchbankname: null, |
| | | bankcardno: null, |
| | | annexbankcard: null, |
| | | annexregistform: null, |
| | | consolationmoney: null, |
| | | servicetypename: null, |
| | | servicesscope: null, |
| | | servicesscopename: null |
| | | }; |
| | | this.resetForm("form"); |
| | | //æ¸
空éä»¶ |
| | | this.fileList = []; |
| | | }, |
| | | // è·å请æ±å¤´ |
| | | Getnetworkheader() { |
| | | let string = window.location.href; |
| | | if (string.includes("9091")) { |
| | | const index = string.indexOf("9091"); |
| | | this.Networkheader = string.slice(0, index + 4); // æªå9091åå
¶åé¨å符 |
| | | // console.log(this.Networkheader); |
| | | } else { |
| | | const index = string.indexOf("8032"); |
| | | this.Networkheader = string.slice(0, index + 4); // æªå8032åå
¶åé¨å符 |
| | | } |
| | | }, |
| | | /** éè¿åæ°è·åä¸å¡ç±»å */ |
| | | getroute() { |
| | | //éæ©ä¸å¡ç±»å:1ãæ°å¢ï¼2ãä¿®æ¹ï¼3ãæ¥ç |
| | | this.curId = this.$route.query.id; |
| | | this.businessType = this.$route.query.businessType; |
| | | this.operationType = this.$route.query.operationType; |
| | | |
| | | //è·åè´¹ç¨é¡¹ç®ç±»å |
| | | this.getFeeTypes(); |
| | | |
| | | // if (!this.businessType && !this.operationType) { |
| | | if (this.businessType == "1") { |
| | | this.businessName = "ä¸å®¶å³å¡è´¹ç³è¯·å"; |
| | | this.amountLabel = "ç¨åéé¢"; |
| | | this.getUnitList(); |
| | | } else if (this.businessType == "2") { |
| | | this.businessName = "伦çä¸å®¶å³å¡è´¹ç³è¯·å"; |
| | | this.amountLabel = "ç¨åéé¢"; |
| | | this.getUnitList(); |
| | | } else if (this.businessType == "3") { |
| | | this.businessName = "å»å¦ææ¬æ¥éå"; |
| | | this.amountLabel = "éé¢"; |
| | | } else if (this.businessType == "4") { |
| | | this.businessName = "åå
¬è´¹ç¨æ¥éå"; |
| | | this.amountLabel = "éé¢"; |
| | | this.getUnitList(); |
| | | |
| | | // this.getBaseInfoList(); |
| | | } |
| | | |
| | | if (this.operationType == "add") { |
| | | this.title = this.businessName + "æ°å»º"; |
| | | if (this.operationType != "4") { |
| | | this.curCase = this.$route.query.curCase; |
| | | console.log("this.curCase", this.curCase); |
| | | } |
| | | this.handleAdd(); |
| | | } else if (this.operationType == "update") { |
| | | this.title = this.businessName + "ä¿®æ¹"; |
| | | this.handleUpdate(); |
| | | } else if (this.operationType == "detail") { |
| | | this.title = this.businessName + "æ¥ç"; |
| | | this.jurisdiction = true; |
| | | this.handleDetail(); |
| | | } else if (this.operationType == "check") { |
| | | this.title = this.businessName + "å®¡æ ¸"; |
| | | this.handleCheck(); |
| | | } |
| | | // } else { |
| | | // this.$modal.msgWarning("弿å»å¦è´¹ç¨ç³è¯·ååç°åæ°ä¸å¡ç±»åææä½ç±»åé误ï¼è¯·è系系ç»ç®¡çåï¼"); |
| | | // return; |
| | | // } |
| | | }, |
| | | |
| | | /** æ°å¢æé®æä½ */ |
| | | handleAdd() { |
| | | //åå§å |
| | | this.istrue += 2; |
| | | this.reset(); |
| | | |
| | | /** businessTypeï¼1ï¼ä¸å®¶è´¹ï¼2ï¼ä¼¦çä¸å®¶è´¹ï¼3ï¼å»å¦ææ¬ï¼4ï¼åå
¬è´¹ç¨*/ |
| | | this.form.applytype = this.businessType; |
| | | if ( |
| | | this.businessType == "1" || |
| | | this.businessType == "2" || |
| | | this.businessType == "3" |
| | | ) { |
| | | this.form.infoid = this.curCase.id; |
| | | this.form.donorname = this.curCase.name; |
| | | this.form.donorno = this.curCase.donorno; |
| | | } |
| | | |
| | | //åå§åæç» |
| | | this.rbDetails = []; |
| | | this.addRow(0); |
| | | }, |
| | | |
| | | /** ä¿®æ¹æé®æä½ */ |
| | | handleUpdate() { |
| | | this.isopen = 0; |
| | | this.reset(); |
| | | |
| | | getFund(this.curId).then(response => { |
| | | this.form = response.data; |
| | | sessionStorage.removeItem("apiform"); |
| | | |
| | | sessionStorage.setItem("apiform", JSON.stringify(this.form)); |
| | | |
| | | // this.form.recordstate =-1; |
| | | // this.form.recordstatus = response.data.recordstatus + ""; |
| | | //éä»¶å¤ç |
| | | // this.fileList = this.form.annexbankcard ? this.form.annexbankcard.split(",").map(item => ({ url: item, name: item })) : [] |
| | | |
| | | //æç»å¤ç |
| | | getownFundDetail(this.curId).then(res => { |
| | | this.rbDetails = res.data; |
| | | |
| | | if (this.rbDetails.length > 0) { |
| | | for (let m = 0; m < this.rbDetails.length; m++) { |
| | | this.rbDetails[m].itemlist = []; |
| | | this.getRowFeeItems(m, this.rbDetails[m]); |
| | | |
| | | //è·åè´¹ç¨é¡¹ç®ç详ç»ä¿¡æ¯ |
| | | this.rbDetails[m].rowfeeblocks = this.feeBlocks.filter(r => r.itemid == this.rbDetails[m].itemid); |
| | | } |
| | | |
| | | sessionStorage.removeItem("apifunddetail"); |
| | | sessionStorage.setItem( |
| | | "apifunddetail", |
| | | JSON.stringify(this.rbDetails) |
| | | ); |
| | | } else { |
| | | this.addRow(0); |
| | | } |
| | | }); |
| | | let listFundflowparams = { |
| | | fundid: this.curId, |
| | | fundtype: 2 |
| | | }; |
| | | listFundflow(listFundflowparams).then(res => { |
| | | this.fundflowList = res.rows; |
| | | }); |
| | | console.log(this.fundflowList); |
| | | }); |
| | | }, |
| | | |
| | | /** æ¥çæé®æä½ */ |
| | | handleDetail() { |
| | | this.isopen = 0; |
| | | this.reset(); |
| | | |
| | | getFund(this.curId).then(response => { |
| | | this.form = response.data; |
| | | sessionStorage.removeItem("apiform"); |
| | | |
| | | sessionStorage.setItem("apiform", JSON.stringify(this.form)); |
| | | |
| | | console.log("response.data", response.data); |
| | | //éä»¶å¤ç |
| | | // this.fileList = this.form.annexbankcard ? this.form.annexbankcard.split(",").map(item => ({ url: item, name: item })) : [] |
| | | |
| | | //ä¸å¡æç» |
| | | getownFundDetail(this.curId).then(res => { |
| | | this.rbDetails = res.data; |
| | | for (let m = 0; m < this.rbDetails.length; m++) { |
| | | this.rbDetails[m].itemlist = []; |
| | | this.getRowFeeItems(m, this.rbDetails[m]); |
| | | |
| | | //è·åè´¹ç¨é¡¹ç®ç详ç»ä¿¡æ¯ |
| | | this.rbDetails[m].rowfeeblocks = this.feeBlocks.filter(r => r.itemid == this.rbDetails[m].itemid); |
| | | } |
| | | |
| | | if (this.rbDetails.length == 0) { |
| | | this.addRow(0); |
| | | } |
| | | }); |
| | | |
| | | //ä¸å¡æµç¨ |
| | | let listFundflowparams = { |
| | | fundid: this.curId, |
| | | fundtype: 2 |
| | | }; |
| | | listFundflow(listFundflowparams).then(res => { |
| | | this.fundflowList = res.rows; |
| | | }); |
| | | }); |
| | | }, |
| | | |
| | | /** æ¥çæé®æä½ */ |
| | | handleCheck() { |
| | | this.isopen = 0; |
| | | this.reset(); |
| | | |
| | | getFund(this.curId).then(response => { |
| | | this.form = response.data; |
| | | sessionStorage.removeItem("apiform"); |
| | | |
| | | sessionStorage.setItem("apiform", JSON.stringify(this.form)); |
| | | |
| | | //éä»¶å¤ç |
| | | // this.fileList = this.form.annexbankcard ? this.form.annexbankcard.split(",").map(item => ({ url: item, name: item })) : [] |
| | | |
| | | //ä¸å¡æç» |
| | | getownFundDetail(this.curId).then(res => { |
| | | this.rbDetails = res.data; |
| | | for (let m = 0; m < this.rbDetails.length; m++) { |
| | | this.rbDetails[m].itemlist = []; |
| | | this.getRowFeeItems(m, this.rbDetails[m]); |
| | | |
| | | //è·åè´¹ç¨é¡¹ç®ç详ç»ä¿¡æ¯ |
| | | this.rbDetails[m].rowfeeblocks = this.feeBlocks.filter(r => r.itemid == this.rbDetails[m].itemid); |
| | | } |
| | | |
| | | if (this.rbDetails.length == 0) { |
| | | this.addRow(0); |
| | | } |
| | | }); |
| | | |
| | | //ä¸å¡æµç¨ |
| | | let listFundflowparams = { |
| | | fundid: this.curId, |
| | | fundtype: 2 |
| | | }; |
| | | listFundflow(listFundflowparams).then(res => { |
| | | this.fundflowList = res.rows; |
| | | }); |
| | | }); |
| | | }, |
| | | |
| | | /** å é¤æé®æä½ */ |
| | | handleDelete() { |
| | | this.$modal |
| | | .confirm("æ¯å¦ç¡®è®¤å é¤è¯¥è®°å½ï¼") |
| | | .then(function () { |
| | | return delFund(this.curId); |
| | | }) |
| | | .then(() => { |
| | | getownFundDetail(this.curId).then(res => { |
| | | console.log(res); |
| | | |
| | | let listdetails = res.data; |
| | | for (let i = 0; i < listdetails.length; i++) { |
| | | delFunddetail(listdetails[i].id); |
| | | } |
| | | }); |
| | | this.getfundList(); |
| | | this.$modal.msgSuccess("å 餿å"); |
| | | }) |
| | | .catch(() => { }); |
| | | }, |
| | | |
| | | /** 䏿¥æé®æä½ */ |
| | | handleUp() { |
| | | this.$confirm("æ¯å¦ç¡®è®¤å°ç»è®°è®°å½ä¸æ¥ï¼", "æç¤º", { |
| | | confirmButtonText: "ç¡®å®", |
| | | cancelButtonText: "åæ¶", |
| | | type: "warning" |
| | | }) |
| | | .then(() => { |
| | | //æ¥æ¾æ¯å¦åå¨ç»è®°å®æè®°å½ |
| | | //夿æ¯å¦åå¨ä¸æ¥è®°å½ |
| | | this.form.recordstatus = 0; |
| | | |
| | | updateFund(this.form).then(response => { |
| | | if (response.code == 200) { |
| | | this.$message({ |
| | | type: "success", |
| | | message: "ç³è¯·æå" |
| | | }); |
| | | } else { |
| | | this.$message({ |
| | | type: "error", |
| | | message: "ç³è¯·å¤±è´¥" |
| | | }); |
| | | } |
| | | this.loading = false; |
| | | }); |
| | | }) |
| | | .catch(() => { |
| | | this.$message({ |
| | | type: "info", |
| | | message: "已忶ç³è¯·" |
| | | }); |
| | | }); |
| | | }, |
| | | generateRandomString(length) { |
| | | const characters = |
| | | "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; |
| | | let randomString = ""; |
| | | for (let i = 0; i < length; i++) { |
| | | randomString += characters.charAt( |
| | | Math.floor(Math.random() * characters.length) |
| | | ); |
| | | } |
| | | return randomString; |
| | | }, |
| | | /** æäº¤æé® */ |
| | | submitForm: debounce(function () { |
| | | if (!this.randomnumber) { |
| | | this.randomnumber = this.generateRandomString(9); |
| | | this.form.randomnumber = this.randomnumber; |
| | | } |
| | | console.log(this.randomnumber); |
| | | this.$refs["form"].validate(valid => { |
| | | if (valid) { |
| | | this.formData = this.form; |
| | | // let totalPreTaxAmount = 0.0; |
| | | // let totalAfterTaxAmount = 0.0; |
| | | // let totalAmount = 0.0; |
| | | |
| | | //ä¿ååæ ¡éªæ°æ® |
| | | for (let k = 0; k < this.rbDetails.length; k++) { |
| | | let tempDetail = this.rbDetails[k]; |
| | | if (tempDetail.itemid == null) { |
| | | this.$modal.msgWarning( |
| | | "æå¡é¡¹ç®è¡¨ä¸ï¼ç¬¬" + |
| | | (k + 1).toString() + |
| | | "è¡çæå¡é¡¹ç®æªéæ©ï¼è¯·å
éæ©æå¡é¡¹ç®ååæäº¤ä¿åï¼" |
| | | ); |
| | | return; |
| | | } |
| | | |
| | | if (this.businessType == "1") { |
| | | if (tempDetail.servicesscope == null) { |
| | | this.$modal.msgWarning( |
| | | "æå¡é¡¹ç®è¡¨ä¸ï¼ç¬¬" + |
| | | (k + 1).toString() + |
| | | "è¡çè´¹ç¨è¯´ææªéæ©,è¯·éæ©è´¹ç¨è¯´æååæäº¤ä¿åï¼" |
| | | ); |
| | | return; |
| | | } |
| | | |
| | | if ( |
| | | tempDetail.beneficiaryno == null || |
| | | tempDetail.beneficiaryno == "ç¹å»éæ©" |
| | | ) { |
| | | this.$modal.msgWarning( |
| | | "æå¡é¡¹ç®è¡¨ä¸ï¼ç¬¬" + |
| | | (k + 1).toString() + |
| | | "è¡çæå¡äººåå§åä¸ºéæ©,è¯·éæ©äººåååæäº¤ä¿åï¼" |
| | | ); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | // //夿åä½ unitSel |
| | | // try { |
| | | // let unitIndex = this.unitList.findIndex( |
| | | // (item) => tempDetail.unitno == item.organizationid |
| | | // ); |
| | | // if (unitIndex > -1) { |
| | | // tempDetail.unitname = this.unitList[unitIndex].organizationname; |
| | | // } else { |
| | | // tempDetail.unitname = tempDetail.unitno; |
| | | // } |
| | | // } catch { |
| | | // tempDetail.unitname = tempDetail.unitno; |
| | | // } |
| | | } |
| | | |
| | | //éä»¶å¤ç |
| | | let list = this.fileList; |
| | | // if (list.length > 0) { |
| | | // this.form.annexfiles = list.map(item => item.url).join(","); |
| | | // } |
| | | |
| | | //å¤çæç» |
| | | for (let i = 0; i < this.rbDetails.length; i++) { |
| | | let tempDetail = this.rbDetails[i]; |
| | | //è·åæå¡é¡¹ç®æç» |
| | | let tempitemlist = tempDetail.itemlist; |
| | | let itemIndex = tempitemlist.findIndex( |
| | | item => tempDetail.itemid == item.id |
| | | ); |
| | | if (itemIndex > -1) { |
| | | tempDetail.itemname = tempitemlist[itemIndex].itemName; |
| | | tempDetail.itemid = tempitemlist[itemIndex].id; |
| | | } |
| | | |
| | | //è·åapplytypenameãæå¡è´¹ç¨å¤§ç±» |
| | | let applytypeIndex = this.rowfeeItemTypes.findIndex( |
| | | item => tempDetail.applytype == item.value |
| | | ); |
| | | if (applytypeIndex > -1) { |
| | | tempDetail.applytypename = this.rowfeeItemTypes[ |
| | | applytypeIndex |
| | | ].label; |
| | | tempDetail.subjecttype = this.rowfeeItemTypes[ |
| | | applytypeIndex |
| | | ].subjecttype; |
| | | tempDetail.subjecttypename = this.rowfeeItemTypes[ |
| | | applytypeIndex |
| | | ].subjecttypename; |
| | | } |
| | | this.rbDetails[i] = tempDetail; |
| | | /* |
| | | //计ç®ä¸ªç¨ |
| | | //if (isNaN(parseFloat(tempDetail.taxedamount))) |
| | | //è·ååæ° |
| | | this.taxParam.beneficiaryNo = tempDetail.beneficiaryno; |
| | | this.taxParam.startTime = this.form.createTime.substring(0, 10); |
| | | // 计ç®ç¨åéé¢ |
| | | if (tempDetail.taxedamount == undefined || tempDetail.taxedamount == null || tempDetail.taxedamount == 0 || tempDetail.taxedamount == '') { |
| | | //è·ååæ° |
| | | this.taxParam.money = tempDetail.amount.toString(); |
| | | getTaxByBeneFiciaryNo(this.taxParam).then((res) => { |
| | | if (res.code == 200) { |
| | | tempDetail.taxamount = res.data; |
| | | tempDetail.taxedamount = tempDetail.amount - tempDetail.taxamount; |
| | | this.rbDetails[k] = tempDetail; |
| | | |
| | | this.totalAfterTaxAmount += parseFloat(tempDetail.taxedamount); |
| | | this.totalAmount += parseFloat(tempDetail.amount); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | // 计ç®ç¨åãç¨è´¹ãç¨åéé¢ |
| | | if (tempDetail.amount == undefined || tempDetail.amount == null || tempDetail.amount == 0 || tempDetail.amount == '') { |
| | | //è·ååæ° |
| | | this.taxParam.money = tempDetail.taxedamount.toString(); |
| | | getTaxBeforeByAfterMoney(this.taxParam).then((res) => { |
| | | if (res.code == 200) { |
| | | tempDetail.taxamount = res.data.nowTax; |
| | | tempDetail.amount = parseFloat(res.data.nowTaxBeforeMoney); |
| | | this.rbDetails[k] = tempDetail; |
| | | |
| | | this.totalAfterTaxAmount += parseFloat(tempDetail.taxedamount); |
| | | this.totalAmount += parseFloat(tempDetail.amount); |
| | | } |
| | | }); |
| | | } |
| | | */ |
| | | } |
| | | //计ç®å½åè¡æ¥éå
容费ç¨å计ï¼ç¨åéé¢ï¼amountï¼ãæ£ç¨éé¢ï¼taxamountï¼ãç¨åéé¢ï¼taxedamountï¼ |
| | | if (this.businessType == "2") { |
| | | for (let j = 0; j < this.rbDetails.length; j++) { |
| | | let tempDetail = this.rbDetails[j]; |
| | | if ( |
| | | isNaN(parseFloat(tempDetail.amount)) || |
| | | parseFloat(tempDetail.amount) == 0 |
| | | ) { |
| | | this.$modal.msgWarning( |
| | | "æå¡é¡¹ç®è¡¨ä¸ï¼ç¬¬" + |
| | | (j + 1).toString() + |
| | | "è¡çé颿ªè¾å
¥ï¼è¯·å
è¾å
¥éé¢ååæäº¤ä¿åï¼" |
| | | ); |
| | | return; |
| | | } |
| | | } |
| | | } else if (this.businessType == "3" || this.businessType == "4") { |
| | | for (let j = 0; j < this.rbDetails.length; j++) { |
| | | let tempDetail = this.rbDetails[j]; |
| | | if ( |
| | | isNaN(parseFloat(tempDetail.amount)) || |
| | | parseFloat(tempDetail.amount) == 0 |
| | | ) { |
| | | this.$modal.msgWarning( |
| | | "æå¡é¡¹ç®è¡¨ä¸ï¼ç¬¬" + |
| | | (j + 1).toString() + |
| | | "è¡çé颿ªè¾å
¥ï¼è¯·å
è¾å
¥éé¢ååæäº¤ä¿åï¼" |
| | | ); |
| | | return; |
| | | } |
| | | if ( |
| | | isNaN(parseFloat(tempDetail.taxamount)) || |
| | | parseFloat(tempDetail.taxamount) == 0 |
| | | ) { |
| | | tempDetail.taxedamount = parseFloat(tempDetail.amount); |
| | | } else { |
| | | tempDetail.taxedamount = |
| | | parseFloat(tempDetail.amount) + |
| | | parseFloat(tempDetail.taxamount); |
| | | } |
| | | } |
| | | } |
| | | |
| | | //è´¹ç¨å计 |
| | | // this.form.pretaxcost = parseFloat(this.totalPreTaxAmount).toFixed(2); |
| | | // this.form.taxedcost = parseFloat(this.totalAfterTaxAmount).toFixed(2); |
| | | // this.form.amountrequested = this.totalAmount.toFixed(2); |
| | | |
| | | //ä¿åæ°æ® |
| | | this.loading = true; |
| | | this.form.serviceFunddetails = 0; |
| | | this.rbDetails.map(item => { |
| | | this.form.serviceFunddetails += item.amount; |
| | | }); |
| | | console.log(this.rbDetails); |
| | | this.form.serviceFunddetails = this.rbDetails; |
| | | |
| | | if (this.form.id != null) { |
| | | // updateFund(this.form).then((response) => { |
| | | // if (response.code === 200) { |
| | | // this.loading = false; |
| | | // for (let m = 0; m < this.rbDetails.length; m++) { |
| | | // if (this.rbDetails[m].id > 0) { |
| | | // updateFunddetail(this.rbDetails[m]).then((response2) => { if (response.code != 200) { this.$modal.msgError("ä¸å®¶å³å¡è´¹ä¿å失败1ï¼" + response.msg); } }); |
| | | // } else { |
| | | // addFunddetail(this.rbDetails[m]).then((response2) => { if (response.code != 200) { this.$modal.msgError("ä¸å®¶å³å¡è´¹ä¿å失败2ï¼" + response.msg); } }); |
| | | // } |
| | | // } |
| | | // this.$modal.msgSuccess("ä¸å®¶å³å¡è´¹ä¿åæåï¼"); |
| | | // } else { |
| | | // this.$modal.msgError("ä¸å®¶å³å¡è´¹ä¿å失败ï¼" + response.msg); |
| | | // } |
| | | // }); |
| | | } else { |
| | | this.form.recordstatus = -1; |
| | | |
| | | // addorupdateFund(this.form).then((response) => { |
| | | // if (response.code === 200) { |
| | | // this.selectDonotor(this.curCase); |
| | | // } else { |
| | | // this.$modal.msgError("ä¸å®¶å³å¡è´¹ä¿å失败ï¼" + response.msg); |
| | | // } |
| | | // }); |
| | | } |
| | | |
| | | addorupdateFund(this.form).then(response => { |
| | | if (response.code === 200) { |
| | | this.$modal.msgSuccess("ç³è¯·åä¿åæåï¼"); |
| | | } else { |
| | | this.$modal.msgError("ç³è¯·åä¿å失败ï¼" + response.msg); |
| | | } |
| | | }); |
| | | sessionStorage.setItem( |
| | | "apifunddetail", |
| | | JSON.stringify(this.rbDetails) |
| | | ); |
| | | sessionStorage.setItem("apiform", JSON.stringify(this.form)); |
| | | |
| | | //å
³éçªå£ |
| | | this.loading = false; |
| | | // this.getfundList(); |
| | | this.$store.dispatch("tagsView/delView", this.$route); |
| | | this.$router.go(-1); |
| | | } |
| | | }); |
| | | }, 500), |
| | | |
| | | //å®¡æ¹æäº¤ |
| | | checksubmit() { |
| | | let checkFundObj = { |
| | | // fundid: this.checkObj.fundid, |
| | | fundid: this.curId, |
| | | flowconclusion: this.checkObj.flowlevelone, |
| | | flowcontent: this.checkObj.flowconclusion |
| | | }; |
| | | checkfund(checkFundObj).then(res => { |
| | | //å
³éçªå£ |
| | | this.reset(); |
| | | this.$modal.msgSuccess("å®¡æ ¸å®æ!"); |
| | | this.$store.dispatch("tagsView/delView", this.$route); |
| | | this.$router.go(-1); |
| | | }); |
| | | }, |
| | | |
| | | // åæ¶æé® |
| | | cancel() { |
| | | // this.reset(); |
| | | this.$store.dispatch("tagsView/delView", this.$route); |
| | | this.$router.go(-1); |
| | | }, |
| | | |
| | | //è·åå½åç¨æ·ä¿¡æ¯ |
| | | getUserProfile() { |
| | | getUserProfile().then(res => { |
| | | this.userprofile = res.data; |
| | | this.standardlevel = res.data.standardlevel; |
| | | if ( |
| | | this.userprofile.userName == "admin" || |
| | | this.userprofile.userName == "001" || |
| | | this.userprofile.userName == "047" |
| | | ) { |
| | | this.ismanager = true; |
| | | } else { |
| | | this.ismanager = false; |
| | | } |
| | | console.log(this.userprofile, this.ismanager); |
| | | if (this.operationType == "add") { |
| | | this.form.username = this.userprofile.nickName; |
| | | this.form.userno = this.userprofile.userName; |
| | | this.form.deptmentname = this.userprofile.dept.deptName; |
| | | this.form.deptmentno = this.userprofile.dept.deptId; |
| | | this.form.managername = this.userprofile.dept.leader; |
| | | this.form.phone = this.userprofile.phonenumber; |
| | | // this.form.applytype = this.businessType; |
| | | // this.form.createTime = new Date(); |
| | | |
| | | if (this.businessType == "4") { |
| | | this.getUserAccount(); |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | //è·åç³»ç»ç¨æ·å表 |
| | | getUserList() { |
| | | listUser().then(res => { |
| | | this.userlist = res.data; |
| | | }); |
| | | }, |
| | | |
| | | //è·åææä¸å®¶/å»çæºæ/è´¹ç¨æ¥éæºæå表 |
| | | getExternalList() { |
| | | listExternalperson().then(res => { |
| | | this.personlist = res.rows; |
| | | for (let j = 0; j < this.personlist.length; j++) { |
| | | //è·åè´¹ç¨æ¥éæºæå表 |
| | | if (this.personlist[j].usertype == "org") { |
| | | this.feeUnitList.push({ |
| | | id: this.personlist[j].id, |
| | | reportNo: this.personlist[j].userno, |
| | | reportName: this.personlist[j].username, |
| | | depositbank: this.personlist[j].depositbank, |
| | | branchbankname: this.personlist[j].branchbankname, |
| | | bankcardno: this.personlist[j].bankcardno |
| | | }); |
| | | } |
| | | //ä¸å®¶äººåå表 |
| | | else if (res.rows[j].usertype == "expert") { |
| | | this.expertlist.push({ |
| | | expertNo: this.personlist[j].id, |
| | | exportName: this.personlist[j].username |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | //è·åç»å人账å·ä¿¡æ¯ |
| | | getUserAccount() { |
| | | this.personlist.map(res => { |
| | | if (res.username == this.form.username) { |
| | | this.form.bankname = res.depositbank; //res.branchbanknameãres.depositbank; |
| | | this.form.bankcardno = res.bankcardno; |
| | | this.form.phone = res.telephone; |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | //è·åä¸å®¶äººåå表 |
| | | getExpertList() { |
| | | let types = ["expert"]; |
| | | let templist = []; |
| | | for (let i = 0; i < types.length; i++) { |
| | | templist = []; |
| | | listReportname(types[i]).then(res => { |
| | | for (let j = 0; j < res.data.length; j++) { |
| | | templist.push({ |
| | | reportName: res.data[j].reportName, |
| | | reportNo: res.data[j].reportNo |
| | | }); |
| | | } |
| | | this.expertlist = this.expertlist.concat(templist); |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | //è·åè´¹ç¨æºæå表 |
| | | getFeeUnitList() { |
| | | console.log("åä½"); |
| | | listReportname("org").then(res => { |
| | | this.feeUnitList = res.data; |
| | | }); |
| | | console.log(this.feeUnitList); |
| | | }, |
| | | |
| | | //è·åå»çæºæå表 |
| | | getUnitList() { |
| | | console.log("å»çæºæ"); |
| | | listOrganization(3).then(response => { |
| | | for (let i = 0; i < response.rows.length; i++) { |
| | | this.unitList.push({ |
| | | //organizationid: response.rows[i].organizationid, |
| | | organizationid: response.rows[i].id, |
| | | organizationname: response.rows[i].organizationname |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | //è·åæç®æ¡ä¾å表 |
| | | getBaseInfoList() { |
| | | this.loading = true; |
| | | listDonatebaseinfo(this.queryParams).then(response => { |
| | | this.donateList = response.rows; |
| | | this.total = response.total; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | |
| | | //è·åæå¡è´¹ç¨ç±»åãæå¡é¡¹ç®ãæå¡è¯´æ |
| | | getFeeTypes() { |
| | | //è·åæå¡è´¹ç¨ç±»åãæå¡é¡¹ç® |
| | | getFundTypeAll(this.businessType).then(res => { |
| | | let dataList = res.data; |
| | | //è·åæå¡è´¹ç¨æå¡é¡¹ç® |
| | | this.feeItemTypes = dataList; |
| | | |
| | | //è·åæå¡è´¹ç¨ç±»å |
| | | this.rowfeeItemTypes = []; |
| | | for (let m = 0; m < dataList.length; m++) { |
| | | this.rowfeeItemTypes.push({ |
| | | value: dataList[m].itemType, |
| | | label: dataList[m].itemTypeName, |
| | | subjecttype: dataList[m].subjecttype, |
| | | subjecttypename: dataList[m].subjecttypename |
| | | }); |
| | | } |
| | | }); |
| | | |
| | | //è·åæå¡è´¹ç¨è¯´æå表 |
| | | if (this.businessType == '1' || this.businessType == '2') { |
| | | this.loading = true; |
| | | listItemexpense(this.expenseQueryParams).then(response => { |
| | | response.rows.forEach(item => { |
| | | this.feeBlocks.push({ |
| | | servicesscope: JSON.stringify(item.id), |
| | | itemid: item.itemid, |
| | | expense: item.expense, |
| | | expensedescribe: item.expensedescribe, |
| | | remark: item.expensedescribe |
| | | }); |
| | | }); |
| | | this.loading = false; |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | //è·åæå¡é¡¹ç® |
| | | getRowFeeItems(rowindex, row) { |
| | | let list = this.feeItemTypes.filter(r => r.itemType == row.applytype); |
| | | row.itemlist = list[0].itemDetails; |
| | | this.$set(this.rbDetails, rowindex, row); |
| | | }, |
| | | |
| | | //å è½½æå¡é¡¹ç® |
| | | verifyFeeItemType(row) { |
| | | let list = this.feeItemTypes.filter(r => r.itemType == row.applytype); |
| | | row.itemlist = list[0].itemDetails; |
| | | row.itemid = null; |
| | | this.$forceUpdate(); |
| | | }, |
| | | |
| | | //è·åè´¹ç¨é¡¹ç®ç夿³¨ä¿¡æ¯ |
| | | verifyFeeRemark(row) { |
| | | row.rowfeeblocks.forEach((item, i) => { |
| | | if (item.servicesscope === row.servicesscope) { |
| | | row.servicesscopename = item.expensedescribe; |
| | | if (row.servicesscopename.includes("ç¨å")) { |
| | | row.amount = 0.0; |
| | | row.taxamount = 0.0; |
| | | row.taxedamount = item.expense; |
| | | |
| | | //计ç®ç¨åéé¢ |
| | | // this.calculateTax(row, "B"); |
| | | } else { |
| | | row.amount = item.expense; |
| | | row.taxamount = 0.0; |
| | | row.taxedamount = 0.0; |
| | | |
| | | //计ç®ç¨åéé¢ |
| | | // this.calculateTax(row, "A"); |
| | | } |
| | | |
| | | // this.form.serviceFunddetails = 0; |
| | | // this.rbDetails.map(item => { |
| | | // this.form.serviceFunddetails += item.amount; |
| | | // }); |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | //æ ¡éªæ¶è´¹é¡¹ç® |
| | | verifyFeeItem(row) { |
| | | row.itemlist.map(res => { |
| | | if (row.itemid === res.id) { |
| | | row.remark = res.itemDescribe; |
| | | row.itemcode = res.itemCode; |
| | | } |
| | | }); |
| | | |
| | | //夿æ¶è´¹é¡¹ç®æ¯å¦éå¤ |
| | | if (this.businessType == "1") { |
| | | var repeatNum = 0; |
| | | this.rbDetails.map(res => { |
| | | if (res.applytype === row.applytype && res.itemid == row.itemid) { |
| | | repeatNum++; |
| | | } |
| | | }); |
| | | if (repeatNum > 1) { |
| | | this.$modal.msgWarning("æ¨å·²ç»æäº¤è¿è¯¥æå¡é¡¹ç®äº"); |
| | | } |
| | | } |
| | | |
| | | //è·åè´¹ç¨é¡¹ç®ç详ç»ä¿¡æ¯ |
| | | if (this.businessType == "1") { |
| | | row.servicesscope = null; |
| | | row.servicesscopename = ""; |
| | | row.amount = 0.0; |
| | | row.taxamount = 0.0; |
| | | row.taxedamount = 0.0; |
| | | |
| | | row.rowfeeblocks = this.feeBlocks.filter(r => r.itemid == row.itemid); |
| | | if (row.rowfeeblocks.length == 1) { |
| | | row.servicesscope = row.rowfeeblocks[0].servicesscope; |
| | | row.servicesscopename = row.rowfeeblocks[0].expensedescribe; |
| | | if (row.servicesscopename.includes("ç¨å")) { |
| | | row.amount = 0.0; |
| | | row.taxamount = 0.0; |
| | | row.taxedamount = row.rowfeeblocks[0].expense; |
| | | } else { |
| | | row.amount = row.rowfeeblocks[0].expense; |
| | | row.taxamount = 0.0; |
| | | row.taxedamount = 0.0; |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | |
| | | //çæ¥åºå¯¹åºçè´¹ç¨é¡¹ç® |
| | | searchItemType(val, scope) { |
| | | let result = []; |
| | | if (val != "") { |
| | | let tempitemlist = scope.row.itemlist; |
| | | for (let i = 0; i < tempitemlist.length; i++) { |
| | | let pym = tempitemlist[i].itempinyin; |
| | | if (pym != null && pym != undefined && pym != "") { |
| | | if (pym.indexOf(val) != -1) { |
| | | result.push(tempitemlist[i]); |
| | | } |
| | | } |
| | | } |
| | | scope.row.itemlist = result; |
| | | } else { |
| | | getItemNames(scope.row.applytype).then(res => { |
| | | scope.row.itemlist = res.data; |
| | | //this.$set(this.rbDetails, rowindex, row); |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | //åè®¡è´¹ç¨ |
| | | selectamount(row) { |
| | | this.rowfeeblocks.forEach((item, i) => { |
| | | if (item.expense === row.amount) { |
| | | row.remark = item.expensedescribe; |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | selectExpert(row) { |
| | | // if(row.beneficiaryname) |
| | | this.personlist.map(res => { |
| | | if (row.beneficiaryname == res.username) { |
| | | row.beneficiaryno = res.userno; |
| | | row.beneficiaryname = res.username; |
| | | row.bankcardno = res.bankcardno; |
| | | row.branchbankname = res.branchbankname; |
| | | row.depositbank = res.depositbank; |
| | | row.idcardno = res.idcardno; |
| | | row.phone = res.phonenumber; |
| | | row.title = res.title; |
| | | row.unitname = res.unitname; |
| | | row.unitno = res.unitno; |
| | | } else { |
| | | row.beneficiaryno = row.beneficiaryname; |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | //计ç®ä¸ªç¨ï¼type(A:å·²ç¥ç¨åéé¢ï¼è®¡ç®ç¨åéé¢ï¼Bï¼å·²ç¥ç¨åéé¢ï¼è®¡ç®ç¨åéé¢) |
| | | calculateTax(row, type) { |
| | | //if (isNaN(parseFloat(tempDetail.taxedamount))) |
| | | //è·ååæ° |
| | | this.taxParam.beneficiaryNo = row.beneficiaryno; |
| | | this.taxParam.startTime = this.form.createTime.substring(0, 10); |
| | | |
| | | if (type == "A") { |
| | | // 计ç®ä¸ªç¨ãç¨åéé¢ |
| | | this.taxParam.money = row.amount.toString(); |
| | | getTaxByBeneFiciaryNo(this.taxParam).then(res => { |
| | | if (res.code == 200) { |
| | | row.taxamount = res.data; |
| | | row.taxedamount = row.amount - row.taxamount; |
| | | } |
| | | }); |
| | | } else { |
| | | // 计ç®ç¨åã个ç¨éé¢ |
| | | this.taxParam.money = row.taxedamount.toString(); |
| | | getTaxBeforeByAfterMoney(this.taxParam).then(res => { |
| | | if (res.code == 200) { |
| | | row.taxamount = res.data.nowTax; |
| | | row.amount = parseFloat(res.data.nowTaxBeforeMoney); |
| | | } |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | //导å
¥ææé¡¹ç® |
| | | importFeeItems() { |
| | | this.loading = true; |
| | | this.rbDetails = this.rbDetails.filter( |
| | | r => r.applytype != "" && r.applytype != null |
| | | ); |
| | | let listAdd = []; |
| | | //let listAdd = this.rbDetails; |
| | | for (let i = 0; i < this.feeItemTypes.length; i++) { |
| | | for (let j = 0; j < this.feeItemTypes[i].itemDetails.length; j++) { |
| | | let list = this.rbDetails.filter( |
| | | r => |
| | | r.applytype == this.feeItemTypes[i].itemType && |
| | | r.itemid == this.feeItemTypes[i].itemDetails[j].id |
| | | ); |
| | | |
| | | if (list.length == 0) { |
| | | let rowData = { |
| | | id: null, |
| | | orderno: listAdd.length + 1, |
| | | applytype: this.feeItemTypes[i].itemType, |
| | | itemid: this.feeItemTypes[i].itemDetails[j].id, |
| | | itemcode: this.feeItemTypes[i].itemDetails[j].itemCode, |
| | | recordstatus: "-1", |
| | | beneficiaryname: "ç¹å»éæ©", |
| | | unitname: "ç¹å»éæ©", |
| | | itemlist: this.feeItemTypes[i].itemDetails, |
| | | rowfeeblocks: null, |
| | | servicesscope: null, |
| | | servicesscopename: "" |
| | | }; |
| | | |
| | | //è·åæå¡è¯´æä¿¡æ¯ |
| | | rowData.servicesscope = null; |
| | | rowData.servicesscopename = ""; |
| | | rowData.amount = 0.0; |
| | | rowData.taxamount = 0.0; |
| | | rowData.taxedamount = 0.0; |
| | | |
| | | rowData.rowfeeblocks = this.feeBlocks.filter(r => r.itemid == rowData.itemid); |
| | | if (rowData.rowfeeblocks.length == 1) { |
| | | rowData.servicesscope = rowData.rowfeeblocks[0].servicesscope; |
| | | rowData.servicesscopename = rowData.rowfeeblocks[0].expensedescribe; |
| | | if (rowData.servicesscopename.includes("ç¨å")) { |
| | | rowData.amount = 0.0; |
| | | rowData.taxamount = 0.0; |
| | | rowData.taxedamount = rowData.rowfeeblocks[0].expense; |
| | | } else { |
| | | rowData.amount = rowData.rowfeeblocks[0].expense; |
| | | rowData.taxamount = 0.0; |
| | | rowData.taxedamount = 0.0; |
| | | } |
| | | } |
| | | |
| | | listAdd.push(rowData); |
| | | } |
| | | } |
| | | } |
| | | this.rbDetails = listAdd; |
| | | this.loading = false; |
| | | }, |
| | | |
| | | unsave() { |
| | | this.Savereminder = false; |
| | | this.Reminderquantity = 0; |
| | | }, |
| | | // æ¥åæéç«å»ä¿å |
| | | Savenow() { |
| | | if (!this.randomnumber) { |
| | | this.randomnumber = this.generateRandomString(9); |
| | | this.form.randomnumber = this.randomnumber; |
| | | } |
| | | this.Savereminder = false; |
| | | this.Reminderquantity = 0; |
| | | this.totalquantity = 0; |
| | | this.$refs["form"].validate(valid => { |
| | | if (valid) { |
| | | this.formData = this.form; |
| | | // let totalPreTaxAmount = 0.0; |
| | | // let totalAfterTaxAmount = 0.0; |
| | | // let totalAmount = 0.0; |
| | | |
| | | //ä¿ååæ ¡éªæ°æ® |
| | | for (let k = 0; k < this.rbDetails.length; k++) { |
| | | let tempDetail = this.rbDetails[k]; |
| | | if (tempDetail.itemid == null) { |
| | | this.$modal.msgWarning( |
| | | "æå¡é¡¹ç®è¡¨ä¸ï¼ç¬¬" + |
| | | (k + 1).toString() + |
| | | "è¡çæå¡é¡¹ç®æªéæ©ï¼è¯·å
éæ©æå¡é¡¹ç®ååæäº¤ä¿åï¼" |
| | | ); |
| | | return; |
| | | } |
| | | |
| | | if (this.businessType == "1") { |
| | | if (tempDetail.servicesscope == null) { |
| | | this.$modal.msgWarning( |
| | | "æå¡é¡¹ç®è¡¨ä¸ï¼ç¬¬" + |
| | | (k + 1).toString() + |
| | | "è¡çè´¹ç¨è¯´ææªéæ©,è¯·éæ©è´¹ç¨è¯´æååæäº¤ä¿åï¼" |
| | | ); |
| | | return; |
| | | } |
| | | |
| | | if ( |
| | | tempDetail.beneficiaryno == null || |
| | | tempDetail.beneficiaryno == "ç¹å»éæ©" |
| | | ) { |
| | | this.$modal.msgWarning( |
| | | "æå¡é¡¹ç®è¡¨ä¸ï¼ç¬¬" + |
| | | (k + 1).toString() + |
| | | "è¡çæå¡äººåå§åä¸ºéæ©,è¯·éæ©äººåååæäº¤ä¿åï¼" |
| | | ); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | // //夿åä½ unitSel |
| | | // try { |
| | | // let unitIndex = this.unitList.findIndex( |
| | | // (item) => tempDetail.unitno == item.organizationid |
| | | // ); |
| | | // if (unitIndex > -1) { |
| | | // tempDetail.unitname = this.unitList[unitIndex].organizationname; |
| | | // } else { |
| | | // tempDetail.unitname = tempDetail.unitno; |
| | | // } |
| | | // } catch { |
| | | // tempDetail.unitname = tempDetail.unitno; |
| | | // } |
| | | } |
| | | |
| | | //éä»¶å¤ç |
| | | let list = this.fileList; |
| | | // if (list.length > 0) { |
| | | // this.form.annexfiles = list.map(item => item.url).join(","); |
| | | // } |
| | | |
| | | //å¤çæç» |
| | | for (let i = 0; i < this.rbDetails.length; i++) { |
| | | let tempDetail = this.rbDetails[i]; |
| | | //è·åæå¡é¡¹ç®æç» |
| | | let tempitemlist = tempDetail.itemlist; |
| | | let itemIndex = tempitemlist.findIndex( |
| | | item => tempDetail.itemid == item.id |
| | | ); |
| | | if (itemIndex > -1) { |
| | | tempDetail.itemname = tempitemlist[itemIndex].itemName; |
| | | tempDetail.itemid = tempitemlist[itemIndex].id; |
| | | } |
| | | |
| | | //è·åapplytypenameãæå¡è´¹ç¨å¤§ç±» |
| | | let applytypeIndex = this.rowfeeItemTypes.findIndex( |
| | | item => tempDetail.applytype == item.value |
| | | ); |
| | | if (applytypeIndex > -1) { |
| | | tempDetail.applytypename = this.rowfeeItemTypes[ |
| | | applytypeIndex |
| | | ].label; |
| | | tempDetail.subjecttype = this.rowfeeItemTypes[ |
| | | applytypeIndex |
| | | ].subjecttype; |
| | | tempDetail.subjecttypename = this.rowfeeItemTypes[ |
| | | applytypeIndex |
| | | ].subjecttypename; |
| | | } |
| | | this.rbDetails[i] = tempDetail; |
| | | /* |
| | | //计ç®ä¸ªç¨ |
| | | //if (isNaN(parseFloat(tempDetail.taxedamount))) |
| | | //è·ååæ° |
| | | this.taxParam.beneficiaryNo = tempDetail.beneficiaryno; |
| | | this.taxParam.startTime = this.form.createTime.substring(0, 10); |
| | | // 计ç®ç¨åéé¢ |
| | | if (tempDetail.taxedamount == undefined || tempDetail.taxedamount == null || tempDetail.taxedamount == 0 || tempDetail.taxedamount == '') { |
| | | //è·ååæ° |
| | | this.taxParam.money = tempDetail.amount.toString(); |
| | | getTaxByBeneFiciaryNo(this.taxParam).then((res) => { |
| | | if (res.code == 200) { |
| | | tempDetail.taxamount = res.data; |
| | | tempDetail.taxedamount = tempDetail.amount - tempDetail.taxamount; |
| | | this.rbDetails[k] = tempDetail; |
| | | |
| | | this.totalAfterTaxAmount += parseFloat(tempDetail.taxedamount); |
| | | this.totalAmount += parseFloat(tempDetail.amount); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | // 计ç®ç¨åãç¨è´¹ãç¨åéé¢ |
| | | if (tempDetail.amount == undefined || tempDetail.amount == null || tempDetail.amount == 0 || tempDetail.amount == '') { |
| | | //è·ååæ° |
| | | this.taxParam.money = tempDetail.taxedamount.toString(); |
| | | getTaxBeforeByAfterMoney(this.taxParam).then((res) => { |
| | | if (res.code == 200) { |
| | | tempDetail.taxamount = res.data.nowTax; |
| | | tempDetail.amount = parseFloat(res.data.nowTaxBeforeMoney); |
| | | this.rbDetails[k] = tempDetail; |
| | | |
| | | this.totalAfterTaxAmount += parseFloat(tempDetail.taxedamount); |
| | | this.totalAmount += parseFloat(tempDetail.amount); |
| | | } |
| | | }); |
| | | } |
| | | */ |
| | | } |
| | | //计ç®å½åè¡æ¥éå
容费ç¨å计ï¼ç¨åéé¢ï¼amountï¼ãæ£ç¨éé¢ï¼taxamountï¼ãç¨åéé¢ï¼taxedamountï¼ |
| | | if (this.businessType == "2") { |
| | | for (let j = 0; j < this.rbDetails.length; j++) { |
| | | let tempDetail = this.rbDetails[j]; |
| | | if ( |
| | | isNaN(parseFloat(tempDetail.amount)) || |
| | | parseFloat(tempDetail.amount) == 0 |
| | | ) { |
| | | this.$modal.msgWarning( |
| | | "æå¡é¡¹ç®è¡¨ä¸ï¼ç¬¬" + |
| | | (j + 1).toString() + |
| | | "è¡çé颿ªè¾å
¥ï¼è¯·å
è¾å
¥éé¢ååæäº¤ä¿åï¼" |
| | | ); |
| | | return; |
| | | } |
| | | } |
| | | } else if (this.businessType == "3" || this.businessType == "4") { |
| | | for (let j = 0; j < this.rbDetails.length; j++) { |
| | | let tempDetail = this.rbDetails[j]; |
| | | if ( |
| | | isNaN(parseFloat(tempDetail.amount)) || |
| | | parseFloat(tempDetail.amount) == 0 |
| | | ) { |
| | | this.$modal.msgWarning( |
| | | "æå¡é¡¹ç®è¡¨ä¸ï¼ç¬¬" + |
| | | (j + 1).toString() + |
| | | "è¡çé颿ªè¾å
¥ï¼è¯·å
è¾å
¥éé¢ååæäº¤ä¿åï¼" |
| | | ); |
| | | return; |
| | | } |
| | | if ( |
| | | isNaN(parseFloat(tempDetail.taxamount)) || |
| | | parseFloat(tempDetail.taxamount) == 0 |
| | | ) { |
| | | tempDetail.taxedamount = parseFloat(tempDetail.amount); |
| | | } else { |
| | | tempDetail.taxedamount = |
| | | parseFloat(tempDetail.amount) + |
| | | parseFloat(tempDetail.taxamount); |
| | | } |
| | | } |
| | | } |
| | | |
| | | //è´¹ç¨å计 |
| | | // this.form.pretaxcost = parseFloat(this.totalPreTaxAmount).toFixed(2); |
| | | // this.form.taxedcost = parseFloat(this.totalAfterTaxAmount).toFixed(2); |
| | | // this.form.amountrequested = this.totalAmount.toFixed(2); |
| | | |
| | | //ä¿åæ°æ® |
| | | this.loading = true; |
| | | this.form.serviceFunddetails = 0; |
| | | this.rbDetails.map(item => { |
| | | this.form.serviceFunddetails += item.amount; |
| | | }); |
| | | console.log(this.rbDetails); |
| | | this.form.serviceFunddetails = this.rbDetails; |
| | | |
| | | if (this.form.id != null) { |
| | | // updateFund(this.form).then((response) => { |
| | | // if (response.code === 200) { |
| | | // this.loading = false; |
| | | // for (let m = 0; m < this.rbDetails.length; m++) { |
| | | // if (this.rbDetails[m].id > 0) { |
| | | // updateFunddetail(this.rbDetails[m]).then((response2) => { if (response.code != 200) { this.$modal.msgError("ä¸å®¶å³å¡è´¹ä¿å失败1ï¼" + response.msg); } }); |
| | | // } else { |
| | | // addFunddetail(this.rbDetails[m]).then((response2) => { if (response.code != 200) { this.$modal.msgError("ä¸å®¶å³å¡è´¹ä¿å失败2ï¼" + response.msg); } }); |
| | | // } |
| | | // } |
| | | // this.$modal.msgSuccess("ä¸å®¶å³å¡è´¹ä¿åæåï¼"); |
| | | // } else { |
| | | // this.$modal.msgError("ä¸å®¶å³å¡è´¹ä¿å失败ï¼" + response.msg); |
| | | // } |
| | | // }); |
| | | } else { |
| | | this.form.recordstatus = -1; |
| | | |
| | | // addorupdateFund(this.form).then((response) => { |
| | | // if (response.code === 200) { |
| | | // this.selectDonotor(this.curCase); |
| | | // } else { |
| | | // this.$modal.msgError("ä¸å®¶å³å¡è´¹ä¿å失败ï¼" + response.msg); |
| | | // } |
| | | // }); |
| | | } |
| | | |
| | | addorupdateFund(this.form).then(response => { |
| | | if (response.code === 200) { |
| | | this.$modal.msgSuccess("ç³è¯·åä¿åæåï¼"); |
| | | this.Getnetworkheader(); |
| | | this.getroute(); |
| | | this.getExternalList(); |
| | | this.getUserList(); |
| | | this.getUserProfile(); |
| | | } else { |
| | | this.$modal.msgError("ç³è¯·åä¿å失败ï¼" + response.msg); |
| | | } |
| | | }); |
| | | |
| | | //å
³éçªå£ |
| | | this.loading = false; |
| | | // this.getfundList(); |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | //æ°å¢ä¸è¡ |
| | | addRow(rowIndex) { |
| | | let rowData = { |
| | | orderno: null, |
| | | id: null, |
| | | fundid: null, |
| | | beneficiaryname: "ç¹å»éæ©", |
| | | beneficiaryno: null, |
| | | unitname: "ç¹å»éæ©", |
| | | unitno: null, |
| | | uintuserno: null, |
| | | title: null, |
| | | idcardtype: null, |
| | | idcardno: null, |
| | | sex: null, |
| | | familyrelations: null, |
| | | phone: null, |
| | | depositbank: null, |
| | | bankcardno: null, |
| | | branchbankname: null, |
| | | annexbankcard: null, |
| | | annexregistform: null, |
| | | applytype: null, |
| | | itemid: null, |
| | | itemname: null, |
| | | itemtype: null, |
| | | amount: null, |
| | | prepaidamount: null, |
| | | taxamount: null, |
| | | invoicecount: null, |
| | | taxedamount: null, |
| | | attachcount: null, |
| | | remark: null, |
| | | recordstatus: "-1", |
| | | delFlag: null, |
| | | createBy: null, |
| | | createTime: null, |
| | | updateBy: null, |
| | | updateTime: null, |
| | | uploadflag: null, |
| | | uploadtime: null, |
| | | itemlist: [], |
| | | servicesscope: null, |
| | | rowfeeblocks: [], |
| | | annexfiles: null |
| | | }; |
| | | // if (this.Reminderquantity >= 5) { |
| | | // this.Savereminder = true; |
| | | // return; |
| | | // } |
| | | if (rowIndex == undefined || rowIndex == null || rowIndex < 0) { |
| | | this.rbDetails.push(rowData); |
| | | } else { |
| | | this.rbDetails.splice(rowIndex + 1, 0, rowData); |
| | | } |
| | | this.Reminderquantity++; |
| | | this.totalquantity++; |
| | | for (let i = 0; i < this.rbDetails.length; i++) { |
| | | this.rbDetails[i].orderno = i + 1; |
| | | } |
| | | }, |
| | | |
| | | deleteRows(row, index, rows) { |
| | | this.$confirm("å 餿°æ®åå°ä¸è½æ¢å¤ï¼ç¡®è®¤è¦å é¤å?", "æç¤º", { |
| | | confirmButtonText: "ç¡®å®", |
| | | cancelButtonText: "åæ¶", |
| | | type: "success" |
| | | }) |
| | | .then(() => { |
| | | if (row.id !== null) { |
| | | delFunddetail(row.id).then(res => { |
| | | if (res.code === 200) { |
| | | this.$confirm("å 餿°æ®æå", "æç¤º", { |
| | | confirmButtonText: "ç¡®å®", |
| | | cancelButtonText: "åæ¶", |
| | | type: "success" |
| | | }).then(() => { |
| | | this.$set(rows, rows.splice(index, 1)); |
| | | getownFundDetail(this.form.id).then(res => { |
| | | console.log(res); |
| | | |
| | | this.$set(this.rbDetails, res.data); |
| | | this.sumTotalFee(); |
| | | // this.rbDetails = res.data |
| | | }); |
| | | }); |
| | | } |
| | | // getownFundDetail(this.form.id).then(res=>{ |
| | | // this.$set(this.rbDetails,res.data) |
| | | // this.rbDetails = res.data |
| | | // }) |
| | | }); |
| | | } else { |
| | | rows.splice(index, 1); |
| | | this.sumTotalFee(); |
| | | } |
| | | }) |
| | | .catch(() => { |
| | | //å ç¹åæ¶çæç¤º |
| | | }); |
| | | |
| | | //å
¨é¨å é¤åæ·»å 䏿¡æ°è¡ |
| | | if (this.rbDetails.length == 1) { |
| | | this.addRow(0); |
| | | } |
| | | }, |
| | | |
| | | //è®¡ç®æ»éé¢ |
| | | sumTotalFee(row) { |
| | | let allSum = 0; |
| | | if (this.form.applytype != null) { |
| | | for (let i = 0; i < this.rbDetails.length; i++) { |
| | | let totalFee = 0; |
| | | let taxFee = 0; |
| | | if (this.form.applytype == 1 || this.form.applytype == 2) { |
| | | //计ç®å½åæ¥éå
容费ç¨å计 |
| | | if (!isNaN(parseFloat(this.rbDetails[i].amount))) { |
| | | totalFee += parseFloat(this.rbDetails[i].amount); |
| | | taxFee += parseFloat(this.rbDetails[i].amount); |
| | | } |
| | | if (!isNaN(parseFloat(this.rbDetails[i].taxamount))) { |
| | | totalFee -= parseFloat(this.rbDetails[i].taxamount); |
| | | taxFee -= parseFloat(this.rbDetails[i].taxamount); |
| | | } |
| | | } else if (this.form.applytype == 3 || this.form.applytype == 4) { |
| | | //åä»·*æ°é=ç¨åéé¢ |
| | | if ( |
| | | !isNaN(parseFloat(this.rbDetails[i].price)) && |
| | | !isNaN(parseFloat(this.rbDetails[i].quantity)) |
| | | ) { |
| | | totalFee += |
| | | parseFloat(this.rbDetails[i].price) * |
| | | parseFloat(this.rbDetails[i].quantity); |
| | | this.rbDetails[i].amount = totalFee; |
| | | } |
| | | } |
| | | |
| | | //ç¨åãç¨åéè¦ç¬ç«å½å
¥ |
| | | // if (!isNaN(parseFloat(taxFee))) { |
| | | // this.rbDetails[i].taxedamount = taxFee.toFixed(2); |
| | | // } |
| | | |
| | | allSum += totalFee; |
| | | } |
| | | } |
| | | // this.form.amountrequested = allSum.toFixed(2); |
| | | // this.$forceUpdate(); |
| | | }, |
| | | |
| | | mixExport(scope) { |
| | | this.print(scope.row.id); |
| | | //this.totalprint(id); |
| | | }, |
| | | |
| | | //ä¸å®¶è´¹å³å¡æå° |
| | | print(id) { |
| | | getdownloadLW(id).then(res => { |
| | | if (res.downloadUrl) { |
| | | var fileUrl = res; |
| | | //è·åå½åç½å |
| | | var urlBase = process.env.VUE_APP_BASE_API; |
| | | var curWWWPath = window.document.location.href; |
| | | var pos = curWWWPath.indexOf(window.document.location.pathname); |
| | | // å建aæ ç¾ |
| | | var aEle = document.createElement("a"); |
| | | aEle.href = |
| | | curWWWPath.substring(0, pos) + urlBase + fileUrl["downloadUrl"]; |
| | | aEle.click(); |
| | | this.$alert("ä¸è½½æå", "æç¤º", { |
| | | confirmButtonText: "ç¡®å®", |
| | | type: "success" |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | //æ±æ»æå° |
| | | totalprint(e) { |
| | | // const id =this.row.id |
| | | getdownloadBX(e).then(res => { |
| | | if (res.downloadUrl) { |
| | | var fileUrl = res; |
| | | //è·åå½åç½å |
| | | var urlBase = process.env.VUE_APP_BASE_API; |
| | | var curWWWPath = window.document.location.href; |
| | | var pos = curWWWPath.indexOf(window.document.location.pathname); |
| | | // å建aæ ç¾ |
| | | var aEle = document.createElement("a"); |
| | | aEle.href = |
| | | curWWWPath.substring(0, pos) + urlBase + fileUrl["downloadUrl"]; |
| | | aEle.click(); |
| | | this.$alert("ä¸è½½æå", "æç¤º", { |
| | | confirmButtonText: "ç¡®å®", |
| | | type: "success" |
| | | }); |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | //æä»¶ä¸ä¼ |
| | | handleUploadError() { }, |
| | | |
| | | /** ä¸è½½æä»¶æé®æä½ */ |
| | | // downFile(item) { |
| | | // const url = process.env.VUE_APP_BASE_API + item.url; |
| | | // var a = document.createElement("a"); |
| | | // var event = new MouseEvent("click"); |
| | | // a.download = item.name; |
| | | // a.href = url; |
| | | // a.dispatchEvent(event); |
| | | // }, |
| | | |
| | | // remove(file) { |
| | | // this.fileList.splice(this.fileList.indexOf(file), 1) |
| | | // }, |
| | | remove(file, fileList) { |
| | | const rbDetails = [...this.rbDetails]; |
| | | this.fileListto.splice(this.fileListto.indexOf(file), 1); |
| | | rbDetails[this.atpresent].annexfilesList = this.fileListto; |
| | | }, |
| | | |
| | | handleExceed() { |
| | | this.$message.error(`ä¸ä¼ æä»¶æ°éä¸è½è¶
è¿ ${5} 个!`); |
| | | }, |
| | | |
| | | //æä»¶ä¸ä¼ æååè° |
| | | // uploadSccess(response, file, fileList) { |
| | | // //è·åéä»¶ä¿¡æ¯ä½ç½® |
| | | // if (response.code == 200) { |
| | | // this.form.filename = file.raw.name; |
| | | // this.$modal.msgSuccess(response.msg); |
| | | // this.fileList.push({ name: response.fileName, url: response.fileName }); |
| | | // } else { |
| | | // console.log(response.msg); |
| | | // } |
| | | // }, |
| | | uploadSccess(response, file, fileList) { |
| | | this.rbDetails; |
| | | |
| | | //è·å票æ®ä¿¡æ¯ä½ç½® |
| | | if (response.code == 200) { |
| | | this.form.filename = file.raw.name; |
| | | this.previewpdf = true; |
| | | this.$modal.msgSuccess(response.msg); |
| | | this.fileListto.push({ name: file.name, url: response.fileName }); |
| | | // this.fileListto.push({ name: file.name, url: response.url }); |
| | | this.pdfimgsrcList.push( |
| | | this.Networkheader + "/prod-api" + response.fileName |
| | | ); |
| | | this.pdfimg = this.Networkheader + "/prod-api" + response.fileName; |
| | | |
| | | this.rbDetails[this.atpresent].annexfilesList = this.fileListto; |
| | | } else { |
| | | console.log(response.msg); |
| | | } |
| | | }, |
| | | |
| | | // ç¹å»ç¥¨æ® |
| | | Filepopup(index, rows, row) { |
| | | this.atpresent = index; |
| | | this.pdfVisible = true; |
| | | if (this.rbDetails[index].annexfilesList) { |
| | | this.previewpdf = true; |
| | | this.fileListto = this.rbDetails[index].annexfilesList; |
| | | this.pdfimg = this.Networkheader + "/prod-api" + this.fileListto[0].url; |
| | | // this.pdfimg = this.fileListto[0].url; |
| | | this.pdfimgsrcList = []; |
| | | this.fileListto.forEach(item => { |
| | | this.pdfimgsrcList.push(this.Networkheader + "/prod-api" + item.url); |
| | | }); |
| | | console.log(this.pdfimgsrcList); |
| | | console.log(this.pdfimg); |
| | | } else { |
| | | this.fileListto = []; |
| | | this.pdfimg = ""; |
| | | this.pdftitle = ""; |
| | | } |
| | | }, |
| | | |
| | | // ç¹å»å·²ä¸ä¼ æä»¶ |
| | | downFile(item) { |
| | | console.log(item); |
| | | this.pdftitle = item.name; |
| | | let name = item.name.split("."); |
| | | if (name[1] == "pdf") { |
| | | this.$modal.msgWarning("å½åæä»¶æä¸æ¯æé¢è§"); |
| | | this.previewpdf = false; |
| | | this.hintitle = "å½åæä»¶æä¸æ¯æé¢è§"; |
| | | } else if (name[1] == "jpg" || "png") { |
| | | this.previewpdf = true; |
| | | if (item.url) { |
| | | this.pdfimg = this.Networkheader + "/prod-api" + item.url; |
| | | |
| | | // if (!this.pdfimgsrcList.includes(this.pdfimg)) { |
| | | // this.pdfimgsrcList.push(this.pdfimg); |
| | | // console.log("å å
¥"); |
| | | // } |
| | | console.log(this.pdfimg); |
| | | console.log(this.pdfimgsrcList, "imglist"); |
| | | } else { |
| | | this.pdfimg = this.Networkheader + "/prod-api" + item.url; |
| | | } |
| | | } else { |
| | | this.hintitle = "å½åæä»¶æä¸æ¯æé¢è§"; |
| | | this.$modal.msgWarning("å½åæä»¶æä¸æ¯æé¢è§"); |
| | | this.previewpdf = false; |
| | | } |
| | | }, |
| | | getIndexInArray(arr, obj) { |
| | | return arr.indexOf(obj); |
| | | }, |
| | | // ç¹å»å é¤ |
| | | deletedowfile(row) { |
| | | console.log(this.fileListto); |
| | | console.log(row); |
| | | const indexlist = this.getIndexInArray( |
| | | this.pdfimgsrcList, |
| | | this.Networkheader + "/prod-api" + row.url |
| | | ); |
| | | console.log(indexlist); |
| | | this.pdfimgsrcList.splice(indexlist, 1); |
| | | const index = this.getIndexInArray(this.fileListto, row); |
| | | this.fileListto.splice(index, 1); |
| | | console.log(index); |
| | | console.log(this.pdfimgsrcList); |
| | | }, |
| | | // ç¹å»ä¸ç§» |
| | | moveupdowfile(row) { |
| | | const index = this.getIndexInArray(this.fileListto, row); |
| | | const item = this.fileListto.splice(index, 1)[0]; // ç§»é¤æå®ç´¢å¼å¤çå
ç´ ï¼å¹¶ä¿åå°itemåéä¸ |
| | | this.fileListto.splice(index - 1, 0, item); // å°itemæå
¥å°ç´¢å¼ä½ç½®çåä¸ä½ |
| | | }, |
| | | //ä¸å®¶/å»çæºæ/è´¹ç¨æ¥éæºæéæ© |
| | | ShowDetailDialog(spoce, showType) { |
| | | this.spocewl = spoce; |
| | | console.log(spoce); |
| | | this.selectionType = showType; |
| | | if (this.businessType == 4 || !showType) { |
| | | this.selectionType = this.experthear; |
| | | console.log(this.selectionType); |
| | | } |
| | | // if (!showType) { |
| | | // this.selectionType = this.experthear; |
| | | |
| | | // } |
| | | this.expertfrom = "1"; |
| | | |
| | | this.funddetailForm.index = spoce.$index; |
| | | this.funddetailForm.beneficiaryno = spoce.row.beneficiaryno; |
| | | this.funddetailForm.beneficiaryname = spoce.row.beneficiaryname; |
| | | this.funddetailForm.unitno = spoce.row.unitno; |
| | | this.funddetailForm.unitname = spoce.row.unitname; |
| | | this.funddetailForm.expertname = ""; |
| | | this.funddetailForm.expertidcardno = ""; |
| | | this.funddetailForm.expertunitno = ""; |
| | | this.funddetailForm.expertunitname = ""; |
| | | this.funddetailForm.experttitle = ""; |
| | | this.funddetailForm.expertdepositbank = ""; |
| | | this.funddetailForm.expertbankcardno = ""; |
| | | |
| | | this.showSelectionDialog = true; |
| | | }, |
| | | |
| | | //ä¸å®¶/å»çæºæ/è´¹ç¨æ¥éæºæéæ© |
| | | ConfirmDetailDialog() { |
| | | console.log(this.funddetailForm.tempExpertName); |
| | | console.log(this.funddetailForm); |
| | | let tempIndex = this.funddetailForm.index; |
| | | let tempExpertName = this.funddetailForm.beneficiaryname; |
| | | let tempUnitname = this.funddetailForm.unitname; |
| | | let singleDetail = this.rbDetails[tempIndex]; |
| | | console.log(tempExpertName); |
| | | |
| | | if (this.selectionType == "expert" || this.businessType == 4) { |
| | | if (this.expertfrom == "1" || this.experthear == "unit") { |
| | | //ä»ä¸å®¶å表è·åä¿¡æ¯ |
| | | this.personlist.map(res => { |
| | | if (tempExpertName == res.username) { |
| | | singleDetail.beneficiaryno = res.userno; |
| | | singleDetail.beneficiaryname = res.username; |
| | | singleDetail.bankcardno = res.bankcardno; |
| | | singleDetail.branchbankname = res.branchbankname; |
| | | singleDetail.depositbank = res.depositbank; |
| | | singleDetail.idcardno = res.idcardno; |
| | | singleDetail.phone = res.telephone; |
| | | singleDetail.title = res.title; |
| | | singleDetail.unitname = res.unitname; |
| | | singleDetail.unitno = parseInt(res.unitno); |
| | | } |
| | | }); |
| | | } else { |
| | | //ä¿åæ°å¢ä¸å®¶ |
| | | this.expertform.id = null; |
| | | this.expertform.userno = |
| | | this.personlist[this.personlist.length - 1].id + 1; |
| | | this.expertform.usertype = "expert"; |
| | | this.expertform.username = this.funddetailForm.expertname; |
| | | this.expertform.idcardno = this.funddetailForm.expertidcardno; |
| | | this.expertform.sex = null; |
| | | this.expertform.telephone = null; |
| | | this.expertform.address = null; |
| | | this.expertform.wbm = null; |
| | | this.expertform.pym = null; |
| | | |
| | | this.expertform.unitno = this.funddetailForm.expertunitno; |
| | | try { |
| | | let unitIndex = this.unitList.findIndex( |
| | | item => this.expertform.unitno == item.organizationid |
| | | ); |
| | | if (unitIndex > -1) { |
| | | this.expertform.unitname = this.unitList[ |
| | | unitIndex |
| | | ].organizationname; |
| | | } else { |
| | | this.expertform.unitname = this.expertform.unitno; |
| | | } |
| | | } catch { |
| | | this.expertform.unitname = this.expertform.unitno; |
| | | } |
| | | this.expertform.title = this.funddetailForm.experttitle; |
| | | this.expertform.personnelunitno = null; |
| | | |
| | | this.expertform.depositbank = this.funddetailForm.expertdepositbank; |
| | | this.expertform.bankcardno = this.funddetailForm.expertbankcardno; |
| | | this.expertform.branchbankname = null; |
| | | this.expertform.remark = null; |
| | | this.expertform.del_flag = "0"; |
| | | |
| | | addExternalperson(this.expertform).then(response => { |
| | | if (response.code == 200) { |
| | | this.$modal.msgSuccess("æ°å¢ä¸å®¶ä¿¡æ¯æåï¼"); |
| | | |
| | | listExternalperson().then(res => { |
| | | this.personlist = res.rows; |
| | | //ä»ä¸å®¶å表è·åä¿¡æ¯ |
| | | this.personlist.map(res => { |
| | | if (res.username == this.funddetailForm.expertname) { |
| | | singleDetail.beneficiaryno = res.userno; |
| | | singleDetail.beneficiaryname = res.username; |
| | | singleDetail.bankcardno = res.bankcardno; |
| | | singleDetail.branchbankname = res.branchbankname; |
| | | singleDetail.depositbank = res.depositbank; |
| | | singleDetail.idcardno = res.idcardno; |
| | | singleDetail.phone = res.telephone; |
| | | singleDetail.title = res.title; |
| | | singleDetail.unitname = res.unitname; |
| | | singleDetail.unitno = parseInt(res.unitno); |
| | | } |
| | | }); |
| | | }); |
| | | } |
| | | }); |
| | | } |
| | | } else if (this.selectionType == "unit") { |
| | | singleDetail.unitno = this.funddetailForm.unitno; |
| | | if (this.businessType == 1 || this.businessType == 2) { |
| | | try { |
| | | let unitIndex = this.unitList.findIndex( |
| | | item => singleDetail.unitno == item.organizationid |
| | | ); |
| | | if (unitIndex > -1) { |
| | | singleDetail.unitname = this.unitList[unitIndex].organizationname; |
| | | } else { |
| | | singleDetail.unitname = singleDetail.unitno; |
| | | } |
| | | } catch { |
| | | singleDetail.unitname = singleDetail.unitno; |
| | | } |
| | | } else if (this.businessType == 3 || this.businessType == 4) { |
| | | try { |
| | | let unitIndex = this.feeUnitList.findIndex( |
| | | item => singleDetail.unitno == item.reportNo |
| | | ); |
| | | |
| | | if (unitIndex > -1) { |
| | | singleDetail.unitname = this.feeUnitList[unitIndex].reportName; |
| | | singleDetail.depositbank = this.feeUnitList[ |
| | | unitIndex |
| | | ].depositbank; |
| | | singleDetail.bankcardno = this.feeUnitList[unitIndex].bankcardno; |
| | | } else { |
| | | singleDetail.unitname = singleDetail.unitno; |
| | | } |
| | | } catch { |
| | | singleDetail.unitname = singleDetail.unitno; |
| | | } |
| | | } |
| | | } |
| | | |
| | | // if (this.experthear == "unit") { |
| | | // singleDetail.unitname = ""; |
| | | // } |
| | | singleDetail.unitname = this.funddetailForm.unitname; |
| | | console.log(this.funddetailForm); |
| | | this.rbDetails[tempIndex] = singleDetail; |
| | | this.showSelectionDialog = false; |
| | | } |
| | | }, |
| | | |
| | | //çå½å¨æ - åå»ºå®æï¼å¯ä»¥è®¿é®å½åthiså®ä¾ï¼ |
| | | created() { |
| | | //è·åè·¯ç±åæ° |
| | | this.Getnetworkheader(); |
| | | this.getroute(); |
| | | this.getExternalList(); |
| | | this.getFeeUnitList(); |
| | | }, |
| | | |
| | | //çå½å¨æ - æè½½å®æï¼å¯ä»¥è®¿é®DOMå
ç´ ï¼ |
| | | mounted() { |
| | | window.addEventListener("beforeunload", e => this.beforeunloadHandler(e)); |
| | | this.getUserList(); |
| | | this.getUserProfile(); |
| | | let apifunddetailForm = this.funddetailForm; |
| | | let apiform = this.form; |
| | | console.log(apiform); |
| | | console.log(apifunddetailForm); |
| | | |
| | | // this.getFeeUnitList(); |
| | | }, |
| | | |
| | | beforeCreate() { }, //çå½å¨æ - å建ä¹å |
| | | beforeMount() { }, //çå½å¨æ - æè½½ä¹å |
| | | beforeUpdate() { }, //çå½å¨æ - æ´æ°ä¹å |
| | | updated() { }, //çå½å¨æ - æ´æ°ä¹å |
| | | beforeDestroy() { }, //çå½å¨æ - 鿝ä¹å |
| | | destroyed() { }, //çå½å¨æ - 鿝宿 |
| | | activated() { } //妿页颿keep-aliveç¼ååè½ï¼è¿ä¸ªå½æ°ä¼è§¦å |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss" scoped> |
| | | .Modifydetailscla { |
| | | padding: 10px; |
| | | |
| | | .boxdiv { |
| | | font-size: 18px; |
| | | padding: 0 30px; |
| | | padding-bottom: 60px; |
| | | |
| | | .top-text { |
| | | text-align: center; |
| | | |
| | | font-size: 23px; |
| | | font-weight: 600; |
| | | margin: 20px 0; |
| | | margin-bottom: 50px; |
| | | } |
| | | |
| | | .dialog-footer { |
| | | text-align: left; |
| | | margin-top: 10px; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .upload-demo { |
| | | text-align: center; |
| | | } |
| | | |
| | | .pdfimg { |
| | | display: flex; // text-align: center; |
| | | width: 100%; |
| | | height: 600px; |
| | | |
| | | .box-pdf { |
| | | width: 400px; |
| | | padding-top: 20px; |
| | | margin-right: 30px; |
| | | border: 1px solid #dcdfe6; |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), |
| | | 0 0 6px 0 rgba(0, 0, 0, 0.04); |
| | | box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1); // <- Add this to fix. |
| | | } |
| | | |
| | | .pdftit { |
| | | width: 200px; |
| | | padding: 20px; |
| | | font-size: 18px; |
| | | } |
| | | |
| | | .pdftit:hover { |
| | | background: #c0cef7; |
| | | } |
| | | |
| | | .pdfimgmin { |
| | | width: 60%; |
| | | |
| | | img { |
| | | width: 100%; |
| | | } |
| | | } |
| | | |
| | | .pdfimgmins { |
| | | font-size: 28px; |
| | | width: 60%; |
| | | text-align: center; |
| | | } |
| | | } |
| | | |
| | | ::v-deep .el-input--medium .el-input__inner { |
| | | height: 36px; |
| | | line-height: 36px; |
| | | text-align: center; |
| | | } |
| | | |
| | | ::v-deep .el-alert__title { |
| | | font-size: 20px; |
| | | line-height: 20px; |
| | | } |
| | | </style> |