Commit 6234e5de by lei wang

dia编辑交易修改

parent 91e8aa61
......@@ -6941,6 +6941,7 @@ const CodeTable = {
],
atptxt: [
{ label: "开立信用证", value: "DITOPN" },
{ label: "Settling Documents", value: "BCTSET" },
],
sptrelstatus: [
{ label: '传入', value: 'INC' },
......@@ -7879,7 +7880,39 @@ const CodeTable = {
{ label: '境外汇入汇款手续费', value: 'cpifee' },
{ label: '境外汇出汇款手续费', value: 'cpofee' },
{ label: '出口信用证预通知手续费(停用)', value: 'preadv' },
]
],
dia_bustxt: [
{ label: 'Advance', value: 'BP' },
{ label: 'Batch Collection', value: 'CL' },
{ label: 'Cash Collection', value: 'FC' },
{ label: 'Clean Colection', value: 'CC' },
{ label: 'Clean Payments', value: 'CP' },
{ label: 'Export Collection', value: 'BO' },
{ label: 'Export Guarantee(INT)', value: 'GF' },
{ label: 'Export L/C', value: 'LE' },
{ label: 'Export L/C Document Set', value: 'BE' },
{ label: 'Export L/C Transfer', value: 'LT' },
{ label: 'Guarantee', value: 'GI' },
{ label: 'Guarantee Claim', value: 'GC' },
{ label: 'Guarantee Claim(INT)', value: 'GD' },
{ label: 'Guarantee(INT)', value: 'GB' },
{ label: 'Import Collection', value: 'BC' },
{ label: 'mport L/C', value: 'LI' },
{ label: 'Import L/C Document Set', value: 'BR' },
{ label: 'Loan', value: 'TR' },
{ label: 'Manual Contract', value: 'MC' },
{ label: 'Reimbursement', value: 'RM' },
{ label: 'Reimbursement Claim', value: 'RC' },
{ label: 'Transfer Bills', value: 'BT' },
{ label: 're-financing', value: 'DF' },
{ label: '出口保函', value: 'GE' },
{ label: '结售汇业务', value: 'JS' },
{ label: '买方国内证', value: 'DI' },
{ label: '买方国内证单据', value: 'BD' },
{ label: '卖方国内证', value: 'DE' },
{ label: '卖方国内证单据', value: 'BF' },
{ label: '期权业务', value: 'WI' },
],
}
export default CodeTable;
......@@ -5,79 +5,111 @@
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="Business Sector" prop="subObjTyp">
<c-select style="width: 100%" v-model="model.subObjTyp" placeholder="请选择Business Sector" :code="getCodesByKey('bustxt')">
<c-select :disabled="true" style="width: 100%" v-model="model.subObjTyp" placeholder="请选择Business Sector" :code="getCodesByKey('dia_bustxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Reference No." prop="objref">
<c-input v-model="model.objref" style="width: 100%" placeholder="请输入Reference No"> </c-input>
<el-form-item label="参考号" prop="objref">
<c-input :disabled="true" v-model="model.objref" style="width: 100%" placeholder="请输入参考号"> </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Description" prop="ownrefDesc">
<c-input v-model="model.ownrefDesc" style="width: 100%" placeholder="请输入Description"> </c-input>
<el-form-item label="参考号描述" prop="ownrefDesc">
<c-input :disabled="true" v-model="model.ownrefDesc" style="width: 100%" placeholder="请输入参考号描述"> </c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="Start Transaction" prop="frm">
<c-input v-model="model.frm" placeholder="请输入账号" > </c-input>
<el-form-item label="交易名" prop="frm">
<c-select style="width: 100%" v-model="model.frm" placeholder="请选择交易名">
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="24">
<el-form-item label="Description" prop="frm">
<c-select style="width: 100%" v-model="model.frm" placeholder="请选择Description" :code="getCodesByKey('atptxt')">
<el-form-item label="交易" prop="frm">
<c-select style="width: 100%" v-model="model.frm" placeholder="请选择交易" :code="getCodesByKey('atptxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Description" prop="nam">
<c-input v-model="model.nam" style="width: 100%" placeholder="请输入Description">
<el-form-item label="备忘录名称" prop="nam">
<c-input v-model="model.nam" style="width: 100%" placeholder="请输入备忘录名称">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Detailed Information" prop="inftxt">
<c-input v-model="model.inftxt" placeholder="请输入Detailed Information" > </c-input>
<el-form-item label="明细信息" prop="inftxt">
<c-input v-model="model.inftxt" placeholder="请输入明细信息" > </c-input>
</el-form-item>
</c-col>
<div v-if="model.cod == 'RAM'">
<c-col :span="24">
<el-form-item label="客户号" prop="ptyextkey">
<c-input v-model="model.ptyextkey" placeholder="请输入客户号" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="客户名称" prop="ptynam">
<c-input v-model="model.ptynam" placeholder="请输入客户名称" > </c-input>
</el-form-item>
</c-col>
</div>
</c-col>
<!-- =============================================右边=========================================== -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="User" prop="ownusr">
<c-input v-model="model.ownusr" placeholder="请输入User" > </c-input>
<el-form-item label="经办用户" prop="ownusr">
<c-input :disabled="true" v-model="model.ownusr" placeholder="请输入经办用户" > </c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Group" prop="ownusg">
<c-select style="width: 100%" v-model="model.ownusg" placeholder="请选择Group" :code="getCodesByKey('usgtxt')">
<el-form-item label="经办用户组" prop="ownusg">
<c-select style="width: 100%" v-model="model.ownusg" placeholder="请选择经办用户组" :code="getCodesByKey('usgtxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Entered/Modified by" prop="usr">
<c-input v-model="model.usr" placeholder="请输入Entered/Modified by" >
<el-form-item label="创建/修改人" prop="usr">
<c-input :disabled="true" v-model="model.usr" placeholder="请输入创建/修改人" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="entry Done" prop="donflg">
<c-select style="width: 100%" v-model="model.donflg" placeholder="请选择entry Done" :code="getCodesByKey('dia_donflg')">
<el-form-item label="是否完成" prop="donflg">
<c-select style="width: 100%" v-model="model.donflg" placeholder="请选择是否完成" :code="getCodesByKey('dia_donflg')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Diary Reason" prop="cod">
<c-select style="width: 100%" v-model="model.cod" placeholder="请选择Diary Reason" :code="getCodesByKey('diatxt')">
<el-form-item label="类型" prop="cod">
<c-select :disabled="true" style="width: 100%" v-model="model.cod" placeholder="请选择类型" :code="getCodesByKey('diatxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Date of Diary" prop="dat">
<c-date-picker type="date"  v-model="model.dat" style="width:100%"  placeholder="请选择Date of Diary"></c-date-picker>
<el-form-item label="日期" prop="dat">
<c-date-picker type="date"  v-model="model.dat" style="width:100%"  placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<div v-if="model.cod == 'RAM'">
<c-col :span="24">
<el-form-item label="付款币种" prop="paycur">
<c-input v-model="model.paycur" placeholder="请输入付款币种" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="付款金额" prop="payamt">
<c-input v-model="model.payamt" placeholder="请输入付款金额" >
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="预计核验日期" prop="prechkdat">
<c-date-picker type="date"  v-model="model.prechkdat" style="width:100%"  placeholder="请选择预计核验日期"></c-date-picker>
</el-form-item>
</c-col>
</div>
</c-col>
</div>
</template>
......
......@@ -3,32 +3,32 @@
<c-col :span="12" class="col-left">
<c-col :span="24">
<el-form-item label="Reason" prop="cod">
<c-select style="width: 100%" v-model="model.cod" placeholder="请选择Reason" :code="getCodesByKey('diatxt')">
<el-form-item label="类型" prop="cod">
<c-select style="width: 100%" v-model="model.cod" placeholder="请选择类型" :code="getCodesByKey('diatxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Reference" prop="objref">
<c-input v-model="model.objref" placeholder="请输入Reference" style="width: 100%">
<el-form-item label="参考号" prop="objref">
<c-input v-model="model.objref" placeholder="请输入参考号" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="User" prop="ownusr">
<c-input v-model="model.ownusr" placeholder="请输入User" style="width: 100%">
<el-form-item label="经办用户" prop="ownusr">
<c-input v-model="model.ownusr" placeholder="请输入经办用户" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Status" prop="donflg">
<c-select style="width: 100%" v-model="model.donflg" placeholder="请选择Status" :code="getCodesByKey('dia_donflg')">
<el-form-item label="是否完成标志" prop="donflg">
<c-select style="width: 100%" v-model="model.donflg" placeholder="请选择是否完成标志" :code="getCodesByKey('dia_donflg')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Group" prop="ownusg">
<c-input v-model="model.ownusg" placeholder="请输入Group" style="width: 100%">
<el-form-item label="经办用户组" prop="ownusg">
<c-input v-model="model.ownusg" placeholder="请输入经办用户组" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
......@@ -36,24 +36,24 @@
<!------------- 右 ---------->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="From" prop="datFrom">
<el-form-item label="开始日期" prop="datFrom">
<c-date-picker type="date"  v-model="model.datFrom" style="width:100%"  placeholder="请选择开始日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="To" prop="datTo">
<c-date-picker type="date"  v-model="model.datTo" style="width:100%"  placeholder="请选择结束日期"></c-date-picker>
<el-form-item label="截止日期" prop="datTo">
<c-date-picker type="date"  v-model="model.datTo" style="width:100%"  placeholder="请选择截止日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Start Transaction" prop="frm">
<c-select style="width: 100%" v-model="model.frm" placeholder="请选择Start Transaction" :code="getCodesByKey('atptxt')">
<el-form-item label="交易名" prop="frm">
<c-select style="width: 100%" v-model="model.frm" placeholder="请选择交易名" :code="getCodesByKey('atptxt')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Entered By" prop="usr">
<c-input v-model="model.usr" placeholder="请输入Entered By" style="width: 100%">
<el-form-item label="柜员名" prop="usr">
<c-input v-model="model.usr" placeholder="请输入柜员名" style="width: 100%">
</c-input>
</el-form-item>
</c-col>
......@@ -130,7 +130,8 @@
</template>
<script>
import codes from "~/config/CodeTable";
import { format } from "path";
import codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/dia.js";
......@@ -142,14 +143,14 @@
return {
diaData: [],
diaColumns: [
{ label: 'Date', prop: 'dat', width: 'auto' },
{ label: 'Reason', prop: 'codCn', width: 'auto' },
{ label: 'Reference', prop: 'objref', width: 'auto' },
{ label: 'Description', prop: 'nam', width: 'auto' },
{ label: 'Transaction', prop: 'frm', width: 'auto' },
{ label: 'User', prop: 'ownusr', width: 'auto' },
{ label: 'Group', prop: 'ownusg', width: 'auto' },
{ label: 'Status', prop: 'donflgCn', width: 'auto' },
{ label: '日期', prop: 'datStr', width: 'auto' },
{ label: '类型', prop: 'codCn', width: 'auto' },
{ label: '参考号', prop: 'objref', width: 'auto' },
{ label: '备忘录名称', prop: 'nam', width: 'auto' },
{ label: '交易名', prop: 'frm', width: 'auto' },
{ label: '经办用户', prop: 'ownusr', width: 'auto' },
{ label: '经办用户组', prop: 'ownusg', width: 'auto' },
{ label: '是否完成', prop: 'donflgCn', width: 'auto' },
],
};
},
......
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