|
@@ -83,6 +83,7 @@
|
|
|
<el-table-column label="电子凭证类型" align="center" prop="zfpVoucherType" :formatter="voucherTypeFormat" :show-overflow-tooltip="true" v-if="uncheckList.zfpVoucherType"/>
|
|
<el-table-column label="电子凭证类型" align="center" prop="zfpVoucherType" :formatter="voucherTypeFormat" :show-overflow-tooltip="true" v-if="uncheckList.zfpVoucherType"/>
|
|
|
<el-table-column label="服务费是否可退" align="center" prop="zfpCharge" :formatter="chargeFormat" :show-overflow-tooltip="true" v-if="uncheckList.zfpCharge"/>
|
|
<el-table-column label="服务费是否可退" align="center" prop="zfpCharge" :formatter="chargeFormat" :show-overflow-tooltip="true" v-if="uncheckList.zfpCharge"/>
|
|
|
<el-table-column label="产品状态" align="center" prop="zfpStatus" :formatter="statusFormat" :show-overflow-tooltip="true" v-if="uncheckList.pifMold"/>
|
|
<el-table-column label="产品状态" align="center" prop="zfpStatus" :formatter="statusFormat" :show-overflow-tooltip="true" v-if="uncheckList.pifMold"/>
|
|
|
|
|
+
|
|
|
<el-table-column label="最小融资金额" align="center" prop="zfpMinimumAmount" :show-overflow-tooltip="true" v-if="uncheckList.zfpMinimumAmount"/>
|
|
<el-table-column label="最小融资金额" align="center" prop="zfpMinimumAmount" :show-overflow-tooltip="true" v-if="uncheckList.zfpMinimumAmount"/>
|
|
|
<el-table-column label="最短账期" align="center" prop="zfpShortestPeriod" :show-overflow-tooltip="true" v-if="uncheckList.zfpShortestPeriod"/>
|
|
<el-table-column label="最短账期" align="center" prop="zfpShortestPeriod" :show-overflow-tooltip="true" v-if="uncheckList.zfpShortestPeriod"/>
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200">
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200">
|
|
@@ -206,11 +207,11 @@ export default {
|
|
|
value: "电子凭证类型"
|
|
value: "电子凭证类型"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label: "zfpStatus",
|
|
|
|
|
|
|
+ label: "zfpCharge",
|
|
|
value: "服务费是否可退"
|
|
value: "服务费是否可退"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label: "zfpSplit",
|
|
|
|
|
|
|
+ label: "zfpStatus",
|
|
|
value: "产品状态"
|
|
value: "产品状态"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -256,6 +257,7 @@ export default {
|
|
|
this.columnQuery();
|
|
this.columnQuery();
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+
|
|
|
/** 查询融资产品列表 */
|
|
/** 查询融资产品列表 */
|
|
|
getList() {
|
|
getList() {
|
|
|
this.loading = true;
|
|
this.loading = true;
|
|
@@ -310,10 +312,28 @@ export default {
|
|
|
},
|
|
},
|
|
|
/** 启用按钮操作 */
|
|
/** 启用按钮操作 */
|
|
|
handleChange(row) {
|
|
handleChange(row) {
|
|
|
- const zfpId = row.zfpId;
|
|
|
|
|
- changeState(zfpId).then((response)=>{
|
|
|
|
|
- this.getList();
|
|
|
|
|
- })
|
|
|
|
|
|
|
+
|
|
|
|
|
+ let text = row.zfpStatus === "01" ? "开启产品名称为" : "停用产品名称为";
|
|
|
|
|
+ this.$confirm(
|
|
|
|
|
+ "确认要" + text + '"' + row.zfpName + '"吗?',
|
|
|
|
|
+ "警告",
|
|
|
|
|
+ {
|
|
|
|
|
+ confirmButtonText: "确定",
|
|
|
|
|
+ cancelButtonText: "取消",
|
|
|
|
|
+ type: "warning",
|
|
|
|
|
+ }
|
|
|
|
|
+ )
|
|
|
|
|
+ .then(function () {
|
|
|
|
|
+ return changeState(row.zfpId);
|
|
|
|
|
+ })
|
|
|
|
|
+ .then(() => {
|
|
|
|
|
+ this.getList();
|
|
|
|
|
+ this.msgSuccess(text + "成功");
|
|
|
|
|
+ })
|
|
|
|
|
+ .catch(function () {
|
|
|
|
|
+ row.zfpSplit = row.zfpSplit === "00" ? "01" : "00";
|
|
|
|
|
+ });
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
//拆转融字典反显
|
|
//拆转融字典反显
|
|
|
splitFormat(row, column) {
|
|
splitFormat(row, column) {
|