Commit d470e6e7 by xionglin

oit文件夾修改

parent 54ce30aa
......@@ -7717,6 +7717,50 @@ const CodeTable = {
{ label: "ISCO Issuance of counter-undertaking", value: "ISCO" },
{ label: "ICCO Issuance of counter-counter-undert", value: "ICCO" },
],
sndto: []
sndto: [],
objtypcodetable: [
{ label: 'Party', value: 'PTY ' },
{ label: 'Account', value: 'ACT ' },
{ label: 'Export L/C', value: 'LED ' },
{ label: 'Imoprt L/C', value: 'LID ' },
{ label: 'Country', value: 'CTY ' },
{ label: 'Guarantee', value: 'GID ' },
{ label: 'Reimbursement', value: 'RMD ' },
{ label: 'Import Collection', value: 'BCD ' },
{ label: 'Export Collection', value: 'BOD ' },
{ label: 'Advance', value: 'BPD ' },
{ label: 'Clean Payment', value: 'CPD ' },
{ label: 'Export L/C (Ind.)', value: 'LED ' },
{ label: 'Transferable L/C', value: 'LTD ' },
{ label: 'Manual Contract', value: 'MCD ' },
{ label: 'Participation', value: 'PAD ' },
{ label: 'Loan', value: 'TRD ' },
{ label: 'Condition', value: 'FEC ' },
{ label: 'Export L/C Documents', value: 'BED ' },
{ label: 'Import L/C Documents', value: 'BRD ' },
{ label: 'Transfer Documents', value: 'BTD ' },
{ label: 'Export Doc. (Ind.)', value: 'DED ' },
{ label: 'Reimbursement Claim', value: 'RCD ' },
{ label: '', value: 'BDD ' },
{ label: '', value: 'CLD ' },
{ label: '', value: 'DID ' },
{ label: '', value: 'GCD ' },
],
subtypcodetable: [
{ label: 'General', value: 'INF' },
{ label: 'Stop', value: 'STP' },
{ label: 'Busines Sector', value: 'BUS' },
{ label: 'Settlement', value: 'SET' },
],
inflevcodetable: [
{ label: 'Do not show', value: '!' },
{ label: 'Show', value: '$' },
{ label: 'Warn', value: '0' },
{ label: 'Stop new Risk', value: '1' },
{ label: 'Stop Payments', value: '2' },
{ label: 'Stop Transaction', value: '3' },
{ label: 'Stop Processing', value: '9' },
],
}
export default CodeTable;
......@@ -294,11 +294,11 @@ import Dbacty from "~/views/Statics/cty/views/Dbacty";
import Dbecty from "~/views/Statics/cty/views/Dbecty";
import Dbdcty from "~/views/Statics/cty/views/Dbdcty";
import Infoit from "~/views/Statics/Act/views/Infoit"
import Dbioit from "~/views/Statics/Act/views/Dbioit"
import Dbaoit from "~/views/Statics/Act/views/Dbaoit"
import Dbdoit from "~/views/Statics/Act/views/Dbdoit"
import Dbeoit from "~/views/Statics/Act/views/Dbeoit"
import Infoit from "~/views/Statics/Oit/views/Infoit"
import Dbioit from "~/views/Statics/Oit/views/Dbioit"
import Dbaoit from "~/views/Statics/Oit/views/Dbaoit"
import Dbdoit from "~/views/Statics/Oit/views/Dbdoit"
import Dbeoit from "~/views/Statics/Oit/views/Dbeoit"
import Infcur from "~/views/Statics/cur/views/Infcur";
import Dbacur from "~/views/Statics/cur/views/Dbacur";
......
export default class Oit {
constructor() {
this.data = {
inr: '',
objtyp: '',
objinr: '',
subtyp: '',
subbus: '',
inflev: '',
inftxt: '',
ver: '',
etgextkey: '',
ownref: '',
nam: '',
cod: '',
extkey: '',
}
}
}
export const Pattern = {
inr: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 8, message: '最大长度8个字符', trigger: 'blur' },
],
objtyp: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 6, message: '最大长度6个字符', trigger: 'blur' },
],
objinr: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 8, message: '最大长度8个字符', trigger: 'blur' },
],
subtyp: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 3, message: '最大长度3个字符', trigger: 'blur' },
],
subbus: [
{ required: false, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 2, message: '最大长度2个字符', trigger: 'blur' },
],
inflev: [
{ required: true, message: '必输项', type: 'string', trigger: 'blur' },
{ max: 1, message: '最大长度1个字符', trigger: 'blur' },
],
inftxt: [],
}
......@@ -3,7 +3,7 @@
</template>
<script>
import Dbioit from '~/views/Statics/Act/views/Dbioit'
import Dbioit from '~/views/Statics/Oit/views/Dbioit'
export default {
name: 'StaticsDbaoit',
......
......@@ -3,7 +3,7 @@
</template>
<script>
import Dbioit from '~/views/Statics/Act/views/Dbioit'
import Dbioit from '~/views/Statics/Oit/views/Dbioit'
export default {
name: 'StaticsDbdoit',
......
......@@ -3,7 +3,7 @@
</template>
<script>
import Dbioit from '~/views/Statics/Act/views/Dbioit'
import Dbioit from '~/views/Statics/Oit/views/Dbioit'
export default {
name: 'StaticsDbeoit',
......
......@@ -49,7 +49,7 @@
<script>
import Utils from '~/utils'
import Oit, { Pattern } from './Oit.js'
import Oit, { Pattern } from '../../model/Oit.js'
// import Bchp0 from "./Bchp0.vue";
import OitInfo from './OitInfo.vue'
......
......@@ -169,7 +169,10 @@ export default {
* total: 69
* totalPage: 0
*/
console.log(res)
const list = res.list
console.log("============")
console.log(list)
// Object.keys(list).forEach((item) => {
// let obj = list[item]
// let typArr = codes['objtypcodetable']
......@@ -182,6 +185,9 @@ export default {
let objtypArr = codes['objtypcodetable'].filter((i) => {
return i.value == obj.objtyp
})
console.log(obj)
console.log(">>>>>>>>>")
console.log(objtypArr)
obj.objtypCn = objtypArr[0].label
let subtypArr = codes['subtypcodetable'].filter((i) => {
return i.value == obj.subtyp
......
......@@ -20,11 +20,11 @@ import Dbacty from "./cty/views/Dbacty";
import Dbecty from "./cty/views/Dbecty";
import Dbdcty from "./cty/views/Dbdcty";
import Infoit from "./Act/views/Infoit"
import Dbioit from "./Act/views/Dbioit"
import Dbaoit from "./Act/views/Dbaoit"
import Dbdoit from "./Act/views/Dbdoit"
import Dbeoit from "./Act/views/Dbeoit"
import Infoit from "./Oit/views/Infoit"
import Dbioit from "./Oit/views/Dbioit"
import Dbaoit from "./Oit/views/Dbaoit"
import Dbdoit from "./Oit/views/Dbdoit"
import Dbeoit from "./Oit/views/Dbeoit"
import Inffec from "./Inffec";
import Dbifec from "./Dbifec";
......
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