jg-waiwang-pro
胡川虎 3 months ago
parent bee34eae3a
commit 5f406ebdb9

@ -271,6 +271,18 @@ public class PaymentApplicationServiceImpl extends ServiceImpl<PaymentApplicatio
paymentApplicationQueryWrapper.lambda().like(PaymentApplicationEntity::getDocState,value);
}
if(ObjectUtil.isNotEmpty(paymentApplicationPagination.getPreparationTime())){
paymentApplicationNum++;
List PreparationTimeList = JsonUtil.getJsonToList(paymentApplicationPagination.getPreparationTime(),String.class);
Long fir = Long.valueOf(String.valueOf(PreparationTimeList.get(0)));
Long sec = Long.valueOf(String.valueOf(PreparationTimeList.get(1)));
paymentApplicationQueryWrapper.ge("f_creator_time", new Date(fir))
.le("f_creator_time", DateUtil.stringToDate(DateUtil.daFormatYmd(sec) + " 23:59:59"));
}
}
if(paymentapplicationsettlementNum>0){

@ -188,19 +188,6 @@ public class SalecollectionServiceImpl extends ServiceImpl<SalecollectionMapper,
}
}
if(isPc){
if(ObjectUtil.isNotEmpty(salecollectionPagination.getPrepaymentDt())){
salecollectionNum++;
List PrepaymentDtList = JsonUtil.getJsonToList(salecollectionPagination.getPrepaymentDt(),String.class);
Long fir = Long.valueOf(String.valueOf(PrepaymentDtList.get(0)));
Long sec = Long.valueOf(String.valueOf(PrepaymentDtList.get(1)));
salecollectionQueryWrapper.lambda().ge(SalecollectionEntity::getPrepaymentDt, new Date(fir))
.le(SalecollectionEntity::getPrepaymentDt, DateUtil.stringToDate(DateUtil.daFormatYmd(sec) + " 23:59:59"));
}
if(ObjectUtil.isNotEmpty(salecollectionPagination.getCustName())){
salecollectionNum++;
@ -210,7 +197,18 @@ public class SalecollectionServiceImpl extends ServiceImpl<SalecollectionMapper,
salecollectionQueryWrapper.lambda().like(SalecollectionEntity::getCustName,value);
}
if(ObjectUtil.isNotEmpty(salecollectionPagination.getPrepaymentDt())){
salecollectionNum++;
List PreparationTimeList = JsonUtil.getJsonToList(salecollectionPagination.getPrepaymentDt(),String.class);
Long fir = Long.valueOf(String.valueOf(PreparationTimeList.get(0)));
Long sec = Long.valueOf(String.valueOf(PreparationTimeList.get(1)));
salecollectionQueryWrapper.ge("prepayment_dt", new Date(fir))
.le("prepayment_dt", DateUtil.stringToDate(DateUtil.daFormatYmd(sec) + " 23:59:59"));
}
if(ObjectUtil.isNotEmpty(salecollectionPagination.getSettlementState())){
salecollectionNum++;

@ -381,7 +381,7 @@ public class PaymentApplicationController {
*/
@Operation(summary = "调用资金系统视图获取开户行")
@PostMapping("/getBankList")
public ActionResult getBankList()
public ActionResult getBankList(@RequestParam("bankName") String bankName,@RequestParam("cityName") String cityName)
{
Connection con = null;// 创建一个数据库连接
PreparedStatement pre = null;// 创建预编译语句对象一般都是用这个而不用Statement
@ -393,6 +393,13 @@ public class PaymentApplicationController {
paymentApplicationEntity.setProvince("上海市");
paymentApplicationEntity.setCity("青浦区");
list.add(paymentApplicationEntity);
paymentApplicationEntity = new PaymentApplicationEntity();
paymentApplicationEntity.setInterbankNumber("kaihu002");
paymentApplicationEntity.setBankName("勋业路支行2");
paymentApplicationEntity.setProvince("上海市2");
paymentApplicationEntity.setCity("青浦区2");
list.add(paymentApplicationEntity);
/*try
{
Class.forName("oracle.jdbc.driver.OracleDriver");// 加载Oracle驱动程序
@ -402,13 +409,19 @@ public class PaymentApplicationController {
String password = "jgtest202407191";// 你安装时选设置的密码
con = DriverManager.getConnection(url, user, password);// 获取连接
System.out.println("连接成功!");
String sql = "select * from JG_VIEW_INPUT_BANK_INFO";// 预编译语句,“?”代表参数; v_user其实是一个视图
String sql = "select * from JG_VIEW_INPUT_BANK_INFO where 1=1";// 预编译语句,“?”代表参数; v_user其实是一个视图
if(StringUtil.isNotEmpty(cityName)){
sql = sql + " AND CITY_NAME like '%" + cityName + "%'";
}
if(StringUtil.isNotEmpty(bankName)){
sql = sql + " AND BANK_NAME like '%" + bankName + "%'";
}
pre = con.prepareStatement(sql);// 实例化预编译语句
//pre.setString(1, "张三");// 设置参数前面的1表示参数的索引而不是表中列名的索引
result = pre.executeQuery();// 执行查询,注意括号中不需要再加参数
System.out.println(result);
PaymentApplicationEntity paymentApplicationEntity = new PaymentApplicationEntity();
while (result.next())
while (result.next()){
// 当结果集不为空时
paymentApplicationEntity = new PaymentApplicationEntity();
paymentApplicationEntity.setInterbankNumber(result.getString("SYS_BANK_CODE"));
@ -416,6 +429,8 @@ public class PaymentApplicationController {
paymentApplicationEntity.setProvince(result.getString("PROV_NAME"));
paymentApplicationEntity.setCity(result.getString("CITY_NAME"));
list.add(paymentApplicationEntity);
paymentApplicationEntity = null;
}
}
catch (Exception e)
{
@ -451,7 +466,7 @@ public class PaymentApplicationController {
*/
@Operation(summary = "调用资金计划数据视图")
@PostMapping("/getPlanList")
public ActionResult getPlanList()
public ActionResult getPlanList(@RequestParam("unitName") String unitName,@RequestParam("purpose") String purpose)
{
Connection con = null;// 创建一个数据库连接
PreparedStatement pre = null;// 创建预编译语句对象一般都是用这个而不用Statement
@ -472,6 +487,21 @@ public class PaymentApplicationController {
paymentApplicationEntity.setPurpose("用于装修");
paymentApplicationEntity.setExpectPaymentDate(new Date());
list.add(paymentApplicationEntity);
paymentApplicationEntity = new PaymentApplicationEntity();
paymentApplicationEntity.setFundingPlanDetailCode("codedetail2222");
paymentApplicationEntity.setFundingPlanCode("code222");
paymentApplicationEntity.setUnitName("单位2");
paymentApplicationEntity.setPlanSubjectCode("subject2");
paymentApplicationEntity.setPlanSubjectName("科目2");
paymentApplicationEntity.setCollectionUnitName("上海长江电气2");
paymentApplicationEntity.setReportingAmount(new BigDecimal("8002"));
paymentApplicationEntity.setAddAmount(new BigDecimal("7002"));
paymentApplicationEntity.setUpwardFloatingAmount(new BigDecimal("6002"));
paymentApplicationEntity.setProcessMoney(new BigDecimal("4002"));
paymentApplicationEntity.setPlanAvailableAmount(new BigDecimal("5002"));
paymentApplicationEntity.setPurpose("用于装修2");
paymentApplicationEntity.setExpectPaymentDate(new Date());
list.add(paymentApplicationEntity);
/*try
{
Class.forName("oracle.jdbc.driver.OracleDriver");// 加载Oracle驱动程序
@ -481,7 +511,13 @@ public class PaymentApplicationController {
String password = "jgtest202407191";// 你安装时选设置的密码
con = DriverManager.getConnection(url, user, password);// 获取连接
System.out.println("连接成功!");
String sql = "select * from JG_VIEW_BUDGET_DETAIL_WEEK";// 预编译语句,“?”代表参数; v_user其实是一个视图
String sql = "select * from JG_VIEW_BUDGET_DETAIL_WEEK WHERE 1=1 ";// 预编译语句,“?”代表参数; v_user其实是一个视图
if(StringUtil.isNotEmpty(unitName)){
sql = sql + " AND CORP_NAME like '%" + unitName + "%'";
}
if(StringUtil.isNotEmpty(purpose)){
sql = sql + " AND PURPOSE like '%" + purpose + "%'";
}
pre = con.prepareStatement(sql);// 实例化预编译语句
//pre.setString(1, "张三");// 设置参数前面的1表示参数的索引而不是表中列名的索引
result = pre.executeQuery();// 执行查询,注意括号中不需要再加参数

@ -8,6 +8,7 @@ import jnpf.base.ActionResult;
import jnpf.base.UserInfo;
import jnpf.exception.DataException;
import jnpf.permission.entity.UserEntity;
import jnpf.permission.service.UserService;
import jnpf.service.*;
import jnpf.entity.*;
import jnpf.util.*;
@ -73,7 +74,8 @@ public class SalecollectionController {
@Autowired
private SalecollectionsettlementService salecollectionsettlementService;
@Autowired
private UserService userService;
@Autowired
private ConfigValueUtil configValueUtil;
@ -90,6 +92,12 @@ public class SalecollectionController {
List<SalecollectionEntity> list= salecollectionService.getList(salecollectionPagination);
List<Map<String, Object>> realList=new ArrayList<>();
for (SalecollectionEntity entity : list) {
if(StringUtil.isNotEmpty(entity.getDistributionUserId())){
UserEntity userEntity = userService.getById(entity.getDistributionUserId());
if(userEntity != null){
entity.setDistributionUserName(userEntity.getRealName());
}
}
Map<String, Object> salecollectionMap=JsonUtil.entityToMap(entity);
salecollectionMap.put("id", salecollectionMap.get("id"));
//副表数据

@ -135,4 +135,7 @@ public class SalecollectionEntity {
private String distributionUserId;
@TableField(value = "DISTRIBUTION_TIME" , updateStrategy = FieldStrategy.IGNORED)
private Date distributionTime;
@TableField(exist = false)
private String distributionUserName;
}

@ -44,4 +44,6 @@ public class PaymentApplicationPagination extends Pagination {
private String applyWeight;
private String creatorUserName;
@JsonProperty("preparationTime")
private Object preparationTime;
}

@ -262,6 +262,7 @@ export default {
columnOptions: columnOptions.join(","),
paramList
};
debugger
getDataInterfaceDataSelect(this.interfaceId, query)
.then(res => {
this.list = res.data.list;

@ -0,0 +1,441 @@
<template>
<div class="popupSelect-container">
<div class="el-select" @click="openDialog">
<el-input :placeholder="placeholder" v-model="innerValue" readonly :validate-event="false"
@mouseenter.native="inputHovering = true" @mouseleave.native="inputHovering = false"
:disabled="disabled">
<template slot="suffix">
<i v-show="!showClose"
:class="['el-select__caret', 'el-input__icon', 'el-icon-arrow-up']"></i>
<i v-if="showClose" class="el-select__caret el-input__icon el-icon-circle-close"
@click="clear"></i>
</template>
</el-input>
</div>
<template v-if="popupType === 'dialog'">
<el-dialog :title="popupTitle" :close-on-click-modal="false" :visible.sync="visible"
v-if="visible" class="JNPF-dialog JNPF-dialog_center" lock-scroll append-to-body
:width="popupWidth">
<el-row class="JNPF-common-search-box" :gutter="16">
<el-form @submit.native.prevent>
<el-col :span="8">
<el-form-item label="计划所属单位名称">
<el-input v-model="listQuery.unitName" placeholder="请输入关键词查询" clearable class="search-input" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="用途">
<el-input v-model="listQuery.purpose" placeholder="请输入关键词查询" clearable class="search-input" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="search()">
{{ $t("common.search") }}
</el-button>
<el-button icon="el-icon-refresh-right" @click="reset()">{{ $t("common.reset") }}
</el-button>
</el-form-item>
</el-col>
</el-form>
<div class="JNPF-common-search-box-right">
<el-tooltip effect="dark" :content="$t('common.refresh')" placement="top">
<el-link icon="icon-ym icon-ym-Refresh JNPF-common-head-icon" :underline="false"
@click="initData()" />
</el-tooltip>
</div>
</el-row>
<JNPF-table v-loading="listLoading" :data="list" :border="false" highlight-current-row
@row-click="rowClick" :hasNO="false" @row-dblclick="dbRowClick">
<el-table-column width="35">
<template slot-scope="scope">
<el-radio :label="scope.row[propsValue]" v-model="checked">&nbsp;</el-radio>
</template>
</el-table-column>
<el-table-column type="index" width="50" label="序号" align="center" />
<el-table-column :prop="item.value" :label="item.label" v-for="(item, i) in columnOptions"
:key="i" />
</JNPF-table>
<pagination :total="total" :page.sync="listQuery.currentPage"
:limit.sync="listQuery.pageSize" @pagination="initData" v-if="hasPage" />
<span slot="footer" class="dialog-footer">
<el-button @click="visible = false" size="small">{{
$t("common.cancelButton")
}}</el-button>
<el-button type="primary" @click="select()" size="small">{{ $t("common.confirmButton") }}
</el-button>
</span>
</el-dialog>
</template>
<template v-if="popupType === 'drawer'">
<el-drawer :title="popupTitle" :visible.sync="visible" :wrapperClosable="false" ref="drawer"
:size="popupWidth" append-to-body class="JNPF-common-drawer">
<div class="JNPF-flex-main">
<el-row class="JNPF-common-search-box" :gutter="16">
<el-form @submit.native.prevent>
<el-col :span="8">
<el-form-item label="计划所属单位名称">
<el-input v-model="listQuery.unitName" placeholder="请输入关键词查询" clearable class="search-input" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="用途">
<el-input v-model="listQuery.purpose" placeholder="请输入关键词查询" clearable class="search-input" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="search()">
{{ $t("common.search") }}
</el-button>
<el-button icon="el-icon-refresh-right" @click="reset()">{{ $t("common.reset") }}
</el-button>
</el-form-item>
</el-col>
</el-form>
<div class="JNPF-common-search-box-right">
<el-tooltip effect="dark" :content="$t('common.refresh')" placement="top">
<el-link icon="icon-ym icon-ym-Refresh JNPF-common-head-icon" :underline="false"
@click="initData()" />
</el-tooltip>
</div>
</el-row>
<JNPF-table v-loading="listLoading" :data="list" :border="false" highlight-current-row
@row-click="rowClick" :hasNO="false">
<el-table-column width="35">
<template slot-scope="scope">
<el-radio :label="scope.row[propsValue]" v-model="checked">&nbsp;</el-radio>
</template>
</el-table-column>
<el-table-column type="index" width="50" label="序号" align="center" />
<el-table-column :prop="item.value" :label="item.label"
v-for="(item, i) in columnOptions" :key="i" />
</JNPF-table>
<pagination :total="total" :page.sync="listQuery.currentPage"
:limit.sync="listQuery.pageSize" @pagination="initData" v-if="hasPage" />
<div class="drawer-footer">
<el-button @click="visible = false" size="small">{{ $t("common.cancelButton") }}
</el-button>
<el-button type="primary" @click="select()"
size="small">{{ $t("common.confirmButton") }}
</el-button>
</div>
</div>
</el-drawer>
</template>
</div>
</template>
<script>
import {
getDataInterfaceDataSelect,
getDataInterfaceDataInfoByIds
} from "@/api/systemData/dataInterface";
import emitter from "element-ui/src/mixins/emitter";
let {
methods: { dispatch }
} = emitter;
export default {
name: "JnpfPopupSelectPaymentFundingPlanView",
props: {
value: {
default: ""
},
rowIndex: {
default: null
},
formData: {
type: Object
},
templateJson: {
type: Array,
default: () => []
},
interfaceId: {
type: String,
default: ""
},
innerName: {
type: String,
default: ""
},
placeholder: {
type: String,
default: "请选择"
},
propsValue: {
type: String,
default: "id"
},
relationField: {
type: String,
default: "fullName"
},
popupType: {
type: String,
default: "dialog"
},
popupTitle: {
type: String,
default: "选择数据"
},
popupWidth: {
type: String,
default: "800px"
},
field: {
type: String,
default: ""
},
columnOptions: {
type: Array,
default: () => []
},
hasPage: {
type: Boolean,
default: false
},
pageSize: {
type: Number,
default: 20
},
multiple: {
type: Boolean,
default: false
},
disabled: {
type: Boolean,
default: false
},
clearable: {
type: Boolean,
default: true
}
},
model: {
prop: "value",
event: "input"
},
data() {
return {
multipleSelectionItem: [],
multipleSelection: [],
list: [],
innerValue: "",
listQuery: {
keyword: "",
unitName: '',
purpose: '',
currentPage: 1,
pageSize: 20
},
total: 0,
checked: "",
checkedTxt: "",
checkedRow: {},
listLoading: false,
visible: false,
inputHovering: false
};
},
watch: {
value(val) {
this.setDefault();
}
},
computed: {
showClose() {
let hasValue = this.multiple
? Array.isArray(this.value) && this.value.length > 0
: this.value !== undefined && this.value !== null && this.value !== "";
let criteria =
this.clearable && !this.disabled && this.inputHovering && hasValue;
return criteria;
},
propsLabel() {
return this.columnOptions[0].value;
}
},
created() {
this.listQuery.pageSize = this.hasPage ? this.pageSize : 100000;
this.setDefault();
},
methods: {
handleSelectionChange(val) {
this.multipleSelectionItem = val
const res = val.map(item => item.id)
this.multipleSelection = res
},
initData() {
if (!this.interfaceId) return;
this.listLoading = true;
const paramList = this.getParamList();
const columnOptions = this.columnOptions.map(o => o.value);
if(this.listQuery.unitName == '' || this.listQuery.purpose == ''){
this.list = [];
this.total = 0;
this.listLoading = false;
return false;
}else{
paramList[0].defaultValue = this.listQuery.unitName;
paramList[1].defaultValue = this.listQuery.purpose;
}
let query = {
...this.listQuery,
interfaceId: this.interfaceId,
propsValue: this.propsValue,
relationField: this.relationField,
columnOptions: columnOptions.join(","),
paramList
};
getDataInterfaceDataSelect(this.interfaceId, query)
.then(res => {
this.list = res.data.list;
this.total = res.data.pagination.total;
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
},
getParamList() {
let templateJson = this.templateJson;
if (!this.formData) return templateJson;
for (let i = 0; i < templateJson.length; i++) {
if (templateJson[i].relationField) {
if (templateJson[i].relationField.includes("-")) {
let tableVModel = templateJson[i].relationField.split("-")[0];
let childVModel = templateJson[i].relationField.split("-")[1];
templateJson[i].defaultValue =
(this.formData[tableVModel] &&
this.formData[tableVModel][this.rowIndex] &&
this.formData[tableVModel][this.rowIndex][childVModel]) ||
"";
} else {
templateJson[i].defaultValue =
this.formData[templateJson[i].relationField] || "";
}
}
}
return templateJson;
},
interfaceDataHandler(data) {
if (!data.dataProcessing) return data.list;
const dataHandler = this.jnpf.getScriptFunc.call(
this,
data.dataProcessing
);
if (!dataHandler) return data.list;
return dataHandler(data.list);
},
search() {
if(this.listQuery.unitName == '' || this.listQuery.purpose == ''){
this.$message({
message: '请输入计划所属单位名称和用途查询',
type: 'error',
duration: 1000
})
return false
}
this.initData();
this.listQuery.currentPage = 1;
this.listQuery.pageSize = this.hasPage ? this.pageSize : 10000;
},
reset() {
this.listQuery.keyword = "";
this.listQuery.currentPage = 1;
this.listQuery.pageSize = this.hasPage ? this.pageSize : 10000;
this.initData();
},
openDialog() {
if (this.disabled) return;
this.checked = this.value;
this.visible = true;
this.reset();
},
clear(event) {
this.checked = "";
this.innerValue = "";
this.checkedRow = {};
this.$emit("input", this.checked);
this.$emit("change", this.checked, this.checkedRow, this.rowIndex);
dispatch.call(this, "ElFormItem", "el.form.change", this.checked);
event.stopPropagation();
},
select() {
if (!this.checked) return;
this.innerValue = this.checkedTxt;
this.$emit("input", this.checked);
this.$emit("change", this.checked, this.checkedRow, this.rowIndex);
dispatch.call(this, "ElFormItem", "el.form.change", this.checked);
this.visible = false;
},
rowClick(row) {
if (this.checked == row[this.propsValue]) {
this.select();
} else {
this.checked = row[this.propsValue];
this.checkedTxt = row[this.relationField];
this.checkedRow = row;
}
},
dbRowClick(row) {
this.checked = row[this.propsValue];
this.checkedTxt = row[this.relationField];
this.checkedRow = row;
this.select();
},
setDefault() {
if (this.value) {
if (!this.interfaceId) return;
const paramList = this.getParamList();
let query = {
ids: [this.value],
interfaceId: this.interfaceId,
propsValue: this.propsValue,
relationField: this.relationField,
paramList
};
let that = this;
getDataInterfaceDataInfoByIds(this.interfaceId, query).then(res => {
const data = res.data && res.data.length ? res.data[0] : {};
this.innerValue = data[this.relationField];
if (!this.innerValue) {
this.innerValue = this.innerName;
}
if (!this.field) return;
let relationData = this.$store.state.generator.relationData;
this.$set(relationData, this.field, data);
this.$eventBus.$emit("popupAttrEventBus", relationData, this.field);
this.$store.commit("generator/UPDATE_RELATION_DATA", relationData);
});
} else {
this.innerValue = "";
if (!this.field) return;
let relationData = this.$store.state.generator.relationData;
this.$set(relationData, this.field, {});
this.$eventBus.$emit("popupAttrEventBus", relationData, this.field);
this.$store.commit("generator/UPDATE_RELATION_DATA", relationData);
}
}
}
};
</script>
<style lang="scss" scoped>
>>> .el-dialog__body {
height: 70vh;
padding: 0 0 10px !important;
display: flex;
flex-direction: column;
overflow: hidden;
.JNPF-common-search-box {
margin-bottom: 0;
.JNPF-common-search-box-right {
padding: 10px 10px 0 0;
}
}
}
</style>

@ -0,0 +1,441 @@
<template>
<div class="popupSelect-container">
<div class="el-select" @click="openDialog">
<el-input :placeholder="placeholder" v-model="innerValue" readonly :validate-event="false"
@mouseenter.native="inputHovering = true" @mouseleave.native="inputHovering = false"
:disabled="disabled">
<template slot="suffix">
<i v-show="!showClose"
:class="['el-select__caret', 'el-input__icon', 'el-icon-arrow-up']"></i>
<i v-if="showClose" class="el-select__caret el-input__icon el-icon-circle-close"
@click="clear"></i>
</template>
</el-input>
</div>
<template v-if="popupType === 'dialog'">
<el-dialog :title="popupTitle" :close-on-click-modal="false" :visible.sync="visible"
v-if="visible" class="JNPF-dialog JNPF-dialog_center" lock-scroll append-to-body
:width="popupWidth">
<el-row class="JNPF-common-search-box" :gutter="16">
<el-form @submit.native.prevent>
<el-col :span="8">
<el-form-item label="银行">
<el-input v-model="listQuery.bankName" placeholder="请输入关键词查询" clearable class="search-input" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="城市">
<el-input v-model="listQuery.cityName" placeholder="请输入关键词查询" clearable class="search-input" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="search()">
{{ $t("common.search") }}
</el-button>
<el-button icon="el-icon-refresh-right" @click="reset()">{{ $t("common.reset") }}
</el-button>
</el-form-item>
</el-col>
</el-form>
<div class="JNPF-common-search-box-right">
<el-tooltip effect="dark" :content="$t('common.refresh')" placement="top">
<el-link icon="icon-ym icon-ym-Refresh JNPF-common-head-icon" :underline="false"
@click="initData()" />
</el-tooltip>
</div>
</el-row>
<JNPF-table v-loading="listLoading" :data="list" :border="false" highlight-current-row
@row-click="rowClick" :hasNO="false" @row-dblclick="dbRowClick">
<el-table-column width="35">
<template slot-scope="scope">
<el-radio :label="scope.row[propsValue]" v-model="checked">&nbsp;</el-radio>
</template>
</el-table-column>
<el-table-column type="index" width="50" label="序号" align="center" />
<el-table-column :prop="item.value" :label="item.label" v-for="(item, i) in columnOptions"
:key="i" />
</JNPF-table>
<pagination :total="total" :page.sync="listQuery.currentPage"
:limit.sync="listQuery.pageSize" @pagination="initData" v-if="hasPage" />
<span slot="footer" class="dialog-footer">
<el-button @click="visible = false" size="small">{{
$t("common.cancelButton")
}}</el-button>
<el-button type="primary" @click="select()" size="small">{{ $t("common.confirmButton") }}
</el-button>
</span>
</el-dialog>
</template>
<template v-if="popupType === 'drawer'">
<el-drawer :title="popupTitle" :visible.sync="visible" :wrapperClosable="false" ref="drawer"
:size="popupWidth" append-to-body class="JNPF-common-drawer">
<div class="JNPF-flex-main">
<el-row class="JNPF-common-search-box" :gutter="16">
<el-form @submit.native.prevent>
<el-col :span="8">
<el-form-item label="银行">
<el-input v-model="listQuery.bankName" placeholder="请输入关键词查询" clearable class="search-input" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="城市">
<el-input v-model="listQuery.cityName" placeholder="请输入关键词查询" clearable class="search-input" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="search()">
{{ $t("common.search") }}
</el-button>
<el-button icon="el-icon-refresh-right" @click="reset()">{{ $t("common.reset") }}
</el-button>
</el-form-item>
</el-col>
</el-form>
<div class="JNPF-common-search-box-right">
<el-tooltip effect="dark" :content="$t('common.refresh')" placement="top">
<el-link icon="icon-ym icon-ym-Refresh JNPF-common-head-icon" :underline="false"
@click="initData()" />
</el-tooltip>
</div>
</el-row>
<JNPF-table v-loading="listLoading" :data="list" :border="false" highlight-current-row
@row-click="rowClick" :hasNO="false">
<el-table-column width="35">
<template slot-scope="scope">
<el-radio :label="scope.row[propsValue]" v-model="checked">&nbsp;</el-radio>
</template>
</el-table-column>
<el-table-column type="index" width="50" label="序号" align="center" />
<el-table-column :prop="item.value" :label="item.label"
v-for="(item, i) in columnOptions" :key="i" />
</JNPF-table>
<pagination :total="total" :page.sync="listQuery.currentPage"
:limit.sync="listQuery.pageSize" @pagination="initData" v-if="hasPage" />
<div class="drawer-footer">
<el-button @click="visible = false" size="small">{{ $t("common.cancelButton") }}
</el-button>
<el-button type="primary" @click="select()"
size="small">{{ $t("common.confirmButton") }}
</el-button>
</div>
</div>
</el-drawer>
</template>
</div>
</template>
<script>
import {
getDataInterfaceDataSelect,
getDataInterfaceDataInfoByIds
} from "@/api/systemData/dataInterface";
import emitter from "element-ui/src/mixins/emitter";
let {
methods: { dispatch }
} = emitter;
export default {
name: "JnpfPopupSelectPaymentInterbankNumberView",
props: {
value: {
default: ""
},
rowIndex: {
default: null
},
formData: {
type: Object
},
templateJson: {
type: Array,
default: () => []
},
interfaceId: {
type: String,
default: ""
},
innerName: {
type: String,
default: ""
},
placeholder: {
type: String,
default: "请选择"
},
propsValue: {
type: String,
default: "id"
},
relationField: {
type: String,
default: "fullName"
},
popupType: {
type: String,
default: "dialog"
},
popupTitle: {
type: String,
default: "选择数据"
},
popupWidth: {
type: String,
default: "800px"
},
field: {
type: String,
default: ""
},
columnOptions: {
type: Array,
default: () => []
},
hasPage: {
type: Boolean,
default: false
},
pageSize: {
type: Number,
default: 20
},
multiple: {
type: Boolean,
default: false
},
disabled: {
type: Boolean,
default: false
},
clearable: {
type: Boolean,
default: true
}
},
model: {
prop: "value",
event: "input"
},
data() {
return {
multipleSelectionItem: [],
multipleSelection: [],
list: [],
innerValue: "",
listQuery: {
keyword: "",
bankName: '',
cityName: '',
currentPage: 1,
pageSize: 20
},
total: 0,
checked: "",
checkedTxt: "",
checkedRow: {},
listLoading: false,
visible: false,
inputHovering: false
};
},
watch: {
value(val) {
this.setDefault();
}
},
computed: {
showClose() {
let hasValue = this.multiple
? Array.isArray(this.value) && this.value.length > 0
: this.value !== undefined && this.value !== null && this.value !== "";
let criteria =
this.clearable && !this.disabled && this.inputHovering && hasValue;
return criteria;
},
propsLabel() {
return this.columnOptions[0].value;
}
},
created() {
this.listQuery.pageSize = this.hasPage ? this.pageSize : 100000;
this.setDefault();
},
methods: {
handleSelectionChange(val) {
this.multipleSelectionItem = val
const res = val.map(item => item.id)
this.multipleSelection = res
},
initData() {
if (!this.interfaceId) return;
this.listLoading = true;
const paramList = this.getParamList();
const columnOptions = this.columnOptions.map(o => o.value);
if(this.listQuery.bankName == '' || this.listQuery.cityName == ''){
this.list = [];
this.total = 0;
this.listLoading = false;
return false;
}else{
paramList[0].defaultValue = this.listQuery.bankName;
paramList[1].defaultValue = this.listQuery.cityName;
}
let query = {
...this.listQuery,
interfaceId: this.interfaceId,
propsValue: this.propsValue,
relationField: this.relationField,
columnOptions: columnOptions.join(","),
paramList
};
getDataInterfaceDataSelect(this.interfaceId, query)
.then(res => {
this.list = res.data.list;
this.total = res.data.pagination.total;
this.listLoading = false;
})
.catch(() => {
this.listLoading = false;
});
},
getParamList() {
let templateJson = this.templateJson;
if (!this.formData) return templateJson;
for (let i = 0; i < templateJson.length; i++) {
if (templateJson[i].relationField) {
if (templateJson[i].relationField.includes("-")) {
let tableVModel = templateJson[i].relationField.split("-")[0];
let childVModel = templateJson[i].relationField.split("-")[1];
templateJson[i].defaultValue =
(this.formData[tableVModel] &&
this.formData[tableVModel][this.rowIndex] &&
this.formData[tableVModel][this.rowIndex][childVModel]) ||
"";
} else {
templateJson[i].defaultValue =
this.formData[templateJson[i].relationField] || "";
}
}
}
return templateJson;
},
interfaceDataHandler(data) {
if (!data.dataProcessing) return data.list;
const dataHandler = this.jnpf.getScriptFunc.call(
this,
data.dataProcessing
);
if (!dataHandler) return data.list;
return dataHandler(data.list);
},
search() {
if(this.listQuery.bankName == '' || this.listQuery.cityName == ''){
this.$message({
message: '请输入银行和城市查询',
type: 'error',
duration: 1000
})
return false
}
this.initData();
this.listQuery.currentPage = 1;
this.listQuery.pageSize = this.hasPage ? this.pageSize : 10000;
},
reset() {
this.listQuery.keyword = "";
this.listQuery.currentPage = 1;
this.listQuery.pageSize = this.hasPage ? this.pageSize : 10000;
this.initData();
},
openDialog() {
if (this.disabled) return;
this.checked = this.value;
this.visible = true;
this.reset();
},
clear(event) {
this.checked = "";
this.innerValue = "";
this.checkedRow = {};
this.$emit("input", this.checked);
this.$emit("change", this.checked, this.checkedRow, this.rowIndex);
dispatch.call(this, "ElFormItem", "el.form.change", this.checked);
event.stopPropagation();
},
select() {
if (!this.checked) return;
this.innerValue = this.checkedTxt;
this.$emit("input", this.checked);
this.$emit("change", this.checked, this.checkedRow, this.rowIndex);
dispatch.call(this, "ElFormItem", "el.form.change", this.checked);
this.visible = false;
},
rowClick(row) {
if (this.checked == row[this.propsValue]) {
this.select();
} else {
this.checked = row[this.propsValue];
this.checkedTxt = row[this.relationField];
this.checkedRow = row;
}
},
dbRowClick(row) {
this.checked = row[this.propsValue];
this.checkedTxt = row[this.relationField];
this.checkedRow = row;
this.select();
},
setDefault() {
if (this.value) {
if (!this.interfaceId) return;
const paramList = this.getParamList();
let query = {
ids: [this.value],
interfaceId: this.interfaceId,
propsValue: this.propsValue,
relationField: this.relationField,
paramList
};
let that = this;
getDataInterfaceDataInfoByIds(this.interfaceId, query).then(res => {
const data = res.data && res.data.length ? res.data[0] : {};
this.innerValue = data[this.relationField];
if (!this.innerValue) {
this.innerValue = this.innerName;
}
if (!this.field) return;
let relationData = this.$store.state.generator.relationData;
this.$set(relationData, this.field, data);
this.$eventBus.$emit("popupAttrEventBus", relationData, this.field);
this.$store.commit("generator/UPDATE_RELATION_DATA", relationData);
});
} else {
this.innerValue = "";
if (!this.field) return;
let relationData = this.$store.state.generator.relationData;
this.$set(relationData, this.field, {});
this.$eventBus.$emit("popupAttrEventBus", relationData, this.field);
this.$store.commit("generator/UPDATE_RELATION_DATA", relationData);
}
}
}
};
</script>
<style lang="scss" scoped>
>>> .el-dialog__body {
height: 70vh;
padding: 0 0 10px !important;
display: flex;
flex-direction: column;
overflow: hidden;
.JNPF-common-search-box {
margin-bottom: 0;
.JNPF-common-search-box-right {
padding: 10px 10px 0 0;
}
}
}
</style>

@ -66,7 +66,8 @@ import JnpfDateRangePicker from '@/components/Generator/components/JnpfDateRange
import JnpfPopupSelectCus from '@/components/CusJnpf/PopupSelect'
import CusPopupSelect from '@/components/Cus/PopupSelect'
import JnpfPopupSelectInnerName from '@/components/Jnpf/PopupSelectInnerName'
import JnpfPopupSelectPaymentInterbankNumberView from '@/components/Jnpf/PopupSelectPaymentInterbankNumberView'
import JnpfPopupSelectPaymentFundingPlanView from '@/components/Jnpf/PopupSelectPaymentFundingPlanView'
export default {
install(Vue, options) {
@ -137,5 +138,8 @@ export default {
Vue.component('JnpfPopupSelectCus', JnpfPopupSelectCus)
Vue.component('CusPopupSelect', CusPopupSelect)
Vue.component('JnpfPopupSelectInnerName', JnpfPopupSelectInnerName)
Vue.component('JnpfPopupSelectPaymentInterbankNumberView', JnpfPopupSelectPaymentInterbankNumberView)
Vue.component('JnpfPopupSelectPaymentFundingPlanView', JnpfPopupSelectPaymentFundingPlanView)
}
}

@ -207,9 +207,9 @@
</el-button> -->
<el-button size="mini" type="text" :disabled="!scope.row.flowState"
@click="updateHandle(scope.row,scope.row.flowState)">详情</el-button>
<el-button size="mini" type="text"
<!-- <el-button size="mini" type="text"
v-if="scope.row.settlableAmount > 0 && scope.row.flowState==2"
@click="shoufukuanHandle(scope.row)">收付款</el-button>
@click="shoufukuanHandle(scope.row)">收付款</el-button> -->
<!-- <template v-if="scope.row.flowState == 2 && scope.row.erpMark != '200'">
<el-button size="mini" type="text" @click="repush(scope.row)"></el-button>
</template> -->
@ -357,13 +357,13 @@ export default {
},
applyStateOptions: [{
"fullName": "未申请",
"id": "1"
"id": "未申请"
}, {
"fullName": "部分申请",
"id": "2"
"id": "部分申请"
}, {
"fullName": "已申请",
"id": "3"
"id": "已申请"
}],
applyStateProps: {
"label": "fullName",

@ -0,0 +1,134 @@
<template>
<el-dialog title="选择结算单" :close-on-click-modal="false" :visible.sync="visible" class="JNPF-dialog JNPF-dialog_center"
lock-scroll append-to-body width="800px">
<el-row class="JNPF-common-search-box" :gutter="16">
<el-form @submit.native.prevent>
<el-col :span="10">
<el-form-item label="关键字">
<el-input v-model="keyword" placeholder="请输入关键字查询" clearable @keyup.enter.native="search()" />
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item>
<el-button type="primary" icon="el-icon-search" @click="search()">{{ $t('common.search') }}
</el-button>
<el-button icon="el-icon-refresh-right" @click="refresh()">{{ $t('common.reset') }}
</el-button>
</el-form-item>
</el-col>
</el-form>
<div class="JNPF-common-search-box-right">
<el-tooltip effect="dark" :content="$t('common.refresh')" placement="top">
<el-link icon="icon-ym icon-ym-Refresh JNPF-common-head-icon" :underline="false" @click="search()" />
</el-tooltip>
</div>
</el-row>
<JNPF-table v-loading="listLoading" :data="list" hasC @selection-change="handleSelectionChange" :border="false">
<el-table-column prop="interbankNumber" label="联行号" align="center" width="200">
</el-table-column>
<el-table-column prop="bankName" label="银行开户行名称" align="center" width="250">
</el-table-column>
<el-table-column prop="province" label="开户行所在省" align="center" width="150">
</el-table-column>
<el-table-column prop="city" label="开户行所在市" align="center" width="150">
</el-table-column>
</JNPF-table>
<pagination :total="total" :page.sync="listQuery.currentPage" :limit.sync="listQuery.pageSize" @pagination="init" />
<span slot="footer" class="dialog-footer">
<el-button @click="visible = false">{{ $t('common.cancelButton') }}</el-button>
<el-button type="primary" @click="select()">{{ $t('common.confirmButton') }}</el-button>
</span>
</el-dialog>
</template>
<script>
import request from '@/utils/request'
import {
GoodsList
} from '@/api/extend/order'
export default {
data() {
return {
visible: false,
listLoading: true,
keyword: '',
list: [],
total: 0,
listQuery: {
superQueryJson: '',
currentPage: 1,
pageSize: 20,
sort: "desc",
sidx: "",
},
checked: []
}
},
methods: {
init() {
this.visible = true
this.listLoading = true
let query = {
...this.listQuery,
keyword: this.keyword,
dataType: 0,
type: 1,
menuId: '532534180186188741',
}
/* GoodsList(query).then(res => {
this.list = res.data.list
this.listLoading = false
}) */
request({
url: `/api/scm/PaymentApplication/getBankList`,
method: 'post',
data: query
}).then(res => {
this.list = res.data.list
this.listLoading = false
this.total = res.data.pagination.total
})
},
refresh() {
this.keyword = ''
this.listQuery.currentPage = 1
this.listQuery.pageSize = 20
this.listQuery.sort = "desc"
this.listQuery.sidx = ""
this.init()
},
search() {
this.listQuery.currentPage = 1
this.listQuery.pageSize = 20
this.listQuery.sort = "desc"
this.listQuery.sidx = ""
this.init()
},
select() {
if (!this.checked.length) return
this.visible = false
this.$emit('refreshDataList', this.checked)
},
handleSelectionChange(val) {
this.checked = val
}
}
}
</script>
<style lang="scss" scoped>
>>>.el-dialog__body {
height: 70vh;
padding: 0 0 10px !important;
display: flex;
flex-direction: column;
overflow: hidden;
.JNPF-common-search-box {
margin-bottom: 0;
.JNPF-common-search-box-right {
padding: 10px 10px 0 0;
}
}
}
</style>

@ -161,12 +161,15 @@
:disabled="true" clearable :style='{"width":"100%"}'>
</JnpfInput> -->
<JnpfPopupSelect v-model="dataForm.interbankNumber" @change="interbankNumberChangeData"
:rowIndex="null" :formData="dataForm" :templateJson="interfaceRes.interbankNumber" placeholder="请选择"
propsValue="interbankNumber" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
relationField='interbankNumber' field='interbankNumber' interfaceId="587612474379903877" :pageSize="20"
:columnOptions="interbankNumbercolumnOptions" clearable :style='{"width":"100%"}'>
</JnpfPopupSelect>
<JnpfPopupSelectPaymentInterbankNumberView v-model="dataForm.interbankNumber"
@change="interbankNumberChangeData" :rowIndex="null" :formData="dataForm"
:templateJson="interfaceRes.interbankNumber" placeholder="请选择" propsValue="interbankNumber"
popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='interbankNumber'
field='interbankNumber' interfaceId="587612474379903877" :pageSize="20"
:columnOptions="interbankNumbercolumnOptions" clearable :style='{"width":"100%"}' :hasPage="true"
:innerName="dataForm.interbankNumber">
</JnpfPopupSelectPaymentInterbankNumberView>
<!-- :innerName="scope.row.cargoName" -->
</jnpf-form-tip-item>
</el-col>
<el-col :span="8" v-if="judgeShow('payer')">
@ -191,23 +194,35 @@
</jnpf-form-tip-item>
</el-col>
<el-col :span="8" v-if="judgeShow('payer')">
<jnpf-form-tip-item label="资金计划编码" v-if="judgeShow('payer')">
<jnpf-form-tip-item label="资金计划明细ID" v-if="judgeShow('payer')">
<!-- <JnpfInput v-model="dataForm.fundingPlanCode" @change="changeData('payer',-1)" placeholder="请输入"
:disabled="true" clearable :style='{"width":"100%"}'>
</JnpfInput> -->
<JnpfPopupSelect v-model="dataForm.fundingPlanCode" @change="fundingPlanCodeChangeData"
:rowIndex="null" :formData="dataForm" :templateJson="interfaceRes.fundingPlanCode" placeholder="请选择"
propsValue="fundingPlanCode" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
relationField='fundingPlanCode' field='fundingPlanCode' interfaceId="587614540221424581" :pageSize="20"
:columnOptions="fundingPlanCodecolumnOptions" clearable :style='{"width":"100%"}'>
</JnpfPopupSelect>
<!-- <JnpfPopupSelectPaymentFundingPlanView v-model="dataForm.fundingPlanCode"
@change="fundingPlanCodeChangeData" :rowIndex="null" :formData="dataForm"
:templateJson="interfaceRes.fundingPlanCode" placeholder="请选择" propsValue="fundingPlanCode"
popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='fundingPlanCode'
field='fundingPlanCode' interfaceId="587614540221424581" :pageSize="20"
:columnOptions="fundingPlanCodecolumnOptions" clearable :style='{"width":"100%"}' :hasPage="true"
:innerName="dataForm.fundingPlanCode">
</JnpfPopupSelectPaymentFundingPlanView> -->
<JnpfPopupSelectPaymentFundingPlanView v-model="dataForm.fundingPlanDetailCode"
@change="fundingPlanCodeChangeData" :rowIndex="null" :formData="dataForm"
:templateJson="interfaceRes.fundingPlanDetailCode" placeholder="请选择" propsValue="fundingPlanDetailCode"
popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='fundingPlanDetailCode'
field='fundingPlanDetailCode' interfaceId="587614540221424581" :pageSize="20"
:columnOptions="fundingPlanDetailCodecolumnOptions" clearable :style='{"width":"100%"}' :hasPage="true"
:innerName="dataForm.fundingPlanDetailCode">
</JnpfPopupSelectPaymentFundingPlanView>
</jnpf-form-tip-item>
</el-col>
<el-col :span="8" v-if="judgeShow('payer')">
<jnpf-form-tip-item label="计划所属单位名称" v-if="judgeShow('payer')">
<JnpfInput v-model="dataForm.unitName" @change="changeData('payer',-1)" placeholder="请输入" :disabled="true"
clearable :style='{"width":"100%"}'>
<jnpf-form-tip-item label="资金计划ID" v-if="judgeShow('payer')">
<JnpfInput v-model="dataForm.fundingPlanCode" @change="changeData('payer',-1)" placeholder="请输入"
:disabled="true" clearable :style='{"width":"100%"}'>
</JnpfInput>
</jnpf-form-tip-item>
</el-col>
@ -270,8 +285,8 @@
</el-col>
<el-col :span="8" v-if="judgeShow('applyAmount')">
<jnpf-form-tip-item label="计划已用总金额" v-if="judgeShow('applyAmount')">
<JnpfInputNumber v-model="dataForm.processMoney" @change="changeData('applyAmount',-1)"
placeholder="数字文本" :disabled="true" :step="1">
<JnpfInputNumber v-model="dataForm.processMoney" @change="changeData('applyAmount',-1)" placeholder="数字文本"
:disabled="true" :step="1">
</JnpfInputNumber>
</jnpf-form-tip-item>
</el-col>
@ -500,7 +515,7 @@
planAvailableAmount: undefined,
addAmount: undefined,
upwardFloatingAmount: undefined,
transactionType: "1",
transactionType: "34",
paymentapplicationsettlementList: [],
},
tableRequiredData: {},
@ -560,7 +575,10 @@
"label": "开户行所在市",
"value": "city"
}, ],
fundingPlanCodecolumnOptions: [{
fundingPlanDetailCodecolumnOptions: [{
"label": "计划明细ID",
"value": "fundingPlanDetailCode"
}, {
"label": "计划主ID",
"value": "fundingPlanCode"
}, {
@ -713,8 +731,44 @@
remark: [],
closeCaseRemark: [],
annex: [],
interbankNumber: [],
fundingPlanCode:[] ,
interbankNumber: [{
"dataType": "varchar",
"defaultValue": "",
"field": "bankName",
"fieldName": "",
"id": "m10ShD2",
"jnpfKey": "billRule",
"relationField": "code",
"required": "1"
}, {
"dataType": "varchar",
"defaultValue": "",
"field": "cityName",
"fieldName": "",
"id": "0Z3ShD2",
"jnpfKey": "textarea",
"relationField": "remark",
"required": "1"
}],
fundingPlanDetailCode: [{
"dataType": "varchar",
"defaultValue": "",
"field": "unitName",
"fieldName": "",
"id": "spE7iD2",
"jnpfKey": "billRule",
"relationField": "code",
"required": "1"
}, {
"dataType": "varchar",
"defaultValue": "",
"field": "purpose",
"fieldName": "",
"id": "4gI7iD2",
"jnpfKey": "textarea",
"relationField": "remark",
"required": "1"
}],
paymentapplicationsettlementsettlementId: [],
paymentapplicationsettlementsettlementCode: [],
paymentapplicationsettlementsettlementAmount: [],
@ -739,11 +793,12 @@
},
mounted() {},
methods: {
fundingPlanCodeChangeData(var1, var2){
fundingPlanCodeChangeData(var1, var2) {
this.dataForm.planSubjectCode = var2.planSubjectCode;
this.dataForm.planSubjectName = var2.planSubjectName;
this.dataForm.unitName = var2.unitName;
this.dataForm.fundingPlanDetailCode = var2.fundingPlanDetailCode;
this.dataForm.fundingPlanCode = var2.fundingPlanCode;
this.dataForm.collectionUnitName = var2.collectionUnitName;
this.dataForm.reportingAmount = var2.reportingAmount;
this.dataForm.addAmount = var2.addAmount;
@ -753,7 +808,8 @@
this.dataForm.purpose = var2.purpose;
this.dataForm.expectPaymentDate = var2.expectPaymentDate;
},
interbankNumberChangeData(var1, var2){
interbankNumberChangeData(var1, var2) {
this.interbankNumber = var2.interbankNumber;
this.dataForm.bankName = var2.bankName;
this.dataForm.province = var2.province;
this.dataForm.city = var2.city;

@ -68,7 +68,7 @@
</el-table-column>
<el-table-column prop="exchgRat" label="汇率" align="center" width="150">
</el-table-column>
<el-table-column prop="distributionUserId" label="分配人" align="center" width="150">
<el-table-column prop="distributionUserName" label="分配人" align="center" width="150">
</el-table-column>
<el-table-column prop="distributionTime" label="分配时间" align="center" width="200">
</el-table-column>
@ -76,8 +76,8 @@
<template slot-scope="scope">
<el-button type="text" @click="addOrUpdateHandle(scope.row)">
</el-button>
<el-button type="text" class="JNPF-table-delBtn" @click="handleDel(scope.row.id)">
</el-button>
<!-- <el-button type="text" class="JNPF-table-delBtn" @click="handleDel(scope.row.id)">
</el-button> -->
<el-button type="text" @click="goDetail(scope.row.id)">
</el-button>
</template>
@ -381,7 +381,11 @@
this.initData()
},
//
async initSearchData() {},
async initSearchData() {
let date = new Date();
let dateWithoutTime = new Date(date.getFullYear(), date.getMonth(), date.getDate());
this.query.prepaymentDt = [dateWithoutTime.getTime(), dateWithoutTime.getTime()]
},
initData() {
this.listLoading = true;
let _query = {

Loading…
Cancel
Save