Commit 1b527c94 by huangxin

ditdav,bdtcan的bug修改

parent aee2f5a7
...@@ -158,7 +158,7 @@ export default { ...@@ -158,7 +158,7 @@ export default {
}; };
}, },
methods: { methods: {
tabClick() {}, //tabClick() {},
}, },
created: async function () { created: async function () {
console.log("进入bdtcan交易"); console.log("进入bdtcan交易");
......
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
<el-form-item label="Name" prop="bodgrp.rec.nam"> <el-form-item label="Name" prop="bodgrp.rec.nam">
<c-input <c-input
align="middle"
v-model="model.bodgrp.rec.nam" v-model="model.bodgrp.rec.nam"
maxlength="40" maxlength="40"
disabled disabled
...@@ -287,40 +286,6 @@ ...@@ -287,40 +286,6 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- <c-col :span="24" style="height: 24px; margin-top: -10px">
<el-form-item :label="model.botp.docgrdm.docdsclab" class="messageLabel">
<c-button style="float: right" @click="addTableValue" type="primary">新增单据</c-button>
</el-form-item>
</c-col>
<c-col :span="24" style="margin-bottom: 30px;">
<c-table height="200px" style="text-align: center" :list="this.model.botp.docgrdm.docgrd || []"
:paginationShow="false" :border="true">
<el-table-column label="1st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail1"></c-input>
</template>
</el-table-column>
<el-table-column label="2st" width="auto">
<template slot-scope="scope">
<c-input v-model="scope.row.cmail2"></c-input>
</template>
</el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope">
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam">
<el-option v-for="item in codeTable" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</template>
</el-table-column>
<el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope">
<c-button @click="deleteTable(scope.$index)" type="primary">删除</c-button>
</template>
</el-table-column>
</c-table>
</c-col> -->
<c-docpre <c-docpre
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -426,87 +391,16 @@ export default { ...@@ -426,87 +391,16 @@ export default {
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {
// docgrd: {
// columns: [
// {
// title: "lst",
// width: "80px",
// dataIndex: "cmail1",
// show: "input",
// },
// {
// title: "2nd",
// width: "80px",
// dataIndex: "cmail2",
// show: "input",
// },
// {
// title: "Document",
// width: "320px",
// dataIndex: "docnam",
// show: "select",
// code: "codeTable",
// },
// ],
// urls: "botp.docgrdm.docgrd",
// },
invtyp: [{ label: "type1", value: "1" }], invtyp: [{ label: "type1", value: "1" }],
// codeTable: [
// { label: "Airway Bills", value: "Airway Bills" },
// {
// label: "Beneficiary's Declaration",
// value: "Beneficiary's Declaration",
// },
// { label: "Bill of Lading Copies", value: "Bill of Lading Copies" },
// {
// label: "Bill of Lading Originals",
// value: "Bill of Lading Originals",
// },
// { label: "Certificate", value: "Certificate" },
// { label: "Certificate of Analysis", value: "Certificate of Analysis" },
// { label: "Certificate of Origin", value: "Certificate of Origin" },
// { label: "Certificate of Quality", value: "Certificate of Quality" },
// { label: "Certificate of Quantity", value: "Certificate of Quantity" },
// { label: "Commercial Invoice", value: "Commercial Invoice" },
// { label: "Courier Receipt", value: "Courier Receipt" },
// { label: "Draft", value: "Draft" },
// { label: "Export Licence", value: "Export Licence" },
// { label: "Fax Report", value: "Fax Report" },
// { label: "Inspection Cert", value: "Inspection Cert" },
// { label: "Insurance Policy", value: "Insurance Policy" },
// { label: "Packing List", value: "Packing List" },
// { label: "Shipment Advice", value: "Shipment Advice" },
// { label: "Weight List", value: "Weight List" },
// ],
// newValue: {
// id: 0,
// cmail1: "",
// cmail2: "",
// docnam: "",
// description: "",
// serialNum: "",
// tableName: "",
// tcddoc: "",
// },
// columns: ['0 0 "lst1" 100 ', '1 1 "lst2" 100', '2 2 "document" 200'],
} }
}, },
methods: { methods: {
...Event, ...Event,
// change() {
// this.model.bodgrp.rec.matdat = this.model.oldbodgrp.rec.matdat;
// },
// addTableValue(index) {
// var newTableValue = Object.assign({}, this.newValue);
// const serial = Utils.generateUUID();
// newTableValue.serialNum = serial;
// this.model.botp.docgrdm.docgrd.splice(index - 1, 0, newTableValue);
// },
// deleteTable(index) {
// this.model.botp.docgrdm.docgrd.splice(index, 1);
// },
// async docpre() { // async docpre() {
// let rtnmsg = await this.executeDefault('bodgrp.blk.docpre') // let rtnmsg = await this.executeDefault('bodgrp.blk.docpre')
// if (rtnmsg.respCode == SUCCESS) { // if (rtnmsg.respCode == SUCCESS) {
...@@ -518,17 +412,13 @@ export default { ...@@ -518,17 +412,13 @@ export default {
// } // }
// }, // },
}, },
// mounted() {
// this.change();
// console.log(this.model.bodgrp.rec.matdat);
// },
computed: { computed: {
flag() { flag() {
return this.model.bodgrp.drr.pts.adrelc == ""; return this.model.bodgrp.drr.pts.adrelc == "";
}, },
}, },
created: function () { created: function () {
console.log(this.root);
}, },
} }
</script> </script>
......
...@@ -201,12 +201,6 @@ export default { ...@@ -201,12 +201,6 @@ export default {
}, },
methods:{ methods:{
//tabClick(){} //tabClick(){}
// myTabClick(tab){
// this.tabClick(tab)
// /**
// * do it yourself
// **/
// }
}, },
created:async function(){ created:async function(){
console.log("进入botset交易"); console.log("进入botset交易");
......
...@@ -303,8 +303,15 @@ ...@@ -303,8 +303,15 @@
v-model="model.bddgrp.rec.advtyp" v-model="model.bddgrp.rec.advtyp"
style="width:100%" style="width:100%"
placeholder="请选择Type of Advice" placeholder="请选择Type of Advice"
:code="advtyp" >
></c-select> <el-option
v-for="item in codes.advtyp0"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -465,11 +472,6 @@ export default { ...@@ -465,11 +472,6 @@ export default {
{ label: "Beneficiary", value: "BEN" }, { label: "Beneficiary", value: "BEN" },
{ label: "Presenter(PRP)", value: "PRB" }, { label: "Presenter(PRP)", value: "PRB" },
], ],
advtyp: [
{ label: "Advice of Discrepancy (MT750)", value: "750" },
{ label: "Advice of Payment (MT754)", value: "754" },
{ label: "Other", value: "oth" },
],
}; };
}, },
......
...@@ -150,8 +150,7 @@ export default { ...@@ -150,8 +150,7 @@ export default {
} }
}, },
methods:{ methods:{
tabClick(){ //tabClick(){}
}
}, },
created:async function(){ created:async function(){
console.log("进入ditdav交易"); console.log("进入ditdav交易");
......
...@@ -228,8 +228,8 @@ ...@@ -228,8 +228,8 @@
</el-table-column> </el-table-column>
<el-table-column label="Currency" prop="cur" width="100px"> <el-table-column label="Currency" prop="cur" width="100px">
</el-table-column> </el-table-column>
<!-- <el-table-column label="Original Amount" prop="ogiamt" v-model="ogiamt" width="150px"> --> <el-table-column label="Original Amount" prop="ogiamt" width="150px">
<!-- </el-table-column> --> </el-table-column>
<el-table-column label="Fee Amount" prop="amt" width="150px"> <el-table-column label="Fee Amount" prop="amt" width="150px">
</el-table-column> </el-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right"> <el-table-column label="" prop="det" width="80px" fixed="right">
......
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