| | |
| | | </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="loadFeeItems(scope.row)"> |
| | | <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> |
| | |
| | | <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 filterable |
| | | @change="selectedRemark(scope.row)"> |
| | | @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> |
| | |
| | | <el-input v-model="scope.row.bankcardno" placeholder="银行帐号" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="remark" align="center" label="备注" v-if="form.applytype == '4'"> |
| | | <el-table-column prop="remark" align="center" label="备注"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-model="scope.row.remark" placeholder="备注" /> |
| | | </template> |
| | |
| | | uploadSccess(response, file, fileList) |
| | | " :on-preview="downFile" :disabled="operationType == 'detail'" :on-error="handleUploadError" |
| | | :on-exceed="handleExceed" :on-remove="remove" accept="image/*,.pdf"> |
| | | <el-button :disabled="operationType == 'detail'" size="small" type="primary">上传</el-button> |
| | | <el-button :disabled="operationType == 'detail'" size="small" type="primary">上传票据</el-button> |
| | | </el-upload> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | uploadSccess(response, file, fileList) |
| | | " :on-preview="downFile" :disabled="operationType == 'detail'" :on-error="handleUploadError" |
| | | :on-exceed="handleExceed" :on-remove="remove" accept="image/*,.pdf"> |
| | | <el-button :disabled="operationType == 'detail'" size="small" type="primary">上传</el-button> |
| | | <el-button :disabled="operationType == 'detail'" size="small" type="primary">上传票据</el-button> |
| | | </el-upload> |
| | | </div> |
| | | <!-- <div |
| | |
| | | //明细处理 |
| | | getownFundDetail(this.curId).then(res => { |
| | | this.rbDetails = res.data; |
| | | console.log(res); |
| | | |
| | | console.log(this.curId, res.data); |
| | | if (this.rbDetails.length > 0) { |
| | | for (let m = 0; m < this.rbDetails.length; m++) { |
| | | this.rbDetails[m].itemlist = []; |
| | |
| | | }); |
| | | }); |
| | | }, |
| | | |
| | | /** 查看按钮操作 */ |
| | | handleDetail() { |
| | | this.isopen = 0; |
| | | this.reset(); |
| | | |
| | | getFund(this.curId).then(response => { |
| | | this.form = 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.getFeeItems(m, this.rbDetails[m]); |
| | | |
| | | this.rbDetails[m].rowfeeblocks = []; |
| | | this.rbDetails[m].rowfeeblocks.push({ |
| | | servicesscope: this.rbDetails[m].servicesscope, |
| | | expensedescribe: this.rbDetails[m].servicesscopename, |
| | | expense: this.rbDetails[m].expense, |
| | | remark: this.rbDetails[m].servicesscopename |
| | | }); |
| | | } |
| | | |
| | | 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; |
| | |
| | | |
| | | }, |
| | | |
| | | /** 查看按钮操作 */ |
| | | handleDetail() { |
| | | this.isopen = 0; |
| | | this.reset(); |
| | | |
| | | getFund(this.curId).then(response => { |
| | | this.form = response.data; |
| | | //附件处理 |
| | | // this.fileList = this.form.annexbankcard ? this.form.annexbankcard.split(",").map(item => ({ url: item, name: item })) : [] |
| | | |
| | | //业务明细 |
| | | getownFundDetail(this.curId).then(res => { |
| | | console.log(res); |
| | | this.rbDetails = res.data; |
| | | for (let m = 0; m < this.rbDetails.length; m++) { |
| | | this.rbDetails[m].itemlist = []; |
| | | this.getFeeItems(m, this.rbDetails[m]); |
| | | this.rbDetails[m].rowfeeblocks = []; |
| | | this.rbDetails[m].rowfeeblocks.push({ |
| | | expense: this.rbDetails[m].expense, |
| | | expensedescribe: this.rbDetails[m].servicesscopename, |
| | | remark: this.rbDetails[m].servicesscope, |
| | | servicesscope: this.rbDetails[m].servicesscope |
| | | }); |
| | | } |
| | | |
| | | 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("是否确认删除该记录?") |
| | |
| | | }, |
| | | |
| | | //加载服务项目 |
| | | loadFeeItems(row) { |
| | | verifyFeeItemType(row) { |
| | | let list = this.feeItemTypes.filter(r => r.itemType == row.applytype); |
| | | row.itemlist = list[0].itemDetails; |
| | | row.itemid = null; |
| | |
| | | }, |
| | | |
| | | //获取费用项目的备注信息 |
| | | selectedRemark(row) { |
| | | verifyFeeRemark(row) { |
| | | row.rowfeeblocks.forEach((item, i) => { |
| | | if (item.servicesscope === row.servicesscope) { |
| | | row.servicesscopename = item.expensedescribe; |