| | |
| | | }}</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-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-col :span="8"> |
| | | <el-form-item label="申请说明" prop="remark"> |
| | | <el-input v-model="form.remark" placeholder="申请说明" /> |
| | | </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> |
| | | </el-row> |
| | | <el-row v-if="businessType == 2"> |
| | | <el-row> |
| | | <el-col :span="3" v-if="businessType == '1'"> |
| | | <el-button |
| | | @click.native.prevent="importFeeItems" |
| | | type="primary" |
| | | size="small" |
| | | > |
| | | 导入服务项目 |
| | | </el-button> |
| | | </el-col> |
| | | <el-col :span="3" |
| | | ><div style="margin-bottom: 15px;"> |
| | | ><div style="margin-bottom: 15px;" v-if="businessType == 2"> |
| | | <el-button |
| | | type="success" |
| | | icon="el-icon-download" |
| | | @click="Batchentry" |
| | | >批量录入</el-button |
| | | > |
| | | </div></el-col |
| | | > |
| | | </el-row> |
| | | <el-row v-if="businessType == 1 && operationType == 'check'"> |
| | | <el-col :span="3" |
| | | ><div style="margin-bottom: 15px;"> |
| | | </div> |
| | | </el-col> |
| | | |
| | | <el-col :span="3"> |
| | | <div |
| | | style="margin-bottom: 15px;" |
| | | v-if=" |
| | | userprofile.nickName == '陈慕华' && operationType == 'check' |
| | | " |
| | | > |
| | | <el-button |
| | | type="success" |
| | | icon="el-icon-edit-outline" |
| | | @click="Manualcalculationfn" |
| | | >计算明细</el-button |
| | | > |
| | | </div></el-col |
| | | > |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row> |
| | | <el-table |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="itemdescribe" |
| | | align="center" |
| | | width="330" |
| | | label="项目说明" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | type="textarea" |
| | | :rows="2" |
| | | v-model="scope.row.itemdescribe" |
| | | placeholder="项目说明" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="remark" |
| | | align="center" |
| | | width="330" |
| | |
| | | /> |
| | | </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="申请材料状态" prop="infoid"> |
| | | <el-radio-group |
| | | v-model="form.checkstatus" |
| | | align="left" |
| | | :disabled="userprofile.nickName != '陈慕华'" |
| | | > |
| | | <el-radio :label="1">待申请材料</el-radio> |
| | | <el-radio :label="2">申请材料通过等待材料</el-radio> |
| | | <el-radio :label="3">已收到报销材料</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row |
| | | style="margin-top: 5px; margin-bottom: 5px" |
| | | v-if="operationType == 'check'" |
| | | > |
| | | <el-col :span="7"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row v-if="operationType == 'check'"> |
| | | <el-col :span="17"> |
| | | <el-form-item label="审核备注" align="left"> |
| | |
| | | >提交保存</el-button |
| | | > |
| | | <el-button |
| | | type="primary" |
| | | type="success" |
| | | @click="handleup" |
| | | v-if=" |
| | | operationType == 'add' || |
| | | operationType == 'update' || |
| | | ismanager == true |
| | | " |
| | | v-if="operationType == 'add' || operationType == 'update'" |
| | | >上报</el-button |
| | | > |
| | | <el-button |
| | |
| | | " |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | prop="beneficiaryname" |
| | | align="center" |
| | | label="姓名" |
| | | v-if="form.applytype == '1' || form.applytype == '2'" |
| | | > |
| | | </el-table-column> |
| | | </el-table-column> --> |
| | | |
| | | <el-table-column |
| | | prop="unitno" |
| | | <!-- <el-table-column |
| | | prop="beneficiaryname" |
| | | align="center" |
| | | label="单位名称" |
| | | width="250" |
| | | v-if="form.applytype != '4'" |
| | | > |
| | | </el-table-column> |
| | | </el-table-column> --> |
| | | <el-table-column |
| | | prop="beneficiaryname" |
| | | align="center" |
| | | label="单位/个人" |
| | | width="250" |
| | | v-if="form.applytype == '4'" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | ismanager: false, |
| | | //专家费选择:1是专家库,2是新增 |
| | | expertfrom: "1", |
| | | baselisttages: [ |
| | | { |
| | | id: 1, |
| | | name: "材料待审核" |
| | | }, |
| | | { |
| | | id: 2, |
| | | name: "审查通过等待邮寄纸质材料" |
| | | }, |
| | | { |
| | | id: 3, |
| | | name: "已收到纸质材料" |
| | | } |
| | | ], |
| | | |
| | | //捐献案例列表 |
| | | donateList: [], |
| | |
| | | money: "0", |
| | | startTime: "" |
| | | }, |
| | | |
| | | //服务费用参数 |
| | | expenseQueryParams: { |
| | | pageNum: 1, |
| | |
| | | this.reset(); |
| | | |
| | | getFund(this.curId).then(response => { |
| | | console.log(response.data, "初始"); |
| | | |
| | | this.form = response.data; |
| | | sessionStorage.removeItem("apiform"); |
| | | |
| | |
| | | this.reset(); |
| | | |
| | | getFund(this.curId).then(response => { |
| | | console.log(response.data, "初始"); |
| | | |
| | | this.form = response.data; |
| | | sessionStorage.removeItem("apiform"); |
| | | sessionStorage.setItem("apiform", JSON.stringify(this.form)); |
| | |
| | | this.reset(); |
| | | |
| | | getFund(this.curId).then(response => { |
| | | console.log(response.data, "初始"); |
| | | this.form = response.data; |
| | | sessionStorage.removeItem("apiform"); |
| | | |
| | |
| | | JSON.stringify(this.rbDetails) == |
| | | sessionStorage.getItem("apifunddetail")) || |
| | | !sessionStorage.getItem("apifunddetail") |
| | | ){ |
| | | }else{ |
| | | this.$message.error('请保存后再进行上报'); |
| | | return |
| | | ) { |
| | | } else { |
| | | this.$message.error("请保存后再进行上报"); |
| | | return; |
| | | } |
| | | this.$confirm("是否确认将登记记录上报?", "提示", { |
| | | confirmButtonText: "确定", |
| | |
| | | //查找是否存在登记完成记录 |
| | | //判断是否存在上报记录 |
| | | this.form.recordstatus = 0; |
| | | if (!this.form.id) { |
| | | this.form.id = this.$route.query.id; |
| | | } |
| | | |
| | | updateFund(this.form).then(response => { |
| | | if (response.code == 200) { |
| | | this.$message({ |
| | | type: "success", |
| | | message: "申请成功" |
| | | }); |
| | | this.cancel() |
| | | this.cancel(); |
| | | } else { |
| | | this.$message({ |
| | | type: "error", |
| | |
| | | ].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") { |
| | |
| | | ); |
| | | sessionStorage.setItem("apiform", JSON.stringify(this.form)); |
| | | addorupdateFund(this.form).then(response => { |
| | | console.log(this.form); |
| | | console.log(response, "保存返参"); |
| | | if (response.code === 200) { |
| | | this.$modal.msgSuccess("申请单保存成功!"); |
| | | if (this.userprofile.nickName != "陈慕华") { |
| | | this.$modal.msgSuccess("申请单保存成功!"); |
| | | } |
| | | this.$store.dispatch("tagsView/delView", this.$route); |
| | | this.$router.push({ |
| | | path: "/finance/applyDetail/", |
| | |
| | | //关闭窗口 |
| | | this.loading = false; |
| | | // this.getfundList(); |
| | | // this.$store.dispatch("tagsView/delView", this.$route); |
| | | // this.$router.go(-1); |
| | | } |
| | | }); |
| | | }, 500), |
| | | |
| | | //审批提交 |
| | | checksubmit() { |
| | | console.log(this.checkObj.flowlevelone); |
| | | if ( |
| | | this.form.checkstatus != 3 && |
| | | this.userprofile.nickName == "陈慕华" && |
| | | this.checkObj.flowlevelone == 1 |
| | | ) { |
| | | this.$modal.msgError("请选确认材料状态已收到!"); |
| | | return; |
| | | } |
| | | let checkFundObj = { |
| | | // fundid: this.checkObj.fundid, |
| | | fundid: this.curId, |
| | |
| | | //关闭窗口 |
| | | this.reset(); |
| | | this.$modal.msgSuccess("审核完成!"); |
| | | if (this.userprofile.nickName == "陈慕华") { |
| | | this.submitForm(); |
| | | } |
| | | this.$store.dispatch("tagsView/delView", this.$route); |
| | | this.$router.go(-1); |
| | | }); |
| | |
| | | // this.reset(); |
| | | console.log(-this.Routinglevel); |
| | | this.$store.dispatch("tagsView/delView", this.$route); |
| | | this.$router.go(-this.Routinglevel); |
| | | |
| | | this.$router.go(-this.Routinglevel); |
| | | }, |
| | | |
| | | //获取当前用户信息 |
| | | getUserProfile() { |
| | | getUserProfile().then(res => { |
| | | this.userprofile = res.data; |
| | | console.log(this.userprofile); |
| | | this.standardlevel = res.data.standardlevel; |
| | | if ( |
| | | this.userprofile.userName == "admin" || |
| | |
| | | //获取服务项目 |
| | | getRowFeeItems(rowindex, row) { |
| | | let list = this.feeItemTypes.filter(r => r.itemType == row.applytype); |
| | | console.log(list[0]); |
| | | row.itemlist = list[0].itemDetails; |
| | | this.$set(this.rbDetails, rowindex, row); |
| | | }, |
| | |
| | | //获取参数 |
| | | // this.taxParam.beneficiaryNo = row.beneficiaryno; |
| | | // this.taxParam.startTime = this.form.createTime.substring(0, 10); |
| | | |
| | | // if (type == "A") { |
| | | // // 计算个税、税后金额 |
| | | // this.taxParam.money = row.amount.toString(); |
| | |
| | | updateBy: null, |
| | | updateTime: null, |
| | | uploadflag: null, |
| | | itemdescribe: null, |
| | | uploadtime: null, |
| | | itemlist: [{ id: "27", itemName: "器官捐献伦理审核专家费" }], |
| | | servicesscope: null, |
| | |
| | | beneficiaryname: null, |
| | | beneficiaryno: null, |
| | | unitname: null, |
| | | itemdescribe: null, |
| | | unitno: null, |
| | | uintuserno: null, |
| | | title: null, |