Commit 6234e5de by lei wang

dia编辑交易修改

parent 91e8aa61
...@@ -6941,6 +6941,7 @@ const CodeTable = { ...@@ -6941,6 +6941,7 @@ const CodeTable = {
], ],
atptxt: [ atptxt: [
{ label: "开立信用证", value: "DITOPN" }, { label: "开立信用证", value: "DITOPN" },
{ label: "Settling Documents", value: "BCTSET" },
], ],
sptrelstatus: [ sptrelstatus: [
{ label: '传入', value: 'INC' }, { label: '传入', value: 'INC' },
...@@ -7879,7 +7880,39 @@ const CodeTable = { ...@@ -7879,7 +7880,39 @@ const CodeTable = {
{ label: '境外汇入汇款手续费', value: 'cpifee' }, { label: '境外汇入汇款手续费', value: 'cpifee' },
{ label: '境外汇出汇款手续费', value: 'cpofee' }, { label: '境外汇出汇款手续费', value: 'cpofee' },
{ label: '出口信用证预通知手续费(停用)', value: 'preadv' }, { 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; export default CodeTable;
...@@ -5,79 +5,111 @@ ...@@ -5,79 +5,111 @@
<c-col :span="12" class="col-left"> <c-col :span="12" class="col-left">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Business Sector" prop="subObjTyp"> <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> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Reference No." prop="objref"> <el-form-item label="参考号" prop="objref">
<c-input v-model="model.objref" style="width: 100%" placeholder="请输入Reference No"> </c-input> <c-input :disabled="true" v-model="model.objref" style="width: 100%" placeholder="请输入参考号"> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Description" prop="ownrefDesc"> <el-form-item label="参考号描述" prop="ownrefDesc">
<c-input v-model="model.ownrefDesc" style="width: 100%" placeholder="请输入Description"> </c-input> <c-input :disabled="true" v-model="model.ownrefDesc" style="width: 100%" placeholder="请输入参考号描述"> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="Start Transaction" prop="frm"> <el-form-item label="交易名" prop="frm">
<c-input v-model="model.frm" placeholder="请输入账号" > </c-input> <c-select style="width: 100%" v-model="model.frm" placeholder="请选择交易名">
</c-select>
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Description" prop="frm"> <el-form-item label="交易" prop="frm">
<c-select style="width: 100%" v-model="model.frm" placeholder="请选择Description" :code="getCodesByKey('atptxt')"> <c-select style="width: 100%" v-model="model.frm" placeholder="请选择交易" :code="getCodesByKey('atptxt')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Description" prop="nam"> <el-form-item label="备忘录名称" prop="nam">
<c-input v-model="model.nam" style="width: 100%" placeholder="请输入Description"> <c-input v-model="model.nam" style="width: 100%" placeholder="请输入备忘录名称">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Detailed Information" prop="inftxt"> <el-form-item label="明细信息" prop="inftxt">
<c-input v-model="model.inftxt" placeholder="请输入Detailed Information" > </c-input> <c-input v-model="model.inftxt" placeholder="请输入明细信息" > </c-input>
</el-form-item> </el-form-item>
</c-col> </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>
<!-- =============================================右边=========================================== --> <!-- =============================================右边=========================================== -->
<c-col :span="12" class="col-right"> <c-col :span="12" class="col-right">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="User" prop="ownusr"> <el-form-item label="经办用户" prop="ownusr">
<c-input v-model="model.ownusr" placeholder="请输入User" > </c-input> <c-input :disabled="true" v-model="model.ownusr" placeholder="请输入经办用户" > </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Group" prop="ownusg"> <el-form-item label="经办用户组" prop="ownusg">
<c-select style="width: 100%" v-model="model.ownusg" placeholder="请选择Group" :code="getCodesByKey('usgtxt')"> <c-select style="width: 100%" v-model="model.ownusg" placeholder="请选择经办用户组" :code="getCodesByKey('usgtxt')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Entered/Modified by" prop="usr"> <el-form-item label="创建/修改人" prop="usr">
<c-input v-model="model.usr" placeholder="请输入Entered/Modified by" > <c-input :disabled="true" v-model="model.usr" placeholder="请输入创建/修改人" >
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="entry Done" prop="donflg"> <el-form-item label="是否完成" prop="donflg">
<c-select style="width: 100%" v-model="model.donflg" placeholder="请选择entry Done" :code="getCodesByKey('dia_donflg')"> <c-select style="width: 100%" v-model="model.donflg" placeholder="请选择是否完成" :code="getCodesByKey('dia_donflg')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Diary Reason" prop="cod"> <el-form-item label="类型" prop="cod">
<c-select style="width: 100%" v-model="model.cod" placeholder="请选择Diary Reason" :code="getCodesByKey('diatxt')"> <c-select :disabled="true" style="width: 100%" v-model="model.cod" placeholder="请选择类型" :code="getCodesByKey('diatxt')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Date of Diary" prop="dat"> <el-form-item label="日期" prop="dat">
<c-date-picker type="date"  v-model="model.dat" style="width:100%"  placeholder="请选择Date of Diary"></c-date-picker> <c-date-picker type="date"  v-model="model.dat" style="width:100%"  placeholder="请选择日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </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> </c-col>
</div> </div>
</template> </template>
......
...@@ -3,32 +3,32 @@ ...@@ -3,32 +3,32 @@
<c-col :span="12" class="col-left"> <c-col :span="12" class="col-left">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Reason" prop="cod"> <el-form-item label="类型" prop="cod">
<c-select style="width: 100%" v-model="model.cod" placeholder="请选择Reason" :code="getCodesByKey('diatxt')"> <c-select style="width: 100%" v-model="model.cod" placeholder="请选择类型" :code="getCodesByKey('diatxt')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Reference" prop="objref"> <el-form-item label="参考号" prop="objref">
<c-input v-model="model.objref" placeholder="请输入Reference" style="width: 100%"> <c-input v-model="model.objref" placeholder="请输入参考号" style="width: 100%">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="User" prop="ownusr"> <el-form-item label="经办用户" prop="ownusr">
<c-input v-model="model.ownusr" placeholder="请输入User" style="width: 100%"> <c-input v-model="model.ownusr" placeholder="请输入经办用户" style="width: 100%">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Status" prop="donflg"> <el-form-item label="是否完成标志" prop="donflg">
<c-select style="width: 100%" v-model="model.donflg" placeholder="请选择Status" :code="getCodesByKey('dia_donflg')"> <c-select style="width: 100%" v-model="model.donflg" placeholder="请选择是否完成标志" :code="getCodesByKey('dia_donflg')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Group" prop="ownusg"> <el-form-item label="经办用户组" prop="ownusg">
<c-input v-model="model.ownusg" placeholder="请输入Group" style="width: 100%"> <c-input v-model="model.ownusg" placeholder="请输入经办用户组" style="width: 100%">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -36,24 +36,24 @@ ...@@ -36,24 +36,24 @@
<!------------- 右 ----------> <!------------- 右 ---------->
<c-col :span="12" class="col-right"> <c-col :span="12" class="col-right">
<c-col :span="24"> <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> <c-date-picker type="date"  v-model="model.datFrom" style="width:100%"  placeholder="请选择开始日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="To" prop="datTo"> <el-form-item label="截止日期" prop="datTo">
<c-date-picker type="date"  v-model="model.datTo" style="width:100%"  placeholder="请选择结束日期"></c-date-picker> <c-date-picker type="date"  v-model="model.datTo" style="width:100%"  placeholder="请选择截止日期"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Start Transaction" prop="frm"> <el-form-item label="交易名" prop="frm">
<c-select style="width: 100%" v-model="model.frm" placeholder="请选择Start Transaction" :code="getCodesByKey('atptxt')"> <c-select style="width: 100%" v-model="model.frm" placeholder="请选择交易名" :code="getCodesByKey('atptxt')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Entered By" prop="usr"> <el-form-item label="柜员名" prop="usr">
<c-input v-model="model.usr" placeholder="请输入Entered By" style="width: 100%"> <c-input v-model="model.usr" placeholder="请输入柜员名" style="width: 100%">
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -130,7 +130,8 @@ ...@@ -130,7 +130,8 @@
</template> </template>
<script> <script>
import codes from "~/config/CodeTable"; import { format } from "path";
import codes from "~/config/CodeTable";
import { queryByPage } from "~/service/test/dia.js"; import { queryByPage } from "~/service/test/dia.js";
...@@ -142,14 +143,14 @@ ...@@ -142,14 +143,14 @@
return { return {
diaData: [], diaData: [],
diaColumns: [ diaColumns: [
{ label: 'Date', prop: 'dat', width: 'auto' }, { label: '日期', prop: 'datStr', width: 'auto' },
{ label: 'Reason', prop: 'codCn', width: 'auto' }, { label: '类型', prop: 'codCn', width: 'auto' },
{ label: 'Reference', prop: 'objref', width: 'auto' }, { label: '参考号', prop: 'objref', width: 'auto' },
{ label: 'Description', prop: 'nam', width: 'auto' }, { label: '备忘录名称', prop: 'nam', width: 'auto' },
{ label: 'Transaction', prop: 'frm', width: 'auto' }, { label: '交易名', prop: 'frm', width: 'auto' },
{ label: 'User', prop: 'ownusr', width: 'auto' }, { label: '经办用户', prop: 'ownusr', width: 'auto' },
{ label: 'Group', prop: 'ownusg', width: 'auto' }, { label: '经办用户组', prop: 'ownusg', width: 'auto' },
{ label: 'Status', prop: 'donflgCn', 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