| | |
| | | > |
| | | <el-row> |
| | | <el-col :span="8"> |
| | | <el-form-item label="申请日期" prop="createTime"> |
| | | <el-form-item label="申请日期" prop="applyTime"> |
| | | <el-date-picker |
| | | format="yyyy-MM-dd" |
| | | @change="selectapplication" |
| | | value-format="yyyy-MM-dd" |
| | | v-model="createTime" |
| | | v-model="applyTime" |
| | | type="daterange" |
| | | range-separator="至" |
| | | start-placeholder="申请开始日期" |
| | |
| | | label="申请日期" |
| | | width="120" |
| | | align="center" |
| | | prop="createTime" |
| | | prop="applyTime" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span> |
| | | <span>{{ parseTime(scope.row.applyTime, "{y}-{m}-{d}") }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | </el-row> |
| | | <el-row style="margin-top: 25px; margin-bottom: 5px"> |
| | | <el-col :span="7"> |
| | | <el-form-item label="申请日期" prop="createTime"> |
| | | <el-form-item label="申请日期" prop="applyTime"> |
| | | <!-- <el-input v-model="form.donorno" placeholder="请输入申请日期" /> --> |
| | | <el-date-picker |
| | | clearable |
| | | style="width: 100%" |
| | | v-model="form.createTime" |
| | | v-model="form.applyTime" |
| | | type="date" |
| | | value-format="yyyy-MM-dd HH:mm:ss" |
| | | placeholder="申请日期" |
| | |
| | | username: [ |
| | | { required: true, message: "请输入申请人姓名", trigger: "blur" } |
| | | ], |
| | | createTime: [ |
| | | applyTime: [ |
| | | { required: true, message: "请输入申请日期", trigger: "blur" } |
| | | ], |
| | | amountrequested: [ |
| | |
| | | }, |
| | | methods: { |
| | | selectapplication() { |
| | | console.log("时间", this.createTime); |
| | | this.queryParams.APPLICATIONBEGTIME = this.createTime[0]; |
| | | this.queryParams.APPLICATIONENDTIME = this.createTime[1]; |
| | | console.log("时间", this.applyTime); |
| | | this.queryParams.APPLICATIONBEGTIME = this.applyTime[0]; |
| | | this.queryParams.APPLICATIONENDTIME = this.applyTime[1]; |
| | | // this.getlistbypower() |
| | | }, |
| | | getlistbypower() { |
| | |
| | | this.ids.forEach(item => { |
| | | if (xuanzlist.includes(item)) { |
| | | } else { |
| | | if (this.overallids.length == 1) { |
| | | this.overallids = []; |
| | | } else { |
| | | this.overallids.splice(this.overallids.indexOf(item), 1); |
| | | } |
| | | if (this.overallidsvalue.length == 1) { |
| | | this.overallidsvalue = []; |
| | | } else { |
| | | this.overallidsvalue.splice( |
| | | this.overallidsvalue.indexOf(item), |
| | | 1 |
| | | ); |
| | | } |
| | | this.ids.splice(this.ids.indexOf(item), 1); |
| | | this.overallids.splice(this.overallids.indexOf(item), 1); |
| | | this.overallidsvalue.splice(this.overallidsvalue.indexOf(item), 1); |
| | | } |
| | | }); |
| | | } |
| | |
| | | isTaxAfter: tot |
| | | }; |
| | | if (tot == 0) { |
| | | TotalcalculationFn(bojite).then(row => { |
| | | console.log(row.msg); |
| | | if ((row.code = 200)) { |
| | | this.$modal.msgSuccess(row.msg); |
| | | } else { |
| | | this.$modal.msgError(row.msg); |
| | | } |
| | | }); |
| | | TotalcalculationFn(bojite) |
| | | .then(row => { |
| | | console.log(row.msg); |
| | | if (row.code == 200) { |
| | | this.$modal.msgSuccess(row.msg); |
| | | } else { |
| | | console.log(123); |
| | | this.$modal.msgError(row.msg); |
| | | } |
| | | }) |
| | | .catch(error => { |
| | | this.$modal.msgError(error); |
| | | }); |
| | | } else { |
| | | console.log(this.overallidsvalue); |
| | | const hasValue = this.overallidsvalue.every(obj => obj.istax == 1); |
| | | if (hasValue) { |
| | | TotalcalculationFn(bojite).then(row => { |
| | | if ((row.code = 200)) { |
| | | this.$modal.msgSuccess(row.msg); |
| | | } else { |
| | | this.$modal.msgError(row.msg); |
| | | } |
| | | }); |
| | | TotalcalculationFn(bojite) |
| | | .then(row => { |
| | | if (row.code == 200) { |
| | | this.$modal.msgSuccess(row.msg); |
| | | } else { |
| | | this.$modal.msgError(row.msg); |
| | | } |
| | | }) |
| | | .catch(error => { |
| | | this.$modal.msgError(error); |
| | | }); |
| | | } else { |
| | | this.$modal.msgError("请选择算税后的数据进行合并计算"); |
| | | } |
| | |
| | | this.form.donorno = this.curCase.donorno; |
| | | this.form.name = this.curCase.name; |
| | | this.form.infoid = this.curCase.id; |
| | | // this.form.createTime = nowdate; |
| | | // this.form.applyTime = nowdate; |
| | | //this.open = true; |
| | | //this.initFundApplyForm(); |
| | | this.fundDetailArr = []; |