Commit dd0fae72 by nanrui

EAF以及cfasel优化。

parent 07b4d567
......@@ -110,10 +110,10 @@
<c-button style="margin-left: 0" size="small" @click="getInfo(scope.$index, scope.row)">
详情
</c-button>
<c-button style="margin-left: 3px" size="small" @click="getAmend(scope.$index, scope.row)">
<c-button style="margin-left: 3px" size="small" @click="getAmend(scope.$index, scope.row)" :disabled="scope.row.状态 == 'D'">
修改
</c-button>
<c-button style="margin-left: 3px" size="small" @click="getDelete(scope.$index, scope.row)">
<c-button style="margin-left: 3px" size="small" @click="getDelete(scope.$index, scope.row)" :disabled="scope.row.状态 == 'D'">
删除
</c-button>
</template>
......@@ -456,7 +456,7 @@ export default {
break;
}
console.log(stmData.data);
if (this.stmData.data == 0) {
if (this.stmData.data.length == 0) {
this.$notify({
title: '成功',
message: '搜索完毕,无满足条件记录',
......@@ -551,6 +551,7 @@ export default {
});
},
async getDelete(idx, row) {
console.log(row);
let business = row.申报类型.toLowerCase() + "del";
const selIds = [idx + 1];
let selDst;
......
......@@ -25,8 +25,8 @@
</c-tabs>
</el-form>
<c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')"
:handleCheck="handleCheck.bind(this, 'cfabut.chk')" :handleStash="handleStash"></c-function-btn>
<!-- <c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')"
:handleCheck="handleCheck.bind(this, 'cfabut.chk')" :handleStash="handleStash"></c-function-btn> -->
</c-page>
</div>
</template>
......
......@@ -14,6 +14,19 @@
<c-checkbox v-model="model.cfabut.basflg" class="checkbox-left">签约信息</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item>
<c-checkbox v-model="model.cfabut.addnew" class="checkbox-left" disabled>新增接口数据</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl">
<c-input v-model.number="model.cfabut.newdcl" placeholder="请输入DCL数目">
</c-input>
</c-form-item>
</c-col>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-page tittle="改 -- 外债远期信用证">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cfabut PD000002 接口数据 -->
<el-tab-pane label="接口数据" name="sel">
......@@ -23,6 +24,9 @@
</el-tab-pane> -->
</c-tabs>
</el-form>
<c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')"
:handleCheck="handleCheck.bind(this, 'cfabut.chk')" :handleStash="handleStash"></c-function-btn>
</c-page>
</div>
</template>
<script>
......@@ -30,6 +34,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Eafame from "~/model/Eafame"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Eafame/Check"
import Default from "~/model/Eafame/Default"
import Pattern from "~/model/Eafame/Pattern"
......@@ -51,7 +56,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "sel",
......
......@@ -112,7 +112,7 @@
<c-col :span="24">
<c-form-item :label="$t('pubp.S0000022')" prop="recgrp.bas.actiondesc">
<c-input type="textarea" v-model="model.recgrp.bas.actiondesc" maxlength="32" rows="7"
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" disabled>
show-word-limit :placeholder="$t('other.please_enter') + $t('pubp.S0000022')" :disabled="model.cfabut.basflg !== 'X'">
</c-input>
</c-form-item>
</c-col>
......
......@@ -10,10 +10,23 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item>
<el-form-item prop="cfabut.basflg">
<c-checkbox v-model="model.cfabut.basflg" class="checkbox-left">签约信息</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item>
<c-checkbox v-model="model.cfabut.addnew" class="checkbox-left" disabled>新增接口数据</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="DCL数目" prop="cfabut.newdcl">
<c-input v-model.number="model.cfabut.newdcl" placeholder="请输入DCL数目">
</c-input>
</c-form-item>
</c-col>
</c-col>
</c-col>
<!-- ======================= 右边 ========================= -->
<c-col :span="12" style="padding-left: 20px">
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-page tittle="删 -- 外债远期信用证">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right"
size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cfabut PD000002 接口数据 -->
<el-tab-pane label="接口数据" name="sel">
......@@ -24,6 +25,9 @@
</el-tab-pane> -->
</c-tabs>
</el-form>
<c-function-btn :handleSubmit="handleSubmit.bind(this, 'cfabut.sav')"
:handleCheck="handleCheck.bind(this, 'cfabut.chk')" :handleStash="handleStash"></c-function-btn>
</c-page>
</div>
</template>
<script>
......@@ -31,6 +35,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Eafdel from "~/model/Eafdel"
import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Eafdel/Check"
import Default from "~/model/Eafdel/Default"
import Pattern from "~/model/Eafdel/Pattern"
......@@ -52,7 +57,7 @@ export default {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "sel",
......
......@@ -28,7 +28,7 @@
<c-col :span="24">
<el-form-item :label="$t('pubp.S0000019')" prop="recgrp.bas.debtype">
<c-select v-model="model.recgrp.bas.debtype" style="width:100%"
:placeholder="$t('other.please_enter') + $t('pubp.S0000019')" disabled :code="codes.actiontype">
:placeholder="$t('other.please_enter') + $t('pubp.S0000019')" disabled :code="codes.debtype">
</c-select>
</el-form-item>
</c-col>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment