Commit 8f257b05 by 潘际乾

表单校验规则与变化监听

parent 281009cd
<template>
<div class="eContainer-table-block">
<el-table :data="tableData.slice((currentPage - 1) * pageSize, currentPage * pageSize)" style="width: 100%" class="eContainer-table" :header-cell-style="{background: 'eef1f6', color: '#606266'}">
<el-table-column
v-for="(item, key) in tableColumns"
:key="key"
:prop="item.prop"
:label="item.label"
:width="item.width"
></el-table-column>
</el-table>
<el-pagination
class="eContainer-pagination"
layout="prev, pager, next, jumper"
:page-sizes="pageSizes"
:page-size="pageSize"
:current-page="currentPage"
:total="tableData.length"
@size-change="sizeChange"
@current-change="currentChange"
></el-pagination>
<div class="paginationLable">当前显示第 {{(currentPage - 1) * pageSize + 1}}-{{currentPage * pageSize > tableData.length ? tableData.length : currentPage * pageSize}} 条,共 {{tableData.length}}</div>
</div>
</template>
<script>
export default {
props: {
columns: {
type: Array,
default: () => {
return [];
},
},
list: {
type: Array,
default: () => {
return [];
},
},
},
computed: {
tableColumns() {
const arr = [];
for (let i = 0; i < this.columns.length; i++) {
const column = this.columns[i];
const label = column.split("\"")[1]
const newStr = column.replace(`\"${label}\"`, "label")
const vals = newStr.split(" ")
// "P VERTLINES TRUE"
if (vals.length <= 3) break;
arr.push({
prop: vals[0],
label: label,
width: vals[3],
});
}
return arr;
},
tableData() {
return this.list.map((row) => {
const res = {}
const vals = row.split("\t");
for (let i = 0; i < vals.length; i++) {
res[i] = vals[i];
}
return res;
});
},
},
data() {
return {
currentPage: 1,
pageSizes: [5, 10, 20, 30, 40, 50, 100],
pageSize: 5
};
},
mounted: {},
methods: {
sizeChange(size) {
this.pageSize = size;
},
currentChange(currentPage) {
this.currentPage = currentPage;
}
}
};
</script>
<style>
.eContainer-table-block .paginationLable{
font-size: 12px;
color: #808080;
height: 26px;
line-height: 26px;
float:right;
margin-top:20px;
}
.eContainer-table-block .el-table__body-wrapper {
overflow: auto;
}
.el-table .warning-row {
background: oldlace;
}
.el-table .success-row {
background: #f0f9eb;
}
</style>
\ No newline at end of file
......@@ -9,6 +9,7 @@ import Button from './Button.vue'
import DatePicker from './DatePicker.vue'
import Checkbox from './Checkbox.vue'
import Table from "./Table"
import IStreamTable from "./IStreamTable.vue"
import Radio from "./Radio"
import InputNumber from "./InputNumber"
import PrintButton from "./PrintButton"
......@@ -46,6 +47,7 @@ export default {
Vue.component("c-docshow", DocShow)
Vue.component("c-UnicodePicker", UnicodePicker)
Vue.component("c-table", Table)
Vue.component("c-istream-table", IStreamTable)
Vue.component("c-radio", Radio)
Vue.component("c-input-number", InputNumber)
Vue.component("c-print-button", PrintButton)
......
import AmlCheckModel from "~/model/widget/Aml/AmlCheckModel"
export default {
data () {
return {
amlCheckModel: new AmlCheckModel().data,
amlTempData: this.$route.query.routeParams && this.$route.query.routeParams.amlTempData || undefined
}
},
computed: {
amlProps () {
return {
trigger: this.process == '0' || !this.isReview,//是否触发筛查,仅在受理中心经办触发筛查
amlCheckModel: new AmlCheckModel().data, //反洗钱筛查模型
txSriNo: this.serialNo
}
}
},
methods: {
reSubmit() {
this.amlCheckModel.flag = true;
this.handleStart(); //再次调用原交易界面提交按钮
},
showAml() {
this.aml()
let params = {
head: this.genRequestHead(),
body: {
amlCheckVo: this.amlCheckModel
}
}
this.$refs.aml && this.$refs.aml.handleClick(this.amlProps.trigger, this.amlProps.txSriNo, params)
},
}
}
\ No newline at end of file
import Utils from "~/utils";
export default {
methods: {
// 校验公共表单
// checkCommonForm () {
// return Promise((resolve, reject) => {
// return this.handleCommonFormValiate()
// })
// },
async checkCommonForm () {
console.log(this.$refs)
let tasks = []
let self = this
Object.keys(this.$refs).forEach(ref => {
if (self.$refs[ref]) {
Object.keys(self.$refs[ref].$refs).forEach(item => {
if (item.indexOf('commonform_') !== -1) {
console.log(self.$refs[ref].$refs[item])
tasks.push(Utils.getFormPromise(self.$refs[ref].$refs[item].$refs['commonform']))
}
})
}
})
if(tasks.length > 0) {
let res = await Promise.all(tasks).then(res => {
let flag = res.every(item => {
return item
})
console.log(flag)
if (flag) {
return true
} else {
return false
}
}).catch(err => {
return false
})
return res
} else {
return true
}
},
scrollToCheckError () {
//定位到报错的地方
let errElems = document.getElementsByClassName('el-form-item__error')
let id
let declareId
if (errElems && errElems[0]) {
let target = errElems[0]
while(target && target.parentElement) {
if (target.parentElement.classList.contains('el-tab-pane')) {
if (target.parentElement.id.indexOf('decl_') !== -1) {
declareId = target.parentElement.id
target = target.parentElement
} else {
id = target.parentElement.id
break
}
} else {
target = target.parentElement
}
}
}
if (id && id.split('-')[1]) {
this.activeName = id.split('-')[1]
if (declareId && this.activeName) {
let declareActiveName = declareId.split('-')[1] || ''
this.$refs[this.activeName].activeName = declareActiveName
}
this.$nextTick(() => {
errElems[0].scrollIntoView(false)
})
}
}
}
}
\ No newline at end of file
import {
declareTrial
} from "~/config/Declare/Common/declareTrialCopy";
import Request from '~/utils/request';
import Utils from "~/utils";
export default {
methods: {
hasDeclare() {
if (this.model.declareMod.safeDeclWay == '1' || this.model.declareMod.safeDeclWay == '2' || this.model.declareMod.rcpmisDeclWay == '1') {
return true
} else {
return false
}
},
updateDeclare() {
let request = {
head: {
txCode: this.declareParams.txCode,
},
body: {
declare: this.getDeclMap(),
bizData: this.model
}
}
if (this.declareParams.txCode === '040101') {
return declareTrial(request, this.OrtModel, this.DrtModel, this.ExpnModel)
} else if (this.declareParams.txCode === '040201' || this.declareParams.txCode === '040203') {
return declareTrial(request, this.OinModel, this.DinModel, this.IncomeModel)
} else if (this.declareParams.txCode === '030301') {
return declareTrial(request, this.ExtguarsModel, this.ExtguarbModel, this.GuaenrInfoModel)
} else if (this.declareParams.txCode === '020314') {
return declareTrial(request, this.OpyModel, this.DpyModel, this.ExpnModel)
} else if (this.declareParams.txCode === '050205') {
return declareTrial(request, this.OinModel, this.DinModel, this.IncomeModel)
} else if (this.declareParams.txCode === '050105') {
return declareTrial(request, this.OpyModel, this.DpyModel, this.ExpnModel)
}else if (this.declareParams.txCode === '020412') {
//出口信用证收汇
return declareTrial(request, this.OinModel, this.DinModel, this.IncomeModel)
}else if(this.declareParams.txCode === '050201'){
return declareTrial(request, this.BankDocSetModel)
}else if(this.declareParams.txCode === '050101'){
return declareTrial(request, this.BankDocSetModel)
}
},
getDeclMap() {
if (this.model.declareMod && this.model.declareMod.safeDeclType && this.model.declareMod.safeDeclType.length > 0 && this.model.declareMod.rcpmisDeclType && this.model.declareMod.rcpmisDeclType.length > 0) {
return {
'declType': [...this.model.declareMod.safeDeclType, ...this.model.declareMod.rcpmisDeclType],
}
} else if (this.model.declareMod && this.model.declareMod.safeDeclType && this.model.declareMod.safeDeclType.length > 0) {
return {
'declType': [...this.model.declareMod.safeDeclType],
}
} else if (this.model.declareMod && this.model.declareMod.rcpmisDeclType && this.model.declareMod.rcpmisDeclType.length > 0) {
return {
'declType': [...this.model.declareMod.rcpmisDeclType],
}
}
},
updateDeclareModel(declare) {
if (!declare) return
this.delcareOldModel = JSON.parse(JSON.stringify(declare))
this.updateDeclareMod(this.model, declare);
if(declare.trdtyp == '040101'){
if(declare && declare.decmstOrtVo){
this.OrtModel.decmstOrtBaseVo = declare.decmstOrtVo.decmstOrtBaseVo
this.OrtModel.decdtlOrtDeclrVo = declare.decmstOrtVo.decdtlOrtDeclrVo
this.OrtModel.decdtlOrtManageVo = declare.decmstOrtVo.decdtlOrtManageVo
let market= this.OrtModel.decmstOrtBaseVo.marketorg;
Request.get("/v1/pm/instManage/queryDownInstById/" + market).then(rtn => {
if (rtn.code == "000000") {
this.OrtModel.decmstOrtBaseVo.declareorg = rtn.data[0].finInstNo;
}
});
}
if(declare && declare.decmstDrtVo){
this.DrtModel.decmstDrtBaseVo = declare.decmstDrtVo.decmstDrtBaseVo
this.DrtModel.decdtlDrtManageVo = declare.decmstDrtVo.decdtlDrtManageVo
let market= this.DrtModel.decmstDrtBaseVo.marketorg;
Request.get("/v1/pm/instManage/queryDownInstById/" + market).then(rtn => {
if (rtn.code == "000000") {
this.DrtModel.decmstDrtBaseVo.declareorg = rtn.data[0].finInstNo;
}
});
}
if (declare && declare.decmstExpnVo) {
this.ExpnModel = declare.decmstExpnVo
}
}
this.$refs['declare_oin'] && this.$refs['declare_oin'].updateModel(declare)
this.$refs['declare_din'] && this.$refs['declare_din'].updateModel(declare)
if (declare && declare.decmstIncomeVo) {
this.IncomeModel = declare.decmstIncomeVo
}
this.$refs['declare_extGuarSign'] && this.$refs['declare_extGuarSign'].updateModel(declare)
this.$refs['declare_extGuarBal'] && this.$refs['declare_extGuarBal'].updateModel(declare)
if (declare && declare.decmstGuaenrInfoVo) {
this.GuaenrInfoModel = declare.decmstGuaenrInfoVo
}
this.$refs['declare_opy'] && this.$refs['declare_opy'].updateModel(declare)
this.$refs['declare_dpy'] && this.$refs['declare_dpy'].updateModel(declare)
if (declare && declare.decmstbankdocsetVo) {
this.BankDocSetModel = declare.decmstbankdocsetVo
}
},
//将declare中变化的非申报model进行反显 model(当前业务model)/declare(业务大字段)
updateDeclareMod(model, declare) {
model.declareMod.safeDeclWay = declare.safeDeclWay;
model.declareMod.rcpmisDeclWay = declare.rcpmisDeclWay;
model.declareMod.safeDeclType = declare.safeDeclType;
model.declareMod.rcpmisDeclType = declare.rcpmisDeclType;
},
genDeclareData(body) {
body.declare = {}
body.declare.safeDeclWay = this.model.declareMod.safeDeclWay;
body.declare.rcpmisDeclWay = this.model.declareMod.rcpmisDeclWay;
body.declare.safeDeclType = this.model.declareMod.safeDeclType;
body.declare.rcpmisDeclType = this.model.declareMod.rcpmisDeclType;
body.declare.busNo = this.declareParams.busiNo;
body.declare.trdtyp = this.declareParams.txCode;
body.declare.trdid = this.serialNo || this.$route.query.routeParams.txSriNo || '';
if (this.declareParams.txCode == '040101') {
if (this.OrtModel && this.model.declareMod.safeDeclType == 'DecmstOrt') {
body.declare.decmstOrtVo = {
decmstOrtBaseVo: this.OrtModel.decmstOrtBaseVo,
decdtlOrtDeclrVo: this.OrtModel.decdtlOrtDeclrVo,
decdtlOrtManageVo: this.OrtModel.decdtlOrtManageVo,
}
}
if (this.DrtModel && this.model.declareMod.safeDeclType == 'DecmstDrt') {
body.declare.decmstDrtVo = {
decmstDrtBaseVo: this.DrtModel.decmstDrtBaseVo,
decdtlDrtManageVo: this.DrtModel.decdtlDrtManageVo
}
}
if (this.ExpnModel && this.model.declareMod.rcpmisDeclWay == '1') {
body.declare.decmstExpnVo = this.ExpnModel
}
if (this.OrtModel && this.OrtModel.decmstOrtBaseVo.custype) {
body.declare.cusType = this.OrtModel.decmstOrtBaseVo.custype
}
if (this.DrtModel && this.DrtModel.decmstDrtBaseVo.custype) {
body.declare.cusType = this.DrtModel.decmstDrtBaseVo.custype
}
} else if (this.declareParams.txCode == '040201' || this.declareParams.txCode == '040203') {
if (this.OinModel && this.model.declareMod.safeDeclType == 'DecmstOin') {
body.declare.decmstOinVo = {
decmstOinBaseVo: this.OinModel.decmstOinBaseVo,
decdtlOinDeclrVo: this.OinModel.decdtlOinDeclrVo,
}
}
if (this.DinModel && this.model.declareMod.safeDeclType == 'DecmstDin') {
body.declare.decmstDinVo = {
decmstDinBaseVo: this.DinModel.decmstDinBaseVo,
decdtlDinManageVo: this.DinModel.decdtlDinManageVo,
}
}
if (this.IncomeModel && this.model.declareMod.rcpmisDeclWay == '1') {
body.declare.decmstIncomeVo = this.IncomeModel
}
if (this.OinModel && this.OinModel.decmstOinBaseVo.custype) {
body.declare.cusType = this.OinModel.decmstOinBaseVo.custype
}
if (this.DinModel && this.DinModel.decmstDinBaseVo.custype) {
body.declare.cusType = this.DinModel.decmstDinBaseVo.custype
}
} else if (this.declareParams.txCode == '030301') {
if (this.ExtguarsModel && this.model.declareMod.safeDeclType[0] == 'DecmstExtGuarSign') {
body.declare.decmstExtGuarsDTO = {
decmstExtGuarSignVo: this.ExtguarsModel,
bfcys: this.ExtguarsModel.bfcys,
gueds: this.ExtguarsModel.gueds,
cgs: this.ExtguarsModel.cgs
}
}
if (this.ExtguarbModel && this.model.declareMod.safeDeclType[1] == 'DecdtlExtGuarBal') {
body.declare.decdtlExtGuarBalVo = this.ExtguarsModel
}
if (this.GuaenrInfoModel && this.model.declareMod.rcpmisDeclWay == '1') {
body.declare.decmstGuaenrInfoVo = this.GuaenrInfoModel
}
} else if (this.declareParams.txCode == '020314') {
if (this.OpyModel && this.model.declareMod.safeDeclType == 'DecmstOpy') {
body.declare.decmstOpyVo = {
decmstOpyBaseVo: this.OpyModel.decmstOpyBaseVo,
decdtlOpyDeclrVo: this.OpyModel.decdtlOpyDeclrVo,
decdtlOpyManageVo: this.OpyModel.decdtlOpyManageVo
}
}
if (this.DpyModel && this.model.declareMod.safeDeclType == 'DecmstDpy') {
body.declare.decmstOpyVo = {
decmstDpyBaseVo: this.DpyModel.decmstDpyBaseVo,
decdtlDpyManageVo: this.DpyModel.decdtlDpyManageVo,
}
}
if (this.ExpnModel && this.model.declareMod.rcpmisDeclWay == '1') {
body.declare.decmstExpnVo = this.ExpnModel
}
} else if (this.declareParams.txCode == '050205') {
if (this.OinModel && this.model.declareMod.safeDeclType == 'DecmstOin') {
body.declare.decmstOinVo = {
decmstOinBaseVo: this.OinModel.decmstOinBaseVo,
decdtlOinDeclrVo: this.OinModel.decdtlOinDeclrVo,
}
}
if (this.DinModel && this.model.declareMod.safeDeclType == 'DecmstDin') {
body.declare.decmstDinVo = {
decmstDinBaseVo: this.DinModel.decmstDinBaseVo,
decdtlDinManageVo: this.DinModel.decdtlDinManageVo,
}
}
if (this.IncomeModel && this.model.declareMod.rcpmisDeclWay == '1') {
body.declare.decmstIncomeVo = this.IncomeModel
}
if (this.OinModel && this.OinModel.decmstOinBaseVo.custype) {
body.declare.cusType = this.OinModel.decmstOinBaseVo.custype
}
if (this.DinModel && this.DinModel.decmstDinBaseVo.custype) {
body.declare.cusType = this.DinModel.decmstDinBaseVo.custype
}
} else if (this.declareParams.txCode == '050105') {
if (this.OpyModel && this.model.declareMod.safeDeclType == 'DecmstOpy') {
body.declare.decmstOpyVo = {
decmstOpyBaseVo: this.OpyModel.decmstOpyBaseVo,
decdtlOpyDeclrVo: this.OpyModel.decdtlOpyDeclrVo,
decdtlOpyManageVo: this.OpyModel.decdtlOpyManageVo
}
}
if (this.DpyModel && this.model.declareMod.safeDeclType == 'DecmstDpy') {
body.declare.decmstOpyVo = {
decmstDpyBaseVo: this.DpyModel.decmstDpyBaseVo,
decdtlDpyManageVo: this.DpyModel.decdtlDpyManageVo,
}
}
if (this.ExpnModel && this.model.declareMod.rcpmisDeclWay == '1') {
body.declare.decmstExpnVo = this.ExpnModel
}
}else if (this.declareParams.txCode == '020412') {
//出口信用证收汇
if (this.OinModel && this.model.declareMod.safeDeclType == 'DecmstOin') {
body.declare.decmstOinVo = {
decmstOinBaseVo: this.OinModel.decmstOinBaseVo,
decdtlOinDeclrVo: this.OinModel.decdtlOinDeclrVo,
}
}
if (this.DinModel && this.model.declareMod.safeDeclType == 'DecmstDin') {
body.declare.decmstDinVo = {
decmstDinBaseVo: this.DinModel.decmstDinBaseVo,
decdtlDinManageVo: this.DinModel.decdtlDinManageVo,
}
}
if (this.IncomeModel && this.model.declareMod.rcpmisDeclType == '1') {
body.declare.decmstIncomeVo = this.IncomeModel
}
if (this.OinModel && this.OinModel.decmstOinBaseVo.custype) {
body.declare.cusType = this.OinModel.decmstOinBaseVo.custype
}
if (this.DinModel && this.DinModel.decmstDinBaseVo.custype) {
body.declare.cusType = this.DinModel.decmstDinBaseVo.custype
}
}else if (this.declareParams.txCode == '050201') {
if (this.BankDocSetModel && this.model.declareMod.rcpmisDeclWay == '1') {
body.declare.decmstbankdocsetVo = this.BankDocSetModel
}
}else if (this.declareParams.txCode == '050101') {
if (this.BankDocSetModel && this.model.declareMod.rcpmisDeclWay == '1') {
body.declare.decmstbankdocsetVo = this.BankDocSetModel
}
}
},
updateChangeDeclare() {
let flag = false
//此时申报model随之变化,若涉及申报字段改动,则会比较出结果
if (this.compareOrtChanges() == true || this.compareDrtChanges() == true) {
flag = true
}
return flag
},
compareOrtChanges(){
var ortChange = [];
if(this.delcareOldModel.decmstOrtVo){
ortChange = Utils.compareChanges(this.delcareOldModel.decmstOrtVo, this.OrtModel)
if(ortChange.length == 0){
return false
}
return true
}
return false
},
compareDrtChanges() {
var drtChange = [];
if(this.delcareOldModel.decmstDrtVo){
drtChange = Utils.compareChanges(this.delcareOldModel.decmstDrtVo, this.DrtModel)
if(drtChange.length == 0){
return false
}
return true
}
return false
},
assignDeclareModel(params){
if(this.delcareOldModel.decmstOrtVo && params.body.declare.decmstOrtVo){
Object.assign(params.body.declare.decmstOrtVo.decmstOrtBaseVo,this.delcareOldModel.decmstOrtVo.decmstOrtBaseVo);
Object.assign(params.body.declare.decmstOrtVo.decdtlOrtDeclrVo,this.delcareOldModel.decmstOrtVo.decdtlOrtDeclrVo);
Object.assign(params.body.declare.decmstOrtVo.decdtlOrtManageVo,this.delcareOldModel.decmstOrtVo.decdtlOrtManageVo);
}
if(this.delcareOldModel.decmstDrtVo && params.body.declare.decmstDrtVo){
Object.assign(params.body.declare.decmstDrtVo.decmstDrtBaseVo,this.delcareOldModel.decmstDrtVo.decmstDrtBaseVo);
Object.assign(params.body.declare.decmstDrtVo.decdtlDrtManageVo,this.delcareOldModel.decmstDrtVo.decdtlDrtManageVo);
}
if(this.delcareOldModel.decmstExpnVo && params.body.declare.decmstExpnVo){
Object.assign(params.body.declare.decmstExpnVo, this.delcareOldModel.decmstExpnVo);
}
}
},
}
\ No newline at end of file
//import moment from "moment";
export default {
computed: {
diaryModel:function() {
return {
prKeyId: "",
status: "1",
busiTypeNo: this.declareParams.txCode.slice(0,4),
busiNo: this.declareParams.busiNo,
belongInstNo: this.declareParams.marketInstNo,
txCode: this.declareParams.txCode,
txName: this.declareParams.txName,
currCode: this.declareParams.currCode,
custNo: this.declareParams.custNo,
custNm: this.declareParams.custNm,
amt: this.declareParams.amt,
remindTime: moment().format("YYYYMMDD"),
}
}
}
}
\ No newline at end of file
export default {
methods: {
handleAccUpdate: function (arr, type) {
let obj
//保证金帐务赋值
if (type == 'fingrt' && this.accParams && this.accParams.accSelectVos) {
this.accParams.accSelectVos.forEach(item => {
if (item.accSelectType == 'M') {
obj = item
}
})
if(arr[2]==0.00){
this.accParams.accSelectVos.length=0
}else{
if (obj) {
Object.assign(obj, {
accSelectType: arr[0],
acctNo:arr[3],
acctType:0,
amt:arr[2],
curr:arr[1],
})
} else {
this.accParams.accSelectVos.push({
accSelectType: arr[0],
acctNo:arr[3],
acctType:0,
amt:arr[2],
curr:arr[1],
})
}
}
}
// //垫款、受托支付赋值
// if (type == 'pay' && this.accParams && this.accParams.accSelectVos) {
// switch(arr[0]){
// case "P":
// this.accParams.accSelectVos.forEach(item => {
// if (item.accSelectType == 'P' || item.accSelectType == 'F' ) {
// obj = item
// }
// })
// if(arr[2]==0.00){
// this.accParams.accSelectVos.length=0
// }else{
// if (obj) {
// Object.assign(obj, {
// accSelectType: arr[0],
// acctNo:arr[3],
// acctType:1,
// amt:arr[2],
// curr:arr[1],
// busCode:"",
// })
// } else {
// this.accParams.accSelectVos.push({
// accSelectType: arr[0],
// acctNo:arr[3],
// acctType:1,
// amt:arr[2],
// curr:arr[1],
// busCode:"",
// })
// }
// }
// break;
// case "F":
// console.log(arr[4]);
// this.accParams.accSelectVos.forEach(item => {
// if (item.accSelectType == 'P' || item.accSelectType == 'F' ) {
// obj = item
// }
// })
// if(arr[2]==0.00){
// this.accParams.accSelectVos.length=0
// }else{
// if (obj) {
// Object.assign(obj, {
// accSelectType: arr[0],
// acctNo:arr[3],
// acctType:0,
// amt:arr[2],
// curr:arr[1],
// busCode:arr[4],
// })
// } else {
// this.accParams.accSelectVos.push({
// accSelectType: arr[0],
// acctNo:arr[3],
// acctType:0,
// amt:arr[2],
// curr:arr[1],
// busCode:arr[4],
// })
// }
// }
// break;
// default:
// break;
// }
// }
}
}
}
\ No newline at end of file
export default {
data: function () {
return{
images: []
}
},
computed: {
imageProps:function() {
return {
images: this.images,
reqSource: '03',//请求来源
otherImages: [],//外系统影像列表,按以下格式提供
txSriNo: this.serialNo || '',
stepFlag: this.taskFlag!='4'&&(!this.isReview || (this.process == '0' || this.process == '3'))? true: false,
isReturned: (this.process == '3' || this.process == '4')? '1': '0',
}
}
},
methods: {
//组件中调用,更新影像列表
setImage(images) {
this.images = images
this.otherImages = []
},
imagesBodyWrapper(body) {
body.imageLst = this.images
}
}
}
\ No newline at end of file
import createSerialNo from "~/mixin/createSerialNo"
import commonTemplate from "~/mixin/commonTemplate"
import commonDiary from "~/mixin/commonDiary"
import commonImage from "~/mixin/commonImage"
import commonCheck from "~/mixin/commonCheck"
import commonDeclare from "~/mixin/commonDeclare"
import Request from '~/utils/request'
import Utils from "~/utils";
import Api from "~/service/Api"
//import moment from "moment"
import {
saveDraft,
getDraft
} from "~/service/draft/draft"
export default {
mixins: [createSerialNo, commonImage, commonDiary, commonTemplate, commonCheck, commonDeclare],
mixins: [],
data: function () {
return {
isReview: this.$route.path.indexOf('review') !== -1,
process: '0', //0 经办 1 复核 2 经办 + 复核 3 经办更正
taskFlag: '0', // 任务标识 1-由待办任务列表进入 2-由未完成任务 修改列表进入 3-未完成 详情 4- 由已完成交易列表进入 5-由草稿箱进入
opNode: "0",
version: 'v1', // 版本号
oldModel: {},
declareOldModel: {},
urls: {
startUrl: '', // 第一笔交易
submitUrl: '', // 提交 通过 打回
saveUrl: '', // 暂存
loadUrl: '' // loaddata
},
}
},
created: function () {
// todo: 获取 opNode
this.urls.startUrl = `${this.version}/${this.declareParams.basePath}/start`
this.urls.submitUrl = `${this.version}/${this.declareParams.basePath}/submit`
this.urls.saveUrl = `${this.version}/${this.declareParams.basePath}/save`
this.urls.loadUrl = `${this.version}/${this.declareParams.basePath}/getseqdata/`
if (this.isReview) {
this.process = this.$route.query.routeParams.process || '0'
this.taskFlag = this.$route.query.routeParams.taskFlag || '0'
} else {
this.searchOrigin && this.searchOrigin()
}
if (this.$route.query.routeParams && this.$route.query.routeParams.txSriNo) {
this.serialNo = this.$route.query.routeParams.txSriNo
}
created: function () {},
mounted() {
this.ruleWatcher()
this.ruleCheck()
},
methods: {
canEdit() {
// 可编辑 可试算返回 true; 否则返回 false
if (this.isReview && (this.process == '1' || this.taskFlag == '3' || this.taskFlag == '4')) {
return false
}
return true
},
/**
* 切换 tab 更新数据
*/
async onTabClick() {
// 复核阶段不重新试算
if (this.canEdit()) {
if (this.activeName == 'fee') {
this.$refs.doc && this.updateDocFeeParamsList()
this.$refs.fee && this.$refs.fee.calc()
}
if (this.activeName == 'doc' && this.$refs.doc) {
if (this.getDocList) {
let doclist = await this.getDocList() || []
this.$refs.doc.calc(doclist)
}
}
//当点击申报页签,且不为总行经办,则进行试算
if (this.activeName.indexOf('declare') !== -1 && this.process !== '2' && this.process !== '4') {
this.updateDeclare()
}
}
if (this.activeName && this.activeName.toLowerCase().indexOf('mt') !== -1) {
if (this.process == '0') {
// 经办状态更新报文
this.updateSwiftModel && this.updateSwiftModel()
} else {
// 复核阶段,已有报文数据,直接根据报文 id 取值
}
}
},
updateDocFeeParamsList() {
// TODO: 获取全部面函列表,遍历产生报文费 面函费
// 产生费用逻辑待讨论
let docList = this.getWholeDocList()
let templist = []
let today = moment(new Date()).format('YYYYMMDD')
if (docList.length > 0) {
docList.forEach(item => {
if (item.others && item.others.join(',').indexOf("01") != -1) {
templist.push(
Object.assign({
...this.feeOrigin
}, {
//赋值业务数据
"feeStartDate": today,
"feeEndDate": today,
"feeUndertakSideCode": "0",
//报文费用
"feeCode": 'S0302024',
"feeSourceCd": "T"
})
)
}
if (item.others && item.others.join(',').indexOf("02") != -1) {
templist.push(
Object.assign({
...this.feeOrigin
}, {
//赋值业务数据
"feeStartDate": today,
"feeEndDate": today,
"feeUndertakSideCode": "0",
//报文费用
"feeCode": 'S0302025',
"feeSourceCd": "T"
})
)
}
})
}
this.feeModel.docFeeParamsList = templist
},
getWholeDocList() {
let list = []
let doclist = this.getDocList && this.getDocList() || []
list = this.$refs.doc && this.$refs.doc.getData && this.$refs.doc.getData(doclist) || []
return list
},
/**
* 获取数据
*/
async loadData(params) {
console.log('loaddata')
// taskFlag 草稿箱从route取数据 其余从接口取数据
if (this.taskFlag !== '5') {
// 业务流水子表主键
let busiTempInfoSriNo
if (this.$route.path.indexOf('display') != -1 && params.busiTempInfoSriNo) {
// 快照模式需要从参数中取交易编号
busiTempInfoSriNo = params.busiTempInfoSriNo
} else {
busiTempInfoSriNo = this.$route.query.routeParams.busiTempInfoSriNo;
}
if (busiTempInfoSriNo) {
const rtnmsg = await Api.pget(
`${this.urls.loadUrl}${busiTempInfoSriNo}`
);
if (rtnmsg.code != "000000") {
return this.$notify.error({
title: "错误",
message: "服务请求失败!"
});
}
let busiTempData = JSON.parse(rtnmsg.data.busiTempData);
let {
head,
body
} = busiTempData;
let {
bizData
} = body;
if (head && head.reqSource !== '02' && head.reqSource !== '09') {
Utils.copyValueFromVO(this.model, bizData);
}
// 请求头赋值 回显
// Utils.copyValueFromVO(this.request.head, head);
this.commonUpdateModel(body)
this.getLoadData && this.getLoadData(bizData);
// todo
// this.opNode = body.opNode;
// oldModel 赋值
this.oldModel = JSON.parse(JSON.stringify(this.model));
// 返回给复核界面
let res = {
tips: body.tips || [],
changes: body.changes || [],
remark: body.remark || ''
}
return res
} else {
this.$message.error('没有业务流水子表主键')
}
} else {
this.loadDataFromDraft()
}
return {}
},
loadDataFromDraft() {
if (this.$route.query.routeParams && this.$route.query.routeParams.txSriNo) {
getDraft(this.$route.query.routeParams.txSriNo).then(res => {
if (res && res.code == '000000' && res.data && res.data.busiCommitData) {
let {
bizData
} = res.data.busiCommitData;
Utils.copyValueFromVO(this.model, bizData);
this.commonUpdateModel(res.data.busiCommitData)
}
})
}
},
// 更新回显公共模块
commonUpdateModel(body) {
let {
feeDataVo,
accountDataVo,
docLst,
declare,
diaLst
} = body
// 费用账务数据更新
this.$refs.aml && this.serialNo && this.$refs.aml.getData(this.serialNo)
this.$refs.fee && (feeDataVo || accountDataVo) && this.$refs.fee.updateModel(feeDataVo, accountDataVo)
// this.$refs.images && imageLst && this.$refs.images.updateModel(imageLst)
this.$refs.doc && docLst && this.$refs.doc.updateModel(docLst)
this.$refs.diary && diaLst && this.$refs.diary.updateModel(diaLst)
this.$nextTick(() => {
this.updateDeclareModel(declare)
ruleWatcher() {
const that = this;
Object.keys(that.defaultRules).forEach(key => {
that.$watch("model." + key, that.defaultRules[key])
})
},
/**
* 提交数据
*/
// 校验
check(from = 'start') {
let checkTasks = []
// 自身表单校验,注意自身表单 ref='modelForm'
if (this.$refs[this.formName]) {
checkTasks.push(Utils.getFormPromise(this.$refs[this.formName]))
}
// 增加公共组件表单的校验
if (this.checkCommonForm) {
checkTasks.push(this.checkCommonForm())
}
// 额外的校验逻辑
if (this.checkExceptForm) {
checkTasks.push(this.checkExceptForm())
}
//费用账务校验
// 更新面函报文list,必须在更新费用之前
this.$refs.doc && this.updateDocFeeParamsList()
this.$refs.fee && checkTasks.push(this.$refs.fee.check())
if (this.$refs.fingrt && this.getForFingrt) {
checkTasks.push(this.$refs.fingrt.check(this.getForFingrt()))
}
//总行经办在submit的check时做了试算,申报model做了增量替换,受理中心/总行复核不做trial
if (this.model.declareMod && (this.model.declareMod.safeDeclWay !== "3" || this.model.declareMod.rcpmisDeclWay !== "2") && this.process !=='1') {
this.model.declareMod && this.hasDeclare() && checkTasks.push(this.updateDeclare())
}
if (this.$refs.basic && this.$refs.basic.$refs.declare && this.$refs.basic.$refs.declare.$refs.declareModelForm) {
checkTasks.push(Utils.getFormPromise(this.$refs.basic.$refs.declare.$refs.declareModelForm, '申报'))
}
if (this.$refs['declare_ort'] && this.$refs['declare_ort'].check) {
checkTasks.push(this.$refs['declare_ort'].check('境外汇款申请书'))
}
if (this.$refs['declare_drt'] && this.$refs['declare_drt'].check) {
checkTasks.push(this.$refs['declare_drt'].check('境内汇款申请书'))
}
if (this.$refs['declare_oin'] && this.$refs['declare_oin'].check) {
checkTasks.push(this.$refs['declare_oin'].check('涉外收入申报单'))
}
if (this.$refs['declare_din'] && this.$refs['declare_din'].check) {
checkTasks.push(this.$refs['declare_din'].check('境内收入申报单'))
}
if (this.$refs['declare_extGuarSign'] && this.$refs['declare_extGuarSign'].check) {
checkTasks.push(this.$refs['declare_extGuarSign'].check('对外担保签约信息'))
}
if (this.$refs['declare_extGuarBal'] && this.$refs['declare_extGuarBal'].check) {
checkTasks.push(this.$refs['declare_extGuarBal'].check('对外担保余额信息'))
}
if (this.$refs['declare_opy'] && this.$refs['declare_opy'].check) {
checkTasks.push(this.$refs['declare_opy'].check('对外付款/承兑通知书'))
}
if (this.$refs['declare_pty'] && this.$refs['declare_pty'].check) {
checkTasks.push(this.$refs['declare_pty'].check('境内付款/承兑通知书'))
}
return Promise.all(checkTasks).then(res => {
// 所有校验都为 true时,校验通过
if (from == 'save') {
// 校验不需要 check
return Promise.resolve(true)
}
console.log('check')
console.log(res)
let flag = res.every(item => {
return !!item
})
if (flag) {
this.$message.success('校验通过')
return Promise.resolve(true)
} else {
this.scrollToCheckError && this.scrollToCheckError()
return Promise.resolve(false)
}
}).catch(err => {
return Promise.resolve(false)
})
},
// 生成请求 head
genRequestHead(step = undefined) {
// 生成 request.head
let head = {
opNode: this.opNode, // 操作环节为:受理中心经办岗
reqSource: "03",
txInstNo: window.sessionStorage.instCode,
oprInstNo: window.sessionStorage.instCode,
oprTellerNo: window.sessionStorage.userId,
createTellerNo: window.sessionStorage.userId,
acceptCenterInstNo: window.sessionStorage.instCode,
...this.declareParams,
}
if (this.$route.query && this.$route.query.routeParams && this.$route.query.routeParams.amlTempData) {
head.amlTempData = this.$route.query.routeParams.amlTempData
}
if (this.$route.query && this.$route.query.routeParams) {
head.txSriNo = this.$route.query.routeParams.txSriNo || this.serialNo || ''
}
if (this.$route.query && this.$route.query.routeParams && this.$route.query.routeParams.taskId) {
head.taskId = this.$route.query.routeParams.taskId
}
if (this.$route.query && this.$route.query.routeParams && this.$route.query.routeParams.taskFlag) {
head.taskFlag = this.$route.query.routeParams.taskFlag
}
if (step == 2) {
head.taskStatus = 1
}
if (step == 3) {
head.taskStatus = 2
}
let list = this.getDocList && this.getDocList() || []
head.isMessaged = false
return head
},
// 生成公共请求 body
async genCommonBody() {
// 业务数据
let commonBody = {}
commonBody.bizData = Utils.flatObject(this.model)
// fee 封装 params.body
this.$refs.fee && this.$refs.fee.bodyWrapper(commonBody)
this.$refs.images && this.imagesBodyWrapper && this.imagesBodyWrapper(commonBody)
this.$refs.doc && this.$refs.doc.bodyWrapper(commonBody)
this.$refs.diary && await this.$refs.diary.bodyWrapper(commonBody)
this.model.declareMod && this.hasDeclare() && this.genDeclareData(commonBody)
return commonBody
},
async submit(data, step = 2) {
if (this.$refs.aml) {
this.aml()
}
// step 1 提交 2 通过 3 退回
let params = {
head: this.genRequestHead(step),
body: {
...await this.genCommonBody(),
}
}
if (this.process == '0' && this.$refs.aml) {
// 经办提交需要传反洗钱参数
params.body.amlCheckVo = this.amlCheckModel
}
if (step == 2 && (this.process == '3' || this.process == '4')) {
// 经办提交
params.body.changes = Utils.compareChanges(this.oldModel, this.model)
}
if (step == 2 || step == 3) {
// 通过 打回
params.body.tips = (data && data.tips) || []
params.body.remark = (data && data.remark) || ''
}
//总行经办需要比较新旧申报model ps:此时check流程已走完,走了trial
if (this.process == '2' || this.process == '4') {
if(this.declareParams.txCode === '040101' && this.model.declareMod.safeDeclWay !== "3" && this.model.declareMod.rcpmisDeclWay !== "2"){
if (this.updateChangeDeclare() == true){
this.assignDeclareModel(params);
//外管申报方式为随业务申报
if (params.body.declare && params.body.declare.safeDeclWay == '1') {
//此时params.body.declare数据为新model数据,不符合要求,需要旧数据
params.body.declare.safeDeclWay = '2';
}
}
}
}
return Request.post(this.urls.submitUrl, params)
},
async start() {
if (this.$refs.aml) {
this.aml()
}
let params = {
head: this.genRequestHead(),
body: await this.genCommonBody()
}
// 生成交易流水号
this.genRequestSerialNo(params)
if (this.process == '0' && this.$refs.aml) {
// 经办提交需要传反洗钱参数
params.body.amlCheckVo = this.amlCheckModel
}
return Request.post(this.urls.startUrl, params)
},
save() {
if (this.isReview && this.taskFlag !== '5') {
return this.saveByBusi()
} else {
return this.saveByDraft()
}
},
// 暂存进大字段
saveByBusi() {
let params = {
head: this.genRequestHead(),
body: this.genSaveBody()
}
return Request.post(this.urls.saveUrl, params)
},
// 暂存进草稿箱
saveByDraft() {
let params = {
txSriNo: this.serialNo,
txCode: this.declareParams.txCode,
tsTellerNo: window.sessionStorage.userId,
busiNo: this.declareParams.busiNo,
busiCommitData: this.genSaveBody()
}
return saveDraft(params)
},
genSaveBody() {
let body = {}
body.bizData = Utils.flatObject(this.model)
this.$refs.fee && this.$refs.fee.saveBodyWrapper(body)
this.$refs.doc && this.$refs.doc.bodyWrapper(body)
this.model.declareMod && this.hasDeclare() && this.genDeclareData(body)
return body
},
// 需要实现的按钮方法
handleStart() {
this.beforeStart && this.beforeStart()
this.check().then(res => {
if (res) {
this.start().then(res => {
if (res && res.code == '000000') {
this.$notify.success({
title: "成功",
message: "服务请求成功!"
})
this.exit()
} else if (res.code == "200000" || res.code == "200001" || res.code == "200002") {
this.$refs.aml && this.$refs.aml.setData(res.data)
} else {
this.$notify.error({
title: "失败",
message: "服务请求失败!"
})
}
})
}
})
},
handleSubmit(data) {
this.beforeSubmit && this.beforeSubmit()
this.check().then(res => {
if (res) {
this.submit(data, 2).then(res => {
if (res && res.code == '000000') {
this.$notify.success({
title: "成功",
message: "服务请求成功!"
})
this.exit()
} else if (res.code == "200000" || res.code == "200001" || res.code == "200002") {
this.$refs.aml && this.$refs.aml.setData(res.data)
} else {
this.$notify.error({
title: "失败",
message: "服务请求失败!"
})
}
})
}
})
},
handlePass(data) {
this.check().then(res => {
if (res) {
this.submit(data, 2).then(res => {
if (res && res.code == '000000') {
this.$notify.success({
title: "成功",
message: "服务请求成功!"
})
this.exit()
} else {
this.$notify.error({
title: "失败",
message: "服务请求失败!"
})
}
})
ruleCheck() {
const keySet = new Set(Object.keys(this.pattern).concat(Object.keys(this.checkRules)))
const res = {};
for (let key of keySet.keys()) {
const rule = []
if(this.pattern[key]){
rule.push(...this.pattern[key])
}
if(this.checkRules[key]){
for (let j = 0; j < this.checkRules[key].length; j++) {
const check = this.checkRules[key][j];
rule.push({
validator: check
})
}
}
})
},
handleRefuse(data) {
this.check().then(res => {
if (res) {
this.submit(data, 3).then(res => {
if (res && res.code == '000000') {
this.$notify.success({
title: "成功",
message: "服务请求成功!"
})
this.exit()
} else {
this.$notify.error({
title: "失败",
message: "服务请求失败!"
})
}
})
if(rule.length > 0) {
res[key] = rule;
}
})
},
handleCheck() {
this.check()
},
handleSave() {
if (this.declareParams.busiNo) {
this.$confirm('确认暂存?', '', {
confirmButtonText: '确认',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.beforeSave && this.beforeSave()
this.save().then(res => {
if (res && res.code == '000000') {
this.$notify.success({
title: "成功",
message: "服务请求成功!"
})
this.exit()
} else {
this.$notify.error({
title: "失败",
message: "服务请求失败!"
})
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消暂存'
})
})
} else {
this.$message.warning('暂存需要填写业务编号')
}
},
showAml() {
},
exit: function () {
this.$router.push('/business/home')
this.rules = res;
}
}
}
\ No newline at end of file
export default {
methods: {
setTemplateData(busiCommitData) {
let busiModel = JSON.parse(busiCommitData)
let arr = ['gedgrp', 'gfdgrp', 'bcdgrp', 'dedgrp', 'bmdgrp', 'cpdgrp',
'didgrp', 'bddgrp', 'gidgrp', 'gcdgrp', 'bodgrp', 'lidgrp', 'brdgrp', 'ledgrp', 'bedgrp']
arr.forEach(item => {
if (busiModel && busiModel[item] && busiModel[item].rec && busiModel[item].rec.ownref) {
busiModel[item].rec.ownref = ''
}
})
Object.assign(this.model, busiModel)
// 给业务留口子,可以自己清数据
this.getTemplateData && this.getTemplateData(busiModel)
}
}
}
\ No newline at end of file
// 第一手交易需要先生成交易流水號
import {getSerialNo, validateSerialNo} from '~/service/public/serialNo';
// import {
// getSerialNo,
// validateSerialNo
// } from "~/service/public/cheSeal";
export default {
data () {
return {
serialNo: ''
}
},
created: function () {
if (this.$route.path.indexOf('review') == -1) {
// // 输出txCode
// console.log('txCode为:', this.declareParams.txCode)
// // 路由中有流水号,需要校验是否通过电子验印
// console.log('this.$route.query.serialno', this.$route.query.serialno)
// if (this.$route.query.serialno) {
// validateSerialNo(this.$route.query.serialno).then(res => {
// if (res && res.code == '000000' && res.data && res.data.cheSealResult == '1') {
// //校验通过
// console.log('res.data.txSriNo', res.data.txSriNo)
// this.serialNo = res.data.txSriNo
// } else {
// // 校验不通过,跳转到电子验印页面
// this.$router.push({
// path: '/business/public/query/che-seal',
// query: {
// path: '/business/para-manage/currency',
// serialno: this.$route.query.serialno,
// txCode: this.declareParams.txCode
// }
// })
// }
// })
// } else {
// //没有交易流水号,先获取流水号,跳转到电子验印页面
// getSerialNo().then(res => {
// if (res && res.code == '000000' && res.data) {
// console.log('serialno', res.data)
// this.$router.push({
// path: '/business/public/query/che-seal',
// query: {
// path: '/business/para-manage/currency',
// serialno: res.data,
// txCode: this.declareParams.txCode
// }
// })
// }
// })
// };
// 路由中有流水号,需要校验是否通过电子验印
// if (this.$route.query.serialno) {
// validateSerialNo({
// current: 0,
// size: 0,
// data: {
// txSriNo: this.$route.query.serialno
// }
// }).then(res => {
// if (res && res.code == '000000' && res.data && res.data.cheSealResult == '1') {
// //校验通过
// this.serialNo = res.data.txSriNo
// } else {
// // 校验不通过,跳转到电子验印页面
// this.$router.push({
// path: '/business/public/query/che-seal',
// query: {
// path: '/business/remit/outward/register',
// serialno: this.$route.query.serialno,
// txCode: '',
// }
// })
// }
// })
// } else {
// // 没有交易流水号,先获取流水号,跳转到电子验印页面
// getSerialNo().then(res => {
// if (res) {
// this.$router.push({
// path: '/business/public/query/che-seal',
// query: {
// path: '/business/remit/outward/register',
// serialno: res,
// txCode: '',
// }
// })
// }
// })
// }
// 菜单处进入 business 页面,需要前端生成 serialNo
getSerialNo().then(res => {
if (res && res.code == '000000' && res.data) {
this.serialNo = res.data
}
})
}
},
methods: {
genRequestSerialNo (requestParams) {
// 给查询参数生成交易流水号
if (this.$route.path.indexOf('review') == -1 && this.serialNo) {
requestParams.serialNo = this.serialNo
}
}
}
}
\ No newline at end of file
import Api from "~/service/Api"
export default {
data () {
return {
requestParam: '',
mode: this.$store.state.Status.mode,
model: undefined
}
},
created: async function () {
if (this.mode === 'display') {
console.log('获取 display 页面数据')
const res = await Api.get('/display/get/' + this.requestParam)
if (res.retcod === "200") {
this.model = res.result
}
}
}
}
\ No newline at end of file
import BankDocSet from "~/model/rcpmis/bankDocSetFin";
export default {
data () {
return {
BankDocSetModel: new BankDocSet().data.docset
}
}
}
\ No newline at end of file
import Din from "~/model/Safe/Bop/Din"
export default {
data () {
return {
DinModel: new Din().data,
}
}
}
\ No newline at end of file
import Dpy from "~/model/Safe/Bop/Dpy"
export default {
data () {
return {
DpyModel: new Dpy().data
}
}
}
\ No newline at end of file
import Drt from "~/model/Safe/Bop/Drt"
export default {
data () {
return {
DrtModel: new Drt().data
}
}
}
\ No newline at end of file
import transboupayout from "~/model/rcpmis/transboupayout"
export default {
data () {
return {
ExpnModel: new transboupayout().data,
}
}
}
\ No newline at end of file
import Extguarb from "~/model/Safe/Cfa/Extguarb";
export default {
data () {
return {
ExtguarbModel: new Extguarb().data.extguarb,
}
}
}
\ No newline at end of file
import Extguars from "~/model/Safe/Cfa/Extguars";
export default {
data () {
return {
ExtguarsModel: new Extguars().data.extguars,
}
}
}
\ No newline at end of file
import Flc from "~/model/Safe/Exd/Flc";
export default {
data() {
return {
FlcModel: new Flc().data,
}
}
}
\ No newline at end of file
import guaranteeenroll from "~/model/Rcpmis/guaranteeenroll";
export default {
data () {
return {
GuaenrInfoModel: new guaranteeenroll().data,
}
}
}
\ No newline at end of file
import transbouIncomeBase from "~/model/rcpmis/transbouIncomeBase"
export default {
data () {
return {
IncomeModel: new transbouIncomeBase().data,
}
}
}
\ No newline at end of file
import Oin from "~/model/Safe/Bop/Oin"
export default {
data () {
return {
OinModel: new Oin().data,
}
}
}
\ No newline at end of file
import Opy from "~/model/Safe/Bop/Opy"
export default {
data () {
return {
OpyModel: new Opy().data
}
}
}
\ No newline at end of file
import Ort from "~/model/Safe/Bop/Ort"
export default {
data () {
return {
OrtModel: new Ort().data,
}
}
}
\ No newline at end of file
import FeeModel from "~/model/Public/Fee"
export default {
data () {
return {
feeModel: new FeeModel().data,
}
}
}
\ No newline at end of file
//
// /**
// * Ditopn Check规则
// */
// export default {
//
// "liaall.misamt" :[checkLiaallMisamtN100,],
// "liaall.limmod.limpts.oth.pts.extkey" :[checkLiaallLimmodLimptsOthPtsExtkeyN100,checkLiaallLimmodLimptsOthPtsExtkeyN950,checkLiaallLimmodLimptsOthPtsExtkeyN960,],
// "didgrp.apl.pts.ref" :[checkDidgrpAplPtsRefN100,],
// "didgrp.apl.pts.youzbm" :[checkDidgrpAplPtsYouzbmN100,],
// "ameadvrmk" :[checkAmeadvrmkN100,],
// "liaall.limmod.ownref" :[checkLiaallLimmodOwnrefN100,],
// "didgrp.rec.expplc" :[checkDidgrpRecExpplcN900,],
// "didgrp.rec.fqtime" :[checkDidgrpRecFqtimeN100,],
// "didgrp.adv.pts.bankno" :[checkDidgrpAdvPtsBanknoN100,],
// "didgrp.rec.tratyp" :[checkDidgrpRecTratypN100,],
// "liaall.limmod.ecifno" :[checkLiaallLimmodEcifnoN100,],
// "ditp.benp.ptsget.sdamod.dadsnd" :[checkDitpBenpPtsgetSdamodDadsndN100,],
// "didgrp.rec.revdat" :[checkDidgrpRecRevdatN100,],
// "didgrp.iss.pts.extkey" :[checkDidgrpIssPtsExtkeyN950,checkDidgrpIssPtsExtkeyN960,],
// "didgrp.rec.sdsrfs" :[checkDidgrpRecSdsrfsN100,],
// "didgrp.iss.pts.youzbm" :[checkDidgrpIssPtsYouzbmN1001,],
// "didgrp.rec.fqzytgfw" :[checkDidgrpRecFqzytgfwN100,],
// "didgrp.rec.conamt" :[checkDidgrpRecConamtN100,],
// "didgrp.apc.pts.bankno" :[checkDidgrpApcPtsBanknoN100,],
// "didgrp.rec.shppro" :[checkDidgrpRecShpproN100,],
// "didgrp.rec.shpto" :[checkDidgrpRecShptoN100,],
// "didgrp.ben.namelc" :[checkDidgrpBenNamelcN100,],
// "didgrp.cmb.pts.bankno" :[checkDidgrpCmbPtsBanknoN100,],
// "didgrp.rec.shppar" :[checkDidgrpRecShpparN100,],
// "liaall.limmod.othp.ptsget.sdamod.dadsnd" :[checkLiaallLimmodOthpPtsgetSdamodDadsndN100,],
// "didgrp.rmb.adrelc" :[checkDidgrpRmbAdrelcN100,],
// "didgrp.apl.pts.extkey" :[checkDidgrpAplPtsExtkeyN950,checkDidgrpAplPtsExtkeyN960,],
// "didgrp.apb.pts.bankno" :[checkDidgrpApbPtsBanknoN100,],
// "didgrp.rec.rmbcha" :[checkDidgrpRecRmbchaN100,],
// "ditp.aplp.ptsget.sdamod.dadsnd" :[checkDitpAplpPtsgetSdamodDadsndN100,],
// "didgrp.avb.pts.bankno" :[checkDidgrpAvbPtsBanknoN100,],
// "didgrp.rmb.pts.extkey" :[checkDidgrpRmbPtsExtkeyN950,checkDidgrpRmbPtsExtkeyN960,],
// "setmod.dspflg" :[checkSetmodDspflgN100,checkSetmodDspflgN1100,checkSetmodDspflgN1200,],
// "didgrp.blk.revcls" :[checkDidgrpBlkRevclsN100,],
// "didgrp.rmb.pts.bankno" :[checkDidgrpRmbPtsBanknoN100,],
// "didgrp.ben.adrelc" :[checkDidgrpBenAdrelcN100,],
// "didgrp.rec.apprulrmb" :[checkDidgrpRecApprulrmbN100,],
// "didgrp.apl.pts.dihdig" :[checkDidgrpAplPtsDihdigN100,],
// "didgrp.rec.conno" :[checkDidgrpRecConnoN100,checkDidgrpRecConnoN1001,],
// "didgrp.blk.defdet" :[checkDidgrpBlkDefdetN100,checkDidgrpBlkDefdetN100,checkDidgrpBlkDefdetN1001,],
// "didgrp.rec.elcflg" :[checkDidgrpRecElcflgN100,],
// "didgrp.blk.insbnk" :[checkDidgrpBlkInsbnkN100,],
// "liaall.liaccv.totcovamt" :[checkLiaallLiaccvTotcovamtN100,],
// "didgrp.beb.pts.bankno" :[checkDidgrpBebPtsBanknoN100,],
// "didgrp.apl.pts.adrblk" :[checkDidgrpAplPtsAdrblkN950,],
// "didgrp.rec.lcrtyp" :[checkDidgrpRecLcrtypN900,],
// "didgrp.rec.shpfro" :[checkDidgrpRecShpfroN100,],
// "didgrp.rec.guaflg" :[checkDidgrpRecGuaflgN100,],
// "didgrp.iss.pts.bankno" :[checkDidgrpIssPtsBanknoN100,],
// "didgrp.blk.lcrgod" :[checkDidgrpBlkLcrgodN100,checkDidgrpBlkLcrgodN100,checkDidgrpBlkLcrgodN1001,],
// "didgrp.rec.idcode" :[checkDidgrpRecIdcodeN100,],
// "didgrp.rec.fenctg" :[checkDidgrpRecFenctgN100,],
// "liaall.limmod.limpts.wrk.pts.extkey" :[checkLiaallLimmodLimptsWrkPtsExtkeyN100,checkLiaallLimmodLimptsWrkPtsExtkeyN950,checkLiaallLimmodLimptsWrkPtsExtkeyN960,],
// "didgrp.ben.pts.dihdig" :[checkDidgrpBenPtsDihdigN1004,],
// "didgrp.rec.shpdat" :[checkDidgrpRecShpdatN100,checkDidgrpRecShpdatN999,],
// "didgrp.cbs.nom1.cur" :[checkDidgrpCbsNom1CurN100,],
// "didgrp.iss.pts.dihdig" :[checkDidgrpIssPtsDihdigN1001,],
// "didgrp.apl.namelc" :[checkDidgrpAplNamelcN100,],
// "didgrp.rec.revtyp" :[checkDidgrpRecRevtypN100,],
// "didgrp.rmb.pts.adrblk" :[checkDidgrpRmbPtsAdrblkN950,],
// "mtabut.coninf.conexedat" :[checkMtabutConinfConexedatN100,],
// "didgrp.adv.pts.youzbm" :[checkDidgrpAdvPtsYouzbmN1003,],
// "didgrp.apl.pts.extact" :[checkDidgrpAplPtsExtactN100,],
// "didgrp.ben.pts.adrblk" :[checkDidgrpBenPtsAdrblkN950,],
// "liaall.limmod.limpts.nonrevflg1" :[checkLiaallLimmodLimptsNonrevflg1N100,],
// "didgrp.apc.pts.youzbm" :[checkDidgrpApcPtsYouzbmN1002,],
// "didgrp.ben.pts.youzbm" :[checkDidgrpBenPtsYouzbmN1004,],
// "didgrp.rec.opndat" :[checkDidgrpRecOpndatN100,checkDidgrpRecOpndatN950,],
// "didgrp.rec.avbby" :[checkDidgrpRecAvbbyN100,],
// "didgrp.rec.mytype" :[checkDidgrpRecMytypeN100,],
// "ditp.usr.extkey" :[checkDitpUsrExtkeyN100,],
// "liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :[checkLiaallLimmodWrkpPtsgetSdamodDadsndN100,],
// "ditp.recget.sdamod.dadsnd" :[checkDitpRecgetSdamodDadsndN100,],
// "didgrp.apc.pts.dihdig" :[checkDidgrpApcPtsDihdigN1002,],
// "didgrp.adv.pts.extkey" :[checkDidgrpAdvPtsExtkeyN100,checkDidgrpAdvPtsExtkeyN950,checkDidgrpAdvPtsExtkeyN960,],
// "didgrp.rmb.namelc" :[checkDidgrpRmbNamelcN100,],
// "setmod.docamt" :[checkSetmodDocamtN100,checkSetmodDocamtN15000,],
// "didgrp.adv.pts.dihdig" :[checkDidgrpAdvPtsDihdigN1003,],
// "didgrp.rec.expdat" :[checkDidgrpRecExpdatN100,],
// "didgrp.ben.pts.extkey" :[checkDidgrpBenPtsExtkeyN950,checkDidgrpBenPtsExtkeyN960,],
// "liaall.liaccv.cshpct" :[checkLiaallLiaccvCshpctN100,],
// "didgrp.rec.avbwth" :[checkDidgrpRecAvbwthN100,checkDidgrpRecAvbwthN900,],
// "didgrp.blk.lcrdoc" :[checkDidgrpBlkLcrdocN100,checkDidgrpBlkLcrdocN100,checkDidgrpBlkLcrdocN1001,],
// "didgrp.rec.tenmaxday" :[checkDidgrpRecTenmaxdayN1000,checkDidgrpRecTenmaxdayN1050,],
// "didgrp.cbs.nom1.amt" :[checkDidgrpCbsNom1AmtN100,],
// "didgrp.blk.preper" :[checkDidgrpBlkPreperN100,checkDidgrpBlkPreperN100,],
// "didgrp.apl.adrelc" :[checkDidgrpAplAdrelcN100,],
// "ditp.rmbp.ptsget.sdamod.dadsnd" :[checkDitpRmbpPtsgetSdamodDadsndN100,],
// "didgrp.ben.pts.extact" :[checkDidgrpBenPtsExtactN1001,],
// "didgrp.blk.adlcnd" :[checkDidgrpBlkAdlcndN100,checkDidgrpBlkAdlcndN100,],
// "litameadv" :[checkLitameadvN100,],
// "liaall.liaccv.relcshpct" :[checkLiaallLiaccvRelcshpctN100,],
// }
// /**
// * source:liaall.@0019.script
// * liaall
// */
// function checkLiaallMisamtN100()
// {
//
// if( model.misamt != 0 )
// {
// Utils.errorMessage( "#CT000030", model.concur, Utils.fmtAmount( model.misamt, model.concur ) );
// }
//
//
// }
// /**
// * source:limmod.@0005.script
// * liaall.limmod
// */
// function checkLiaallLimmodLimptsOthPtsExtkeyN100()
// {
//
// if( Utils.isVisible( model.limpts.oth.pts.extkey ) && Utils.IsEnabled( model.limpts.oth.pts.extkey ) )
// {
// if( Utils.isEmpty(model.limpts.oth.pts.extkey) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ptsget.@0009.script
// * liaall.limmod.othp.ptsget
// */
// function checkLiaallLimmodLimptsOthPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * liaall.limmod.othp
// */
// function checkLiaallLimmodLimptsOthPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:ditopn.@0104.script
// *
// */
// function checkDidgrpAplPtsRefN100()
// {
//
// if( Utils.isEmpty(model.didgrp.apl.pts.ref) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:ditopn.@0121.script
// *
// */
// function checkDidgrpAplPtsYouzbmN100()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.apl.pts.youzbm );
// }
//
//
// }
// /**
// * source:ditopn.@0092.script
// *
// */
// function checkAmeadvrmkN100()
// {
//
// if( model.litameadv == "有特殊规定,条件为: " && Utils.isEmpty( model.ameadvrmk ) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:limmod.@0097.script
// * liaall.limmod
// */
// function checkLiaallLimmodOwnrefN100()
// {
//
// if( needRecalcLimits() && model.inifrm == "LITROG" )
// {
// if( Utils.isEmpty(model.ownref) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditp.@0027.script
// * ditp
// */
// function checkDidgrpRecExpplcN900()
// {
//
// if( model.pansta == PanStaEdit )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// if( Utils.isEmpty( model.didgrp.rec.expplc ) )
// {
// Utils.errorMandatory();
// }
// }
// }
// let frame = model.sysmod.atp.cod;
// let len = 0;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.expplc );
// if( ! Utils.isEmpty( model.didgrp.rec.expplc ) )
// {
// if( len > 100 )
// {
// Utils.errorMessage( #CT000077 );
// }
// }
// }
//
//
// }
// /**
// * source:ditp.@0088.script
// * ditp
// */
// function checkDidgrpRecFqtimeN100()
// {
//
// let frame = model.sysmod.atp.cod;
// let len = 0;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.fqtime ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.fqtime );
// if( len > 100 )
// {
// Utils.errorMessage( #CT000078 );
// }
// }
// }
//
//
// }
// /**
// * source:ptsp.@0031.script
// * ditp.advp
// */
// function checkDidgrpAdvPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ditopn.@0106.script
// *
// */
// function checkDidgrpRecTratypN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( model.didgrp.rec.mytype == "H" || model.didgrp.rec.mytype == "3" )
// {
// if( Utils.isEmpty( model.didgrp.rec.tratyp ) )
// {
// Utils.errorMandatory();
// }
// }
// }
//
//
// }
// /**
// * source:limmod.@0085.script
// * liaall.limmod
// */
// function checkLiaallLimmodEcifnoN100()
// {
//
// if( model.wrkp.ptspta.ptytyp == "B" )
// {
// if( Utils.isEmpty(model.ecifno) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ptsget.@0001.script
// * ditp.benp.ptsget
// */
// function checkDitpBenpPtsgetSdamodDadsndN100()
// {
//
// if( Utils.isEmpty( model.ptspta.pts.extkey ) )
// {
// Utils.errorMessage( #CT000000 );
// }
//
//
// }
// /**
// * source:ditp.@0040.script
// * ditp
// */
// function checkDidgrpRecRevdatN100()
// {
//
// if( Utils.IsEnabled( model.didgrp.rec.revdat ) )
// {
// if( model.didgrp.rec.revtyp == "REVPER" && Utils.isEmpty( model.didgrp.rec.revdat ) )
// {
// if( Utils.isEmpty( model.didgrp.rec.revawapl ) )
// {
// Utils.errorMessage( #CT000005 );
// }
// }
// }
//
//
// }
// /**
// * source:ptsget.@0009.script
// * ditp.issp.ptsget
// */
// function checkDidgrpIssPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * ditp.issp
// */
// function checkDidgrpIssPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:ditp.@0092.script
// * ditp
// */
// function checkDidgrpRecSdsrfsN100()
// {
//
// /**
// model.frame = \SYSMOD\ATP\COD
// **/
// let len = 0;
// if( ! Utils.isEmpty( model.didgrp.rec.sdsrfs ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.sdsrfs );
// if( len > 20 )
// {
// Utils.errorMessage( #CT000082 );
// }
// }
// else
// {
// /**
// if DIDGRP\REC\TRATYP == "08" then
// **/
// if( model.didgrp.rec.tratyp == "08" || model.didgrp.rec.mytype == "F" )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditopn.@0124.script
// *
// */
// function checkDidgrpIssPtsYouzbmN1001()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.iss.pts.youzbm );
// }
//
//
// }
// /**
// * source:ditp.@0082.script
// * ditp
// */
// function checkDidgrpRecFqzytgfwN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( model.didgrp.rec.shppar == "Y" || model.didgrp.rec.shppar == "允许" )
// {
// if( Utils.isEmpty( model.didgrp.rec.fqzytgfw ) )
// {
// Utils.errorMandatory();
// }
// }
// }
//
//
// }
// /**
// * source:ditp.@0029.script
// * ditp
// */
// function checkDidgrpRecConamtN100()
// {
//
// /**
// if DIDGRP\REC\ELCFLG == "Y" then
// model.frame = \SYSMOD\ATP\COD
// if model.frame == "DITOPN" or model.frame == "DITAME" then
// model.str = Str( DIDGRP\REC\CONAMT )
// model.pos = Pos( model.str, "." )
// model.left = Mid( model.str, 1, model.pos - 1 )
// model.right = Mid( model.str, model.pos + 3 )
// if Len( model.left ) > 14 then
// Error( 'L0000083' )
// endif
// if Val( model.right ) <> 0 then
// Error( 'L0000084' )
// endif
// endif
// endi**/
//
//
// }
// /**
// * source:ptsp.@0031.script
// * ditp.apcp
// */
// function checkDidgrpApcPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ditp.@0091.script
// * ditp
// */
// function checkDidgrpRecShpproN100()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.shppro ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.shppro );
// if( len > 100 )
// {
// Utils.errorMessage( #CT000081 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ditp.@0090.script
// * ditp
// */
// function checkDidgrpRecShptoN100()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.shpto ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.shpto );
// if( len > 100 )
// {
// Utils.errorMessage( #CT000080 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ptsp.@0038.script
// * ditp.benp
// */
// function checkDidgrpBenNamelcN100()
// {
// BGSERVICE
// }
// /**
// * source:ptsp.@0031.script
// * ditp.cmbp
// */
// function checkDidgrpCmbPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ditopn.@0108.script
// *
// */
// function checkDidgrpRecShpparN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty( model.didgrp.rec.shppar ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ptsget.@0001.script
// * liaall.limmod.othp.ptsget
// */
// function checkLiaallLimmodOthpPtsgetSdamodDadsndN100()
// {
//
// if( Utils.isEmpty( model.ptspta.pts.extkey ) )
// {
// Utils.errorMessage( #CT000000 );
// }
//
//
// }
// /**
// * source:ptsp.@0039.script
// * ditp.rmbp
// */
// function checkDidgrpRmbAdrelcN100()
// {
// BGSERVICE
// }
// /**
// * source:ptsget.@0009.script
// * ditp.aplp.ptsget
// */
// function checkDidgrpAplPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * ditp.aplp
// */
// function checkDidgrpAplPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:ptsp.@0031.script
// * ditp.apbp
// */
// function checkDidgrpApbPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ditp.@0035.script
// * ditp
// */
// function checkDidgrpRecRmbchaN100()
// {
//
// //------------------------
// /**
// // as Tag 71A is not mandatory in MT740 this rule may be removed or amended by supporter
// if DIDGRP\REC\RMBFLG == "Y" and PANSTA == PanStaEdit then
// if IsEmpty( DIDGRP\REC\RMBCHA ) then
// ErrorMandatory
// endif
// endi**/
//
//
// }
// /**
// * source:ptsget.@0001.script
// * ditp.aplp.ptsget
// */
// function checkDitpAplpPtsgetSdamodDadsndN100()
// {
//
// if( Utils.isEmpty( model.ptspta.pts.extkey ) )
// {
// Utils.errorMessage( #CT000000 );
// }
//
//
// }
// /**
// * source:ptsp.@0031.script
// * ditp.avbp
// */
// function checkDidgrpAvbPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ptsget.@0009.script
// * ditp.rmbp.ptsget
// */
// function checkDidgrpRmbPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * ditp.rmbp
// */
// function checkDidgrpRmbPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:setmod.@0076.script
// * setmod
// */
// function checkSetmodDspflgN100()
// {
//
// //! DSPFLG is mandatory if enabled
// if( Utils.IsEnabled( model.dspflg ) && Utils.isEmpty( model.dspflg ) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:setmod.@0090.script
// * setmod
// */
// function checkSetmodDspflgN1100()
// {
//
// if( Utils.isVisible( model.setpan ) && Utils.IsEnabled( model.dspflg ) )
// {
// if( model.dspflg.equals ( "C" ) )
// {
// if( model.setglg.totamt <= 0 )
// {
// Utils.errorMessage( #CT000423 );
// }
// }
// }
//
//
// }
// /**
// * source:setmod.@0146.script
// * setmod
// */
// function checkSetmodDspflgN1200()
// {
//
// boolean wrnSet = false;
// let rolTxt = "";
// IStream rolStm = new StreamImpl();
// Utils.streamClear( rolStm );
// let gridcnt = Utils.gridCount( model.trnmod.trndoc.doceot );
// for(let i = 1;i <= gridcnt;i++)
// {
// if( model.trnmod.trndoc.doceot[i].cortyp == "SWT" && Utils.streamSearch( rolStm, model.trnmod.trndoc.doceot[i].role ) == 0 )
// {
// Utils.streamInsert( rolStm, 0, model.trnmod.trndoc.doceot[i]\role );
// }
// }
// if( ! Utils.isEmpty( rolStm ) )
// {
// gridcnt = Utils.gridCount( model.setfeg.setfel );
// //DSP为"V"的状态光大封掉了
// /**
// for model.idx = 1 to $Gridcnt
// if SETFEG\SETFEL( model.idx )\DSP.is ( "V" ) and StreamSearch( $RolStm, SETFEG\SETFEL( model.idx )\rol ) > 0 then
// $WrnSet = TRUE
// model.rolTxt = GetAnyRolNam( \, RecGetObj( \MTABUT\REC ), SETFEG\SETFEL( model.idx )\rol, GetUIL )
// endif
// next
// **/
// if( ! wrnSet )
// {
// gridcnt = Utils.gridCount( model.setfog.setfol );
// for(let idx = 1;idx <= gridcnt;idx++)
// {
// if( model.setfog.setfol[idx]\dsp.equals ( "V" ) && Utils.streamSearch( rolStm, model.setfog.setfol[idx]\ptydbt ) > 0 )
// {
// wrnSet = true;
// rolTxt = model.trnmod.ptsmod.ptssub.getAnyRolNam( $\, Utils.recGetObj( model.mtabut.rec ), model.setfog.setfol[idx]\ptydbt, Utils.getLang() );
// }
// }
// }
// }
// if( ! wrnSet )
// {
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, "", "" );
// }
// else
// {
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, Utils.getText( #CT000429, rolTxt ), "" );
// }
//
//
// }
// /**
// * source:txmmod.@0009.script
// * ditp.revclause
// */
// function checkDidgrpBlkRevclsN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:ptsp.@0031.script
// * ditp.rmbp
// */
// function checkDidgrpRmbPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ptsp.@0039.script
// * ditp.benp
// */
// function checkDidgrpBenAdrelcN100()
// {
// BGSERVICE
// }
// /**
// * source:ditp.@0043.script
// * ditp
// */
// function checkDidgrpRecApprulrmbN100()
// {
//
// /**
// if PANSTA == PanStaEdit and \TRNMOD.IsSftRelNov06Active then
// if not IsEmpty( DIDGRP\REC\RMBFLG ) then
// if IsEmpty( DIDGRP\REC\APPRULRMB ) then
// ErrorMandatory
// endif
// endif
// endi**/
//
//
// }
// /**
// * source:ditopn.@0122.script
// *
// */
// function checkDidgrpAplPtsDihdigN100()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.apl.pts.dihdig );
// }
//
//
// }
// /**
// * source:ditopn.@0112.script
// *
// */
// function checkDidgrpRecConnoN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty( model.didgrp.rec.conno ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditp.@0103.script
// * ditp
// */
// function checkDidgrpRecConnoN1001()
// {
//
// let frame = null;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.conno ) )
// {
// if( Utils.len( model.didgrp.rec.conno ) > 70 )
// {
// Utils.errorMessage( #CT000090 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:txmmod.@0009.script
// * ditp.defdet
// */
// function checkDidgrpBlkDefdetN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:ditp.@0047.script
// * ditp
// */
// function checkDidgrpBlkDefdetN100()
// {
//
// if( model.pansta == PanStaEdit )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// if( ( model.didgrp.rec.avbby == "D" ) && Utils.isEmpty( model.didgrp.blk.defdet ) )
// {
// Utils.errorMessage( #CT000020 );
// }
// }
// }
//
//
// }
// /**
// * source:ditp.@0104.script
// * ditp
// */
// function checkDidgrpBlkDefdetN1001()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.blk.defdet ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.blk.defdet );
// if( len > 60 )
// {
// Utils.errorMessage( #CT000091 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0118.script
// *
// */
// function checkDidgrpRecElcflgN100()
// {
//
// if( Utils.isEmpty(model.didgrp.rec.elcflg) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:txmmod.@0009.script
// * ditp.insbnk
// */
// function checkDidgrpBlkInsbnkN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:liaccv.@0016.script
// * liaall.liaccv
// */
// function checkLiaallLiaccvTotcovamtN100()
// {
//
// //! The cover amount is not restricted to open amount of contract
// // Remove the following and the last line if you want to activate that restriction
// /**
// if NEWAMT == 0 then
// if TOTCOVAMT > NEWAMT then
// Error( 'LF000010' )
// endif
// endi**/
//
//
// }
// /**
// * source:ptsp.@0031.script
// * ditp.bebp
// */
// function checkDidgrpBebPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:ptsp.@0014.script
// * ditp.aplp
// */
// function checkDidgrpAplPtsAdrblkN950()
// {
// BGSERVICE
// }
// /**
// * source:ditp.@0026.script
// * ditp
// */
// function checkDidgrpRecLcrtypN900()
// {
//
// if( model.pansta == PanStaEdit )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// if( Utils.isEmpty( model.didgrp.rec.lcrtyp ) )
// {
// Utils.errorMandatory();
// }
// }
// }
//
//
// }
// /**
// * source:ditp.@0089.script
// * ditp
// */
// function checkDidgrpRecShpfroN100()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.shpfro ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.shpfro );
// if( len > 100 )
// {
// Utils.errorMessage( #CT000079 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0079.script
// *
// */
// function checkDidgrpRecGuaflgN100()
// {
//
// if( Utils.isEmpty( model.didgrp.rec.guaflg ) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:ptsp.@0031.script
// * ditp.issp
// */
// function checkDidgrpIssPtsBanknoN100()
// {
// BGSERVICE
// }
// /**
// * source:txmmod.@0009.script
// * ditp.lcrgod
// */
// function checkDidgrpBlkLcrgodN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:ditopn.@0109.script
// *
// */
// function checkDidgrpBlkLcrgodN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty( model.didgrp.blk.lcrgod ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditp.@0100.script
// * ditp
// */
// function checkDidgrpBlkLcrgodN1001()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.blk.lcrgod ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.blk.lcrgod );
// if( len > 2000 )
// {
// Utils.errorMessage( #CT000087 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0115.script
// *
// */
// function checkDidgrpRecIdcodeN100()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty(model.didgrp.rec.idcode) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditopn.@0111.script
// *
// */
// function checkDidgrpRecFenctgN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty( model.didgrp.rec.fenctg ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:limmod.@0099.script
// * liaall.limmod
// */
// function checkLiaallLimmodLimptsWrkPtsExtkeyN100()
// {
//
// if( Utils.isVisible( model.limpts.wrk.pts.extkey ) && Utils.IsEnabled( model.limpts.wrk.pts.extkey ) )
// {
// if( ! Utils.isEmpty(model.limpts.wrk.pts.extkey) )
// {
// if( model.limpts.wrk.pta.ptytyp == "C" )
// {
// if( Utils.mid( model.extid, 1, 1 ) == "B" )
// {
// Utils.error( model.ptyextkey, #CT000034 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ptsget.@0009.script
// * liaall.limmod.wrkp.ptsget
// */
// function checkLiaallLimmodLimptsWrkPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * liaall.limmod.wrkp
// */
// function checkLiaallLimmodLimptsWrkPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:ditopn.@0131.script
// *
// */
// function checkDidgrpBenPtsDihdigN1004()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.ben.pts.dihdig );
// }
//
//
// }
// /**
// * source:ditopn.@0107.script
// *
// */
// function checkDidgrpRecShpdatN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty( model.didgrp.rec.shpdat ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditopn.@0002.script
// *
// */
// function checkDidgrpRecShpdatN999()
// {
//
// if( ! Utils.isEmpty( model.didgrp.rec.shpdat ) )
// {
// // If not DATEDIFF( DIDGRP\REC\SHPDAT, DIDGRP\REC\OPNDAT) > 0 then
// // error( `This date must not be before the issuance date`)
// // EndIf
// if( ! Utils.isEmpty( model.didgrp.rec.expdat ) )
// {
// if( !( Utils.diff( model.didgrp.rec.shpdat, model.didgrp.rec.expdat ) <= 0) )
// {
// /**
// Error( 'L0000058' )
// **/
// Utils.errorMessage( #CT000626 );
// }
// }
// }
// if( ! Utils.isEmpty( model.didgrp.rec.shpdat ) )
// {
// Utils.disable( model.didgrp.blk.shpper );
// }
// else
// {
// Utils.enable( model.didgrp.blk.shpper );
// }
//
//
// }
// /**
// * source:ditopn.@0005.script
// *
// */
// function checkDidgrpCbsNom1CurN100()
// {
//
// if( Utils.isEmpty( model.didgrp.cbs.nom1.cur ) )
// {
// Utils.errorMandatory();
// }
// else
// {
// Argument<Double> rat = new Argument<Double>();
// Argument<Double> sqrrat = new Argument<Double>();
// model.cbsmod.xrtmod.getrat ( model.cbsmod.xrtmod.sysiso(), model.didgrp.cbs.nom1.cur, "M", Utils.today(), rat, sqrrat );
// if( Utils.isEmpty( rat ) )
// {
// Utils.errorMessage( #CT000353, model.didgrp.cbs.nom1.cur );
// }
// }
// if( model.ditp.dflg == #CT000554 )
// {
// model.ditp.aamp.aammod.curchange ( model.sysmod.atp.bus );
// }
//
//
// }
// /**
// * source:ditopn.@0125.script
// *
// */
// function checkDidgrpIssPtsDihdigN1001()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.iss.pts.dihdig );
// }
//
//
// }
// /**
// * source:ptsp.@0038.script
// * ditp.aplp
// */
// function checkDidgrpAplNamelcN100()
// {
// BGSERVICE
// }
// /**
// * source:ditp.@0039.script
// * ditp
// */
// function checkDidgrpRecRevtypN100()
// {
//
// if( Utils.IsEnabled( model.didgrp.rec.revtyp ) && Utils.isEmpty( model.didgrp.rec.revtyp ) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:ptsp.@0014.script
// * ditp.rmbp
// */
// function checkDidgrpRmbPtsAdrblkN950()
// {
// BGSERVICE
// }
// /**
// * source:coninf.@0014.script
// * mtabut.coninf
// */
// function checkMtabutConinfConexedatN100()
// {
//
// if( ! Utils.isEmpty( model.conexedat ) )
// {
// if( Utils.diff(model.conexedat , Utils.today())<0 )
// {
// Utils.errorMessage( #CT000013 );
// }
// }
//
//
// }
// /**
// * source:ditopn.@0128.script
// *
// */
// function checkDidgrpAdvPtsYouzbmN1003()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.adv.pts.youzbm );
// }
//
//
// }
// /**
// * source:ditopn.@0123.script
// *
// */
// function checkDidgrpAplPtsExtactN100()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.apl.pts.extact );
// }
//
//
// }
// /**
// * source:ptsp.@0014.script
// * ditp.benp
// */
// function checkDidgrpBenPtsAdrblkN950()
// {
// BGSERVICE
// }
// /**
// * source:limpts.@0000.script
// * liaall.limmod.limpts
// */
// function checkLiaallLimmodLimptsNonrevflg1N100()
// {
//
// if( model.liaall.limmod.needRecalcLimits() )
// {
// if( Utils.IsEnabled( model.nonrevflg1 ) && Utils.isEmpty( model.nonrevflg1 ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditopn.@0126.script
// *
// */
// function checkDidgrpApcPtsYouzbmN1002()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.apc.pts.youzbm );
// }
//
//
// }
// /**
// * source:ditopn.@0130.script
// *
// */
// function checkDidgrpBenPtsYouzbmN1004()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.ben.pts.youzbm );
// }
//
//
// }
// /**
// * source:ditopn.@0027.script
// *
// */
// function checkDidgrpRecOpndatN100()
// {
//
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// if( Utils.isEmpty( model.mtabut.coninf.conexedat ) )
// {
// if( Utils.diff(model.didgrp.rec.opndat , Utils.today())>0 )
// {
// Utils.errorMessage( #CT000385 );
// }
// }
// else
// {
// if( Utils.diff(model.didgrp.rec.opndat , model.mtabut.coninf.conexedat)>0 )
// {
// Utils.errorMessage( #CT000392 );
// }
// }
// }
// if( Utils.diff(model.didgrp.rec.opndat , model.mtabut.coninf.conexedat)<0 )
// {
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, #CT000393, "OPNEXEDAT" );
// }
// else
// {
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, "", "OPNEXEDAT" );
// }
//
//
// }
// /**
// * source:ditp.@0028.script
// * ditp
// */
// function checkDidgrpRecOpndatN950()
// {
//
// if( model.pansta == PanStaEdit )
// {
// if( !model.sysmod.atp.cod == "DITPOP" && !model.sysmod.atp.cod == "DITADD" )
// {
// if( Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// Utils.errorMandatory();
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0030.script
// *
// */
// function checkDidgrpRecAvbbyN100()
// {
//
// if( Utils.isEmpty( model.didgrp.rec.avbby ) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:ditp.@0077.script
// * ditp
// */
// function checkDidgrpRecMytypeN100()
// {
//
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// if( Utils.isEmpty( model.didgrp.rec.mytype ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditp.@0012.script
// * ditp
// */
// function checkDitpUsrExtkeyN100()
// {
//
// // The Responsible User has to be set
// if( model.pansta == PanStaAdd || model.pansta == PanStaEdit )
// {
// if( Utils.isEmpty( model.usr.extkey ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ptsget.@0001.script
// * liaall.limmod.wrkp.ptsget
// */
// function checkLiaallLimmodWrkpPtsgetSdamodDadsndN100()
// {
//
// if( Utils.isEmpty( model.ptspta.pts.extkey ) )
// {
// Utils.errorMessage( #CT000000 );
// }
//
//
// }
// /**
// * source:didget.@0001.script
// * ditp.recget
// */
// function checkDitpRecgetSdamodDadsndN100()
// {
//
// //! check whether take is allowed on Drag&Drop sender
// if( Utils.isEmpty( model.did.inr ) )
// {
// Utils.errorMessage( #CT000001 );
// }
//
//
// }
// /**
// * source:ditopn.@0127.script
// *
// */
// function checkDidgrpApcPtsDihdigN1002()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.apc.pts.dihdig );
// }
//
//
// }
// /**
// * source:ditopn.@0022.script
// *
// */
// function checkDidgrpAdvPtsExtkeyN100()
// {
//
// //-----国内证银行角色的栏位移到业务表中-----
// if( ! model.didgrp.adv.isRolSet() )
// {
// Utils.error( model.ditp.didgrp.adv.pts.extkey, #CT000394 );
// }
// if( Utils.isEmpty( model.ditp.didgrp.adv.pts.extkey ) )
// {
// Utils.errorMandatory();
// }
// /**
// if not DIDGRP\ADV.IsRolSet then
// if not DIDGRP\ADV.IsRolSet and not DIDGRP\BEN.IsRolSet then
// ErrorOnField( DITP\DIDGRP\ADV\PTS\EXTKEY, 'LF000633' )
// endif
// endi**/
//
//
// }
// /**
// * source:ptsget.@0009.script
// * ditp.advp.ptsget
// */
// function checkDidgrpAdvPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * ditp.advp
// */
// function checkDidgrpAdvPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:ptsp.@0038.script
// * ditp.rmbp
// */
// function checkDidgrpRmbNamelcN100()
// {
// BGSERVICE
// }
// /**
// * source:setmod.@0016.script
// * setmod
// */
// function checkSetmodDocamtN100()
// {
//
// let difAmt = 0;
// if( model.docamt > model.opnamt )
// {
// difAmt = model.docamt - model.opnamt;
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, Utils.getText( #CT000308, model.doccur + " " + Utils.fmtAmount( difAmt, model.doccur ) ), "WrnDOCAMT" );
// }
// else
// {
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, "", "WrnDOCAMT" );
// }
// if( model.docamt < 0 )
// {
// Utils.errorMessage( #CT000309 );
// }
//
//
// }
// /**
// * source:liaall.@0036.script
// * liaall
// */
// function checkSetmodDocamtN15000()
// {
//
// if( liaallParFound( "TENCBT", "CBTPFX" ) )
// {
// if( model.setmod.docamt > model.liaall.tensetamt )
// {
// Utils.errorMessage( #CT000032, model.liaall.concur, Utils.fmtAmount( model.liaall.tensetamt, model.liaall.concur ) );
// }
// }
//
//
// }
// /**
// * source:ditopn.@0129.script
// *
// */
// function checkDidgrpAdvPtsDihdigN1003()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.adv.pts.dihdig );
// }
//
//
// }
// /**
// * source:ditopn.@0003.script
// *
// */
// function checkDidgrpRecExpdatN100()
// {
//
// if( Utils.isEmpty( model.didgrp.rec.expdat ) )
// {
// Utils.errorMandatory();
// Utils.exitEvent();
// }
// if( ! Utils.isEmpty( model.didgrp.rec.expdat ) )
// {
// if( !( Utils.diff( model.didgrp.rec.expdat, model.didgrp.rec.opndat ) > 0) )
// {
// Utils.errorMessage( #CT000059 );
// Utils.exitEvent();
// }
// }
// if( ! Utils.isEmpty( model.didgrp.rec.shpdat ) )
// {
// if( !( Utils.diff( model.didgrp.rec.expdat, model.didgrp.rec.shpdat ) >= 0) )
// {
// Utils.errorMessage( #CT000060 );
// Utils.exitEvent();
// }
// }
// /**
// if GetUIL == "CN" then
// model.allow = 180
// // if DIDGRP\REC\AVBBY = "P" then
// model.dur = DateDiff( DIDGRP\REC\EXPDAT, DIDGRP\REC\OPNDAT )
// if model.dur > model.allow then
// PromptOK( 'L0000555' )
// endif
// **/
// let allow = 0;
// let dur = 0;
// if( Utils.getLang() == "CN" )
// {
// allow = 366;
// dur = Utils.diff( model.didgrp.rec.expdat, model.didgrp.rec.opndat );
// if( dur > allow )
// {
// if( model.didgrp.rec.elcflg == "Y" )
// {
// Utils.errorMessage( #CT000634 );
// }
// else
// {
// Utils.message( #CT000625 );
// }
// }
// /**
// else
// model.dur = DateDiff( DIDGRP\REC\EXPDAT, DIDGRP\REC\SHPDAT )
// if model.dur > model.allow then
// PromptOK( 'L0000595' )
// endif
// endif
// **/
// }
//
//
// }
// /**
// * source:ptsget.@0009.script
// * ditp.benp.ptsget
// */
// function checkDidgrpBenPtsExtkeyN950()
// {
//
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled
// if( Utils.isEmpty( model.dissel ) )
// {
// if( checkPTYTYP() )
// {
// checkStopAndInfo();
// }
// }
//
//
// }
// /**
// * source:ptsp.@0013.script
// * ditp.benp
// */
// function checkDidgrpBenPtsExtkeyN960()
// {
// BGSERVICE
// }
// /**
// * source:liaccv.@0025.script
// * liaall.liaccv
// */
// function checkLiaallLiaccvCshpctN100()
// {
//
// //收取保证金后 保证金应收比例必输
// /**
// if IsEmpty( CSHPCT ) and not IsEmpty( RELCSHPCT ) then
// ErrorMandatory
// endif
// **/
//
//
// }
// /**
// * source:ditp.@0024.script
// * ditp
// */
// function checkDidgrpRecAvbwthN100()
// {
//
// /**
// if PANSTA == PanStaEdit then
// if not IsEmpty( DIDGRP\REC\OPNDAT ) then
// if IsEmpty( DIDGRP\ADV\PTS\EXTKEY ) and DIDGRP\REC\AVBWTH == "A" then
// Error( 'L0000018' )
// endif
// endif
// endi**/
//
//
// }
// /**
// * source:ditp.@0046.script
// * ditp
// */
// function checkDidgrpRecAvbwthN900()
// {
//
// if( model.pansta == PanStaEdit )
// {
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) )
// {
// /**
// if IsEmpty( DIDGRP\REC\AVBWTH ) and IsEmpty( DIDGRP\AVB\PTS\EXTKEY ) then
// ErrorMandatory
// endif
// **/
// if( model.didgrp.rec.fenctg == "Y" )
// {
// /**
// if IsEmpty( DIDGRP\REC\AVBWTH ) and IsEmpty( DIDGRP\AVB\PTS\EXTKEY ) then
// **/
// if( Utils.isEmpty( model.didgrp.rec.avbwth ) )
// {
// Utils.errorMandatory();
// }
// }
// }
// }
//
//
// }
// /**
// * source:txmmod.@0009.script
// * ditp.lcrdoc
// */
// function checkDidgrpBlkLcrdocN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:ditopn.@0110.script
// *
// */
// function checkDidgrpBlkLcrdocN100()
// {
//
// //---DZTEST---
// if( model.didgrp.rec.elcflg == "Y" )
// {
// if( Utils.isEmpty( model.didgrp.blk.lcrdoc ) )
// {
// Utils.errorMandatory();
// }
// }
//
//
// }
// /**
// * source:ditp.@0101.script
// * ditp
// */
// function checkDidgrpBlkLcrdocN1001()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.blk.lcrdoc ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.blk.lcrdoc );
// if( len > 2000 )
// {
// Utils.errorMessage( #CT000088 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0044.script
// *
// */
// function checkDidgrpRecTenmaxdayN1000()
// {
//
// //>>> FRA.000004 ZL: 从501移植过来----------
// if( !model.didgrp.rec.avbby == "P" )
// {
// if( model.didgrp.rec.tenmaxday == 0 )
// {
// Utils.errorMandatory();
// }
// }
// //<<< FRA.000004 ZL
//
//
// }
// /**
// * source:ditp.@0049.script
// * ditp
// */
// function checkDidgrpRecTenmaxdayN1050()
// {
//
// //>>> FRA.000004 ZL: 从501移植过来----------
// if( model.didgrp.rec.tenmaxday < 0 )
// {
// Utils.errorMessage( #CT000047 );
// }
// //<<< FRA.000004 ZL
// if( Utils.getLang() == "CN" )
// {
// /**
// if DIDGRP\REC\TENMAXDAY > 180 then
// PromptOK( 'LG000049' )
// endif
// **/
// if( model.didgrp.rec.tenmaxday > 366 )
// {
// if( model.didgrp.rec.elcflg == "Y" )
// {
// Utils.errorMessage( #CT000086 );
// }
// else
// {
// Utils.message( #CT000069, #CT000073 );
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0006.script
// *
// */
// function checkDidgrpCbsNom1AmtN100()
// {
//
// Utils.errorPositiveAmtOnly( model.didgrp.cbs.nom1.amt );
//
//
// }
// /**
// * source:txmmod.@0009.script
// * ditp.preper
// */
// function checkDidgrpBlkPreperN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:ditp.@0083.script
// * ditp
// */
// function checkDidgrpBlkPreperN100()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.blk.preperflg == "X" )
// {
// if( Utils.isEmpty( model.didgrp.blk.preper ) )
// {
// Utils.errorMandatory();
// }
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.blk.preper ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.blk.preper );
// if( len > 100 )
// {
// Utils.errorMessage( #CT000074 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ptsp.@0039.script
// * ditp.aplp
// */
// function checkDidgrpAplAdrelcN100()
// {
// BGSERVICE
// }
// /**
// * source:ptsget.@0001.script
// * ditp.rmbp.ptsget
// */
// function checkDitpRmbpPtsgetSdamodDadsndN100()
// {
//
// if( Utils.isEmpty( model.ptspta.pts.extkey ) )
// {
// Utils.errorMessage( #CT000000 );
// }
//
//
// }
// /**
// * source:ditopn.@0132.script
// *
// */
// function checkDidgrpBenPtsExtactN1001()
// {
//
// if( model.didgrp.rec.elcflg == "Y" )
// {
// model.trnmod.chineseallow ( model.didgrp.ben.pts.extact );
// }
//
//
// }
// /**
// * source:txmmod.@0009.script
// * ditp.adlcnd
// */
// function checkDidgrpBlkAdlcndN100()
// {
//
// //! Set error, if block contains an Asterisk and is enabled
// //! ZL add for swift standards relese 2018
// //占位符“*”给为占位符“~”
// //add tby
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
// {
// Utils.errorAsterisk( model.txmblock );
// }
//
//
// }
// /**
// * source:ditp.@0102.script
// * ditp
// */
// function checkDidgrpBlkAdlcndN100()
// {
//
// let frame = null;
// let len = 0;
// if( model.didgrp.rec.elcflg == "Y" )
// {
// frame = model.sysmod.atp.cod;
// if( frame == "DITOPN" || frame == "DITAME" )
// {
// if( ! Utils.isEmpty( model.didgrp.blk.adlcnd ) )
// {
// len = model.trnmod.chineseFldLength ( model.didgrp.blk.adlcnd );
// if( len > 2000 )
// {
// Utils.errorMessage( #CT000089 );
// }
// }
// }
// }
//
//
// }
// /**
// * source:ditopn.@0090.script
// *
// */
// function checkLitameadvN100()
// {
//
// //2009新需求,收单行的check自行设置
// if( ! Utils.conCheck() )
// {
// Utils.exitEvent();
// }
// if( Utils.isEmpty( model.litameadv ) )
// {
// Utils.errorMandatory();
// }
//
//
// }
// /**
// * source:liaccv.@0024.script
// * liaall.liaccv
// */
// function checkLiaallLiaccvRelcshpctN100()
// {
//
// let frm = Utils.getTransName();
// let maxamt = 0;
// switch( frm )
// {
// case "LITOPN":
// case "LITAME":
// case "LITENG":
// case "LITROP":
// case "BRTSET":
// case "GITOPN":
// case "GITAME":
// case "GITROP":
// case "GITENG":
// case "GITSET":
// case "LITDLA":
// case "BRTLAT":
// case "LITROG":
// case "BRTUDP":
// case "DITOPN":
// case "DITAME":
// case "DITENG":
// case "BDTSET":
// case "BDTUDP":
// case "DITDLA":
// case "DITODZ":
// /**
// //---ysp---
// case "LITOPN", "LITAME", "LITENG", "LITROP", "BRTSET", "GITOPN", "GITAME", "GITROP", "GITENG", "GITSET", "LITDLA", "BRTLAT", "LITROG", "BRTUDP", "DITOPN", "DITAME", "DITENG", "BDTSET", "BDTUDP", "DITDLA"
// **/
// if( ! Utils.isEmpty( model.relcshpct ) )
// {
// if( model.relcshpct < model.cshpct )
// {
// Utils.errorMessage( #CT000019 );
// }
// }
// else
// {
// maxamt = model.oldamt + model.chgamt;
// if( maxamt > 0 )
// {
// if( model.relcshpct < model.cshpct )
// {
// Utils.errorMessage( #CT000021 );
// }
// }
// }
// break;
// }
//
//
// }
/**
* Ditopn Check规则
*/
export default {
"liaall.misamt" :[checkLiaallMisamtN100,],
"liaall.limmod.limpts.oth.pts.extkey" :[checkLiaallLimmodLimptsOthPtsExtkeyN100,checkLiaallLimmodLimptsOthPtsExtkeyN950,checkLiaallLimmodLimptsOthPtsExtkeyN960,],
"didgrp.apl.pts.ref" :[checkDidgrpAplPtsRefN100,],
"didgrp.apl.pts.youzbm" :[checkDidgrpAplPtsYouzbmN100,],
"ameadvrmk" :[checkAmeadvrmkN100,],
"liaall.limmod.ownref" :[checkLiaallLimmodOwnrefN100,],
"didgrp.rec.expplc" :[checkDidgrpRecExpplcN900,],
"didgrp.rec.fqtime" :[checkDidgrpRecFqtimeN100,],
"didgrp.adv.pts.bankno" :[checkDidgrpAdvPtsBanknoN100,],
"didgrp.rec.tratyp" :[checkDidgrpRecTratypN100,],
"liaall.limmod.ecifno" :[checkLiaallLimmodEcifnoN100,],
"ditp.benp.ptsget.sdamod.dadsnd" :[checkDitpBenpPtsgetSdamodDadsndN100,],
"didgrp.rec.revdat" :[checkDidgrpRecRevdatN100,],
"didgrp.iss.pts.extkey" :[checkDidgrpIssPtsExtkeyN950,checkDidgrpIssPtsExtkeyN960,],
"didgrp.rec.sdsrfs" :[checkDidgrpRecSdsrfsN100,],
"didgrp.iss.pts.youzbm" :[checkDidgrpIssPtsYouzbmN1001,],
"didgrp.rec.fqzytgfw" :[checkDidgrpRecFqzytgfwN100,],
"didgrp.rec.conamt" :[checkDidgrpRecConamtN100,],
"didgrp.apc.pts.bankno" :[checkDidgrpApcPtsBanknoN100,],
"didgrp.rec.shppro" :[checkDidgrpRecShpproN100,],
"didgrp.rec.shpto" :[checkDidgrpRecShptoN100,],
"didgrp.ben.namelc" :[checkDidgrpBenNamelcN100,],
"didgrp.cmb.pts.bankno" :[checkDidgrpCmbPtsBanknoN100,],
"didgrp.rec.shppar" :[checkDidgrpRecShpparN100,],
"liaall.limmod.othp.ptsget.sdamod.dadsnd" :[checkLiaallLimmodOthpPtsgetSdamodDadsndN100,],
"didgrp.rmb.adrelc" :[checkDidgrpRmbAdrelcN100,],
"didgrp.apl.pts.extkey" :[checkDidgrpAplPtsExtkeyN950,checkDidgrpAplPtsExtkeyN960,],
"didgrp.apb.pts.bankno" :[checkDidgrpApbPtsBanknoN100,],
"didgrp.rec.rmbcha" :[checkDidgrpRecRmbchaN100,],
"ditp.aplp.ptsget.sdamod.dadsnd" :[checkDitpAplpPtsgetSdamodDadsndN100,],
"didgrp.avb.pts.bankno" :[checkDidgrpAvbPtsBanknoN100,],
"didgrp.rmb.pts.extkey" :[checkDidgrpRmbPtsExtkeyN950,checkDidgrpRmbPtsExtkeyN960,],
"setmod.dspflg" :[checkSetmodDspflgN100,checkSetmodDspflgN1100,checkSetmodDspflgN1200,],
"didgrp.blk.revcls" :[checkDidgrpBlkRevclsN100,],
"didgrp.rmb.pts.bankno" :[checkDidgrpRmbPtsBanknoN100,],
"didgrp.ben.adrelc" :[checkDidgrpBenAdrelcN100,],
"didgrp.rec.apprulrmb" :[checkDidgrpRecApprulrmbN100,],
"didgrp.apl.pts.dihdig" :[checkDidgrpAplPtsDihdigN100,],
"didgrp.rec.conno" :[checkDidgrpRecConnoN100,checkDidgrpRecConnoN1001,],
"didgrp.blk.defdet" :[checkDidgrpBlkDefdetN100,checkDidgrpBlkDefdetN100,checkDidgrpBlkDefdetN1001,],
"didgrp.rec.elcflg" :[checkDidgrpRecElcflgN100,],
"didgrp.blk.insbnk" :[checkDidgrpBlkInsbnkN100,],
"liaall.liaccv.totcovamt" :[checkLiaallLiaccvTotcovamtN100,],
"didgrp.beb.pts.bankno" :[checkDidgrpBebPtsBanknoN100,],
"didgrp.apl.pts.adrblk" :[checkDidgrpAplPtsAdrblkN950,],
"didgrp.rec.lcrtyp" :[checkDidgrpRecLcrtypN900,],
"didgrp.rec.shpfro" :[checkDidgrpRecShpfroN100,],
"didgrp.rec.guaflg" :[checkDidgrpRecGuaflgN100,],
"didgrp.iss.pts.bankno" :[checkDidgrpIssPtsBanknoN100,],
"didgrp.blk.lcrgod" :[checkDidgrpBlkLcrgodN100,checkDidgrpBlkLcrgodN100,checkDidgrpBlkLcrgodN1001,],
"didgrp.rec.idcode" :[checkDidgrpRecIdcodeN100,],
"didgrp.rec.fenctg" :[checkDidgrpRecFenctgN100,],
"liaall.limmod.limpts.wrk.pts.extkey" :[checkLiaallLimmodLimptsWrkPtsExtkeyN100,checkLiaallLimmodLimptsWrkPtsExtkeyN950,checkLiaallLimmodLimptsWrkPtsExtkeyN960,],
"didgrp.ben.pts.dihdig" :[checkDidgrpBenPtsDihdigN1004,],
"didgrp.rec.shpdat" :[checkDidgrpRecShpdatN100,checkDidgrpRecShpdatN999,],
"didgrp.cbs.nom1.cur" :[checkDidgrpCbsNom1CurN100,],
"didgrp.iss.pts.dihdig" :[checkDidgrpIssPtsDihdigN1001,],
"didgrp.apl.namelc" :[checkDidgrpAplNamelcN100,],
"didgrp.rec.revtyp" :[checkDidgrpRecRevtypN100,],
"didgrp.rmb.pts.adrblk" :[checkDidgrpRmbPtsAdrblkN950,],
"mtabut.coninf.conexedat" :[checkMtabutConinfConexedatN100,],
"didgrp.adv.pts.youzbm" :[checkDidgrpAdvPtsYouzbmN1003,],
"didgrp.apl.pts.extact" :[checkDidgrpAplPtsExtactN100,],
"didgrp.ben.pts.adrblk" :[checkDidgrpBenPtsAdrblkN950,],
"liaall.limmod.limpts.nonrevflg1" :[checkLiaallLimmodLimptsNonrevflg1N100,],
"didgrp.apc.pts.youzbm" :[checkDidgrpApcPtsYouzbmN1002,],
"didgrp.ben.pts.youzbm" :[checkDidgrpBenPtsYouzbmN1004,],
"didgrp.rec.opndat" :[checkDidgrpRecOpndatN100,checkDidgrpRecOpndatN950,],
"didgrp.rec.avbby" :[checkDidgrpRecAvbbyN100,],
"didgrp.rec.mytype" :[checkDidgrpRecMytypeN100,],
"ditp.usr.extkey" :[checkDitpUsrExtkeyN100,],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :[checkLiaallLimmodWrkpPtsgetSdamodDadsndN100,],
"ditp.recget.sdamod.dadsnd" :[checkDitpRecgetSdamodDadsndN100,],
"didgrp.apc.pts.dihdig" :[checkDidgrpApcPtsDihdigN1002,],
"didgrp.adv.pts.extkey" :[checkDidgrpAdvPtsExtkeyN100,checkDidgrpAdvPtsExtkeyN950,checkDidgrpAdvPtsExtkeyN960,],
"didgrp.rmb.namelc" :[checkDidgrpRmbNamelcN100,],
"setmod.docamt" :[checkSetmodDocamtN100,checkSetmodDocamtN15000,],
"didgrp.adv.pts.dihdig" :[checkDidgrpAdvPtsDihdigN1003,],
"didgrp.rec.expdat" :[checkDidgrpRecExpdatN100,],
"didgrp.ben.pts.extkey" :[checkDidgrpBenPtsExtkeyN950,checkDidgrpBenPtsExtkeyN960,],
"liaall.liaccv.cshpct" :[checkLiaallLiaccvCshpctN100,],
"didgrp.rec.avbwth" :[checkDidgrpRecAvbwthN100,checkDidgrpRecAvbwthN900,],
"didgrp.blk.lcrdoc" :[checkDidgrpBlkLcrdocN100,checkDidgrpBlkLcrdocN100,checkDidgrpBlkLcrdocN1001,],
"didgrp.rec.tenmaxday" :[checkDidgrpRecTenmaxdayN1000,checkDidgrpRecTenmaxdayN1050,],
"didgrp.cbs.nom1.amt" :[checkDidgrpCbsNom1AmtN100,],
"didgrp.blk.preper" :[checkDidgrpBlkPreperN100,checkDidgrpBlkPreperN100,],
"didgrp.apl.adrelc" :[checkDidgrpAplAdrelcN100,],
"ditp.rmbp.ptsget.sdamod.dadsnd" :[checkDitpRmbpPtsgetSdamodDadsndN100,],
"didgrp.ben.pts.extact" :[checkDidgrpBenPtsExtactN1001,],
"didgrp.blk.adlcnd" :[checkDidgrpBlkAdlcndN100,checkDidgrpBlkAdlcndN100,],
"litameadv" :[checkLitameadvN100,],
"liaall.liaccv.relcshpct" :[checkLiaallLiaccvRelcshpctN100,],
}
/**
* source:liaall.@0019.script
* liaall
*/
function checkLiaallMisamtN100()
{
}
/**
* source:limmod.@0005.script
* liaall.limmod
*/
function checkLiaallLimmodLimptsOthPtsExtkeyN100()
{
}
/**
* source:ptsget.@0009.script
* liaall.limmod.othp.ptsget
*/
function checkLiaallLimmodLimptsOthPtsExtkeyN950()
{
}
/**
* source:ptsp.@0013.script
* liaall.limmod.othp
*/
function checkLiaallLimmodLimptsOthPtsExtkeyN960()
{
}
/**
* source:ditopn.@0104.script
*
*/
function checkDidgrpAplPtsRefN100()
{
}
/**
* source:ditopn.@0121.script
*
*/
function checkDidgrpAplPtsYouzbmN100()
{
}
/**
* source:ditopn.@0092.script
*
*/
function checkAmeadvrmkN100()
{
}
/**
* source:limmod.@0097.script
* liaall.limmod
*/
function checkLiaallLimmodOwnrefN100()
{
}
/**
* source:ditp.@0027.script
* ditp
*/
function checkDidgrpRecExpplcN900()
{
}
/**
* source:ditp.@0088.script
* ditp
*/
function checkDidgrpRecFqtimeN100()
{
}
/**
* source:ptsp.@0031.script
* ditp.advp
*/
function checkDidgrpAdvPtsBanknoN100()
{
}
/**
* source:ditopn.@0106.script
*
*/
function checkDidgrpRecTratypN100()
{
}
/**
* source:limmod.@0085.script
* liaall.limmod
*/
function checkLiaallLimmodEcifnoN100()
{
}
/**
* source:ptsget.@0001.script
* ditp.benp.ptsget
*/
function checkDitpBenpPtsgetSdamodDadsndN100()
{
}
/**
* source:ditp.@0040.script
* ditp
*/
function checkDidgrpRecRevdatN100()
{
}
/**
* source:ptsget.@0009.script
* ditp.issp.ptsget
*/
function checkDidgrpIssPtsExtkeyN950()
{
}
/**
* source:ptsp.@0013.script
* ditp.issp
*/
function checkDidgrpIssPtsExtkeyN960()
{
}
/**
* source:ditp.@0092.script
* ditp
*/
function checkDidgrpRecSdsrfsN100()
{
}
/**
* source:ditopn.@0124.script
*
*/
function checkDidgrpIssPtsYouzbmN1001()
{
}
/**
* source:ditp.@0082.script
* ditp
*/
function checkDidgrpRecFqzytgfwN100()
{
}
/**
* source:ditp.@0029.script
* ditp
*/
function checkDidgrpRecConamtN100()
{
}
/**
* source:ptsp.@0031.script
* ditp.apcp
*/
function checkDidgrpApcPtsBanknoN100()
{
}
/**
* source:ditp.@0091.script
* ditp
*/
function checkDidgrpRecShpproN100()
{
}
/**
* source:ditp.@0090.script
* ditp
*/
function checkDidgrpRecShptoN100()
{
}
/**
* source:ptsp.@0038.script
* ditp.benp
*/
function checkDidgrpBenNamelcN100()
{
}
/**
* source:ptsp.@0031.script
* ditp.cmbp
*/
function checkDidgrpCmbPtsBanknoN100()
{
}
/**
* source:ditopn.@0108.script
*
*/
function checkDidgrpRecShpparN100()
{
}
/**
* source:ptsget.@0001.script
* liaall.limmod.othp.ptsget
*/
function checkLiaallLimmodOthpPtsgetSdamodDadsndN100()
{
}
/**
* source:ptsp.@0039.script
* ditp.rmbp
*/
function checkDidgrpRmbAdrelcN100()
{
}
/**
* source:ptsget.@0009.script
* ditp.aplp.ptsget
*/
function checkDidgrpAplPtsExtkeyN950()
{
}
/**
* source:ptsp.@0013.script
* ditp.aplp
*/
function checkDidgrpAplPtsExtkeyN960()
{
}
/**
* source:ptsp.@0031.script
* ditp.apbp
*/
function checkDidgrpApbPtsBanknoN100()
{
}
/**
* source:ditp.@0035.script
* ditp
*/
function checkDidgrpRecRmbchaN100()
{
}
/**
* source:ptsget.@0001.script
* ditp.aplp.ptsget
*/
function checkDitpAplpPtsgetSdamodDadsndN100()
{
}
/**
* source:ptsp.@0031.script
* ditp.avbp
*/
function checkDidgrpAvbPtsBanknoN100()
{
}
/**
* source:ptsget.@0009.script
* ditp.rmbp.ptsget
*/
function checkDidgrpRmbPtsExtkeyN950()
{
}
/**
* source:ptsp.@0013.script
* ditp.rmbp
*/
function checkDidgrpRmbPtsExtkeyN960()
{
}
/**
* source:setmod.@0076.script
* setmod
*/
function checkSetmodDspflgN100()
{
}
/**
* source:setmod.@0090.script
* setmod
*/
function checkSetmodDspflgN1100()
{
}
/**
* source:setmod.@0146.script
* setmod
*/
function checkSetmodDspflgN1200()
{
}
/**
* source:txmmod.@0009.script
* ditp.revclause
*/
function checkDidgrpBlkRevclsN100()
{
}
/**
* source:ptsp.@0031.script
* ditp.rmbp
*/
function checkDidgrpRmbPtsBanknoN100()
{
}
/**
* source:ptsp.@0039.script
* ditp.benp
*/
function checkDidgrpBenAdrelcN100()
{
}
/**
* source:ditp.@0043.script
* ditp
*/
function checkDidgrpRecApprulrmbN100()
{
}
/**
* source:ditopn.@0122.script
*
*/
function checkDidgrpAplPtsDihdigN100()
{
}
/**
* source:ditopn.@0112.script
*
*/
function checkDidgrpRecConnoN100()
{
}
/**
* source:ditp.@0103.script
* ditp
*/
function checkDidgrpRecConnoN1001()
{
}
/**
* source:txmmod.@0009.script
* ditp.defdet
*/
function checkDidgrpBlkDefdetN100()
{
}
/**
* source:ditp.@0047.script
* ditp
*/
function checkDidgrpBlkDefdetN100()
{
}
/**
* source:ditp.@0104.script
* ditp
*/
function checkDidgrpBlkDefdetN1001()
{
}
/**
* source:ditopn.@0118.script
*
*/
function checkDidgrpRecElcflgN100()
{
}
/**
* source:txmmod.@0009.script
* ditp.insbnk
*/
function checkDidgrpBlkInsbnkN100()
{
}
/**
* source:liaccv.@0016.script
* liaall.liaccv
*/
function checkLiaallLiaccvTotcovamtN100()
{
}
/**
* source:ptsp.@0031.script
* ditp.bebp
*/
function checkDidgrpBebPtsBanknoN100()
{
}
/**
* source:ptsp.@0014.script
* ditp.aplp
*/
function checkDidgrpAplPtsAdrblkN950()
{
}
/**
* source:ditp.@0026.script
* ditp
*/
function checkDidgrpRecLcrtypN900()
{
}
/**
* source:ditp.@0089.script
* ditp
*/
function checkDidgrpRecShpfroN100()
{
}
/**
* source:ditopn.@0079.script
*
*/
function checkDidgrpRecGuaflgN100()
{
}
/**
* source:ptsp.@0031.script
* ditp.issp
*/
function checkDidgrpIssPtsBanknoN100()
{
}
/**
* source:txmmod.@0009.script
* ditp.lcrgod
*/
function checkDidgrpBlkLcrgodN100()
{
}
/**
* source:ditopn.@0109.script
*
*/
function checkDidgrpBlkLcrgodN100()
{
}
/**
* source:ditp.@0100.script
* ditp
*/
function checkDidgrpBlkLcrgodN1001()
{
}
/**
* source:ditopn.@0115.script
*
*/
function checkDidgrpRecIdcodeN100()
{
}
/**
* source:ditopn.@0111.script
*
*/
function checkDidgrpRecFenctgN100()
{
}
/**
* source:limmod.@0099.script
* liaall.limmod
*/
function checkLiaallLimmodLimptsWrkPtsExtkeyN100()
{
}
/**
* source:ptsget.@0009.script
* liaall.limmod.wrkp.ptsget
*/
function checkLiaallLimmodLimptsWrkPtsExtkeyN950()
{
}
/**
* source:ptsp.@0013.script
* liaall.limmod.wrkp
*/
function checkLiaallLimmodLimptsWrkPtsExtkeyN960()
{
}
/**
* source:ditopn.@0131.script
*
*/
function checkDidgrpBenPtsDihdigN1004()
{
}
/**
* source:ditopn.@0107.script
*
*/
function checkDidgrpRecShpdatN100()
{
}
/**
* source:ditopn.@0002.script
*
*/
function checkDidgrpRecShpdatN999()
{
}
/**
* source:ditopn.@0005.script
*
*/
function checkDidgrpCbsNom1CurN100()
{
}
/**
* source:ditopn.@0125.script
*
*/
function checkDidgrpIssPtsDihdigN1001()
{
}
/**
* source:ptsp.@0038.script
* ditp.aplp
*/
function checkDidgrpAplNamelcN100()
{
}
/**
* source:ditp.@0039.script
* ditp
*/
function checkDidgrpRecRevtypN100()
{
}
/**
* source:ptsp.@0014.script
* ditp.rmbp
*/
function checkDidgrpRmbPtsAdrblkN950()
{
}
/**
* source:coninf.@0014.script
* mtabut.coninf
*/
function checkMtabutConinfConexedatN100()
{
}
/**
* source:ditopn.@0128.script
*
*/
function checkDidgrpAdvPtsYouzbmN1003()
{
}
/**
* source:ditopn.@0123.script
*
*/
function checkDidgrpAplPtsExtactN100()
{
}
/**
* source:ptsp.@0014.script
* ditp.benp
*/
function checkDidgrpBenPtsAdrblkN950()
{
}
/**
* source:limpts.@0000.script
* liaall.limmod.limpts
*/
function checkLiaallLimmodLimptsNonrevflg1N100()
{
}
/**
* source:ditopn.@0126.script
*
*/
function checkDidgrpApcPtsYouzbmN1002()
{
}
/**
* source:ditopn.@0130.script
*
*/
function checkDidgrpBenPtsYouzbmN1004()
{
}
/**
* source:ditopn.@0027.script
*
*/
function checkDidgrpRecOpndatN100()
{
}
/**
* source:ditp.@0028.script
* ditp
*/
function checkDidgrpRecOpndatN950()
{
}
/**
* source:ditopn.@0030.script
*
*/
function checkDidgrpRecAvbbyN100()
{
}
/**
* source:ditp.@0077.script
* ditp
*/
function checkDidgrpRecMytypeN100()
{
}
/**
* source:ditp.@0012.script
* ditp
*/
function checkDitpUsrExtkeyN100()
{
}
/**
* source:ptsget.@0001.script
* liaall.limmod.wrkp.ptsget
*/
function checkLiaallLimmodWrkpPtsgetSdamodDadsndN100()
{
}
/**
* source:didget.@0001.script
* ditp.recget
*/
function checkDitpRecgetSdamodDadsndN100()
{
}
/**
* source:ditopn.@0127.script
*
*/
function checkDidgrpApcPtsDihdigN1002()
{
}
/**
* source:ditopn.@0022.script
*
*/
function checkDidgrpAdvPtsExtkeyN100()
{
}
/**
* source:ptsget.@0009.script
* ditp.advp.ptsget
*/
function checkDidgrpAdvPtsExtkeyN950()
{
}
/**
* source:ptsp.@0013.script
* ditp.advp
*/
function checkDidgrpAdvPtsExtkeyN960()
{
}
/**
* source:ptsp.@0038.script
* ditp.rmbp
*/
function checkDidgrpRmbNamelcN100()
{
}
/**
* source:setmod.@0016.script
* setmod
*/
function checkSetmodDocamtN100()
{
}
/**
* source:liaall.@0036.script
* liaall
*/
function checkSetmodDocamtN15000()
{
}
/**
* source:ditopn.@0129.script
*
*/
function checkDidgrpAdvPtsDihdigN1003()
{
}
/**
* source:ditopn.@0003.script
*
*/
function checkDidgrpRecExpdatN100()
{
}
/**
* source:ptsget.@0009.script
* ditp.benp.ptsget
*/
function checkDidgrpBenPtsExtkeyN950()
{
}
/**
* source:ptsp.@0013.script
* ditp.benp
*/
function checkDidgrpBenPtsExtkeyN960()
{
}
/**
* source:liaccv.@0025.script
* liaall.liaccv
*/
function checkLiaallLiaccvCshpctN100()
{
}
/**
* source:ditp.@0024.script
* ditp
*/
function checkDidgrpRecAvbwthN100()
{
}
/**
* source:ditp.@0046.script
* ditp
*/
function checkDidgrpRecAvbwthN900()
{
}
/**
* source:txmmod.@0009.script
* ditp.lcrdoc
*/
function checkDidgrpBlkLcrdocN100()
{
}
/**
* source:ditopn.@0110.script
*
*/
function checkDidgrpBlkLcrdocN100()
{
}
/**
* source:ditp.@0101.script
* ditp
*/
function checkDidgrpBlkLcrdocN1001()
{
}
/**
* source:ditopn.@0044.script
*
*/
function checkDidgrpRecTenmaxdayN1000()
{
}
/**
* source:ditp.@0049.script
* ditp
*/
function checkDidgrpRecTenmaxdayN1050()
{
}
/**
* source:ditopn.@0006.script
*
*/
function checkDidgrpCbsNom1AmtN100()
{
}
/**
* source:txmmod.@0009.script
* ditp.preper
*/
function checkDidgrpBlkPreperN100()
{
}
/**
* source:ditp.@0083.script
* ditp
*/
function checkDidgrpBlkPreperN100()
{
}
/**
* source:ptsp.@0039.script
* ditp.aplp
*/
function checkDidgrpAplAdrelcN100()
{
}
/**
* source:ptsget.@0001.script
* ditp.rmbp.ptsget
*/
function checkDitpRmbpPtsgetSdamodDadsndN100()
{
}
/**
* source:ditopn.@0132.script
*
*/
function checkDidgrpBenPtsExtactN1001()
{
}
/**
* source:txmmod.@0009.script
* ditp.adlcnd
*/
function checkDidgrpBlkAdlcndN100()
{
}
/**
* source:ditp.@0102.script
* ditp
*/
function checkDidgrpBlkAdlcndN100()
{
}
/**
* source:ditopn.@0090.script
*
*/
function checkLitameadvN100()
{
}
/**
* source:liaccv.@0024.script
* liaall.liaccv
*/
function checkLiaallLiaccvRelcshpctN100()
{
}
......@@ -2,6 +2,7 @@
/**
* Ditopn Default规则
*/
import Api from "~/service/Api";
export default {
"didgrp.rec.resflg" :defaultDidgrpRecResflg,
......@@ -118,1223 +119,334 @@ export default {
}
function defaultDidgrpRecResflg()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecResflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultMtabutConinfUsrExtkey()
{
<#!--
if(!ditopn.getTrnmod().defaultMtabutConinfUsrExtkeyN100(ctx,100) )
{
return false;
}
if(!ditopn.getMtabut().getConinf().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpApcPtsBankno()
{
<#!--
if(!ditopn.getDitp().getApcp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
if(!ditopn.getDitp().defaultDidgrpApcPtsBanknoN1002(ctx,1002) )
{
return false;
}
return true;
--#>
}
function defaultTrnmodTrndocAdvnam()
{
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAdvnamN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpRmbpDet()
{
<#!--
if(!ditopn.getDitp().getRmbp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsOthPtsNam()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getOthp().defaultPtsptaPtsNamN1500(ctx,1500) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRmbPtsExtkey()
{
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultSetmodDspflg()
{
<#!--
if(!ditopn.getSetmod().defaultDspflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodOthpDet()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getOthp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultMtabutConinfOitinfLabinftxt()
{
<#!--
if(!ditopn.getMtabut().getConinf().getOitinf().defaultLabinftxtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultMtabutConinfOitsetLabinftxt()
{
<#!--
if(!ditopn.getMtabut().getConinf().getOitset().defaultLabinftxtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpBenpDet()
{
<#!--
if(!ditopn.getDitp().getBenp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsLsh()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsLshN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecBdflg()
{
<#!--
if(!ditopn.defaultDidgrpRecBdflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpLcrgodButtxmsel()
{
<#!--
if(!ditopn.getDitp().getLcrgod().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecOpndat()
{
<#!--
if(!ditopn.defaultDidgrpRecOpndatN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodWrkpDet()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getWrkp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpUsrExtkey()
{
<#!--
if(!ditopn.getDitp().defaultUsrgetUsrExtkeyN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodWrkpPtsgetSdamodDadsnd()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getWrkp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpButgetref()
{
<#!--
if(!ditopn.getDitp().defaultButgetrefN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBenPtsExtkey()
{
<#!--
if(!ditopn.getDitp().getBenp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBlkLcrdoc()
{
<#!--
if(!ditopn.getDidgrp().defaultBlkLcrdocN100(ctx,100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkLcrdocN100(ctx,100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkLcrdocN200(ctx,200) )
{
return false;
}
return true;
--#>
}
function defaultDitpRmbpPtsgetSdamodDadsnd()
{
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLitameadv()
{
<#!--
if(!ditopn.defaultLitameadvN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBlkAdlcnd()
{
<#!--
if(!ditopn.getDidgrp().defaultBlkAdlcndN100(ctx,100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkAdlcndN9000(ctx,9000) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpAplPtsRef()
{
<#!--
if(!ditopn.getDitp().getAplp().defaultPtsptaPtsRefN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecFqtime()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecFqtimeN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpCmbPtsBankno()
{
<#!--
if(!ditopn.getDitp().getCmbp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodOthpPtsgetSdamodDadsnd()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getOthp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpApbPtsBankno()
{
<#!--
if(!ditopn.getDitp().getApbp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
if(!ditopn.getDitp().defaultDidgrpApbPtsBanknoN1001(ctx,1001) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecRedclsflg()
{
<#!--
if(!ditopn.getDitp().getDitp0().defaultDidgrpRecRedclsflgN1100(ctx,1100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecConcur()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecConcurN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodTrycal()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultTrycalN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultTrnmodTrndocAdvlabel()
{
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAdvlabelN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvDel()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultDelN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpIssPtsBankno()
{
<#!--
if(!ditopn.getDitp().getIssp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultLiaallButmissig()
{
<#!--
if(!ditopn.getLiaall().defaultButmissigN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpRevclauseButtxmsel()
{
<#!--
if(!ditopn.getDitp().getRevclause().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpCbsNom1Cur()
{
<#!--
if(!ditopn.defaultDidgrpCbsNom1CurN100(ctx,100) )
{
return false;
}
if(!ditopn.defaultDidgrpCbsNom1CurN1100(ctx,1100) )
{
return false;
}
return true;
--#>
}
function defaultSetmodZmqacc()
{
<#!--
if(!ditopn.getSetmod().defaultZmqaccN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpAmt()
{
<#!--
if(!ditopn.getDitp().defaultAmtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecMytype()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecMytypeN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultSetmodXreflg()
{
<#!--
if(!ditopn.getSetmod().defaultXreflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecAvbwth()
{
<#!--
if(!ditopn.defaultDidgrpRecAvbwthN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRmbPtsRef()
{
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsptaPtsRefN900(ctx,900) )
{
return false;
}
if(!ditopn.getDitp().defaultDidgrpRmbPtsRefN2000(ctx,2000) )
{
return false;
}
return true;
--#>
}
function defaultMtabutConinfOitinfOitInflev()
{
<#!--
if(!ditopn.getMtabut().getConinf().defaultOitinfOitInflevN100(ctx,100) )
{
return false;
}
if(!ditopn.getMtabut().getConinf().getOitinf().defaultOitInflevN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvRelcshpct()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultRelcshpctN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecExpplc()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecExpplcN100(ctx,100) )
{
return false;
}
if(!ditopn.getDidgrp().defaultRecExpplcN1100(ctx,1100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpAdvPtsBankno()
{
<#!--
if(!ditopn.getDitp().getAdvp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBenPtsRef()
{
<#!--
if(!ditopn.getDitp().getBenp().defaultPtsptaPtsRefN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecSdsrfs()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecSdsrfsN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultTrnmodTrndocAdvdoc()
{
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAdvdocN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvNewamt()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultNewamtN100(ctx,100) )
{
return false;
}
if(!ditopn.getLiaall().getLiaccv().defaultNewamtN2000(ctx,2000) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecShppar()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecShpparN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsPfcod2()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getLimpts().defaultPfcod2N100(ctx,100) )
{
return false;
}
if(!ditopn.getLiaall().getLimmod().defaultLimptsPfcod2N1002(ctx,1002) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsPfcod1()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getLimpts().defaultPfcod1N100(ctx,100) )
{
return false;
}
if(!ditopn.getLiaall().getLimmod().defaultLimptsPfcod1N1002(ctx,1002) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpAplPtsExtkey()
{
<#!--
if(!ditopn.defaultDidgrpAplPtsExtkeyN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().getAplp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBlkDefdet()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpBlkDefdetN100(ctx,100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkDefdetN500(ctx,500) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkDefdetN1050(ctx,1050) )
{
return false;
}
if(!ditopn.getDidgrp().defaultBlkDefdetN1100(ctx,1100) )
{
return false;
}
if(!ditopn.getDitp().defaultDidgrpBlkDefdetN2000(ctx,2000) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBlkInsbnk()
{
<#!--
if(!ditopn.getDidgrp().defaultBlkInsbnkN1100(ctx,1100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkInsbnkN1110(ctx,1110) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvTotcovamt()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultTotcovamtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpAplname()
{
<#!--
if(!ditopn.getDitp().defaultAplnameN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecGuaflg()
{
<#!--
if(!ditopn.defaultDidgrpRecGuaflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsWrkPtsNam()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getWrkp().defaultPtsptaPtsNamN1500(ctx,1500) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvGleflg()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultGleflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpPreperButtxmsel()
{
<#!--
if(!ditopn.getDitp().getPreper().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvNewresamt()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultNewresamtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBlkLcrgod()
{
<#!--
if(!ditopn.getDidgrp().defaultBlkLcrgodN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecAutdat()
{
<#!--
if(!ditopn.defaultDidgrpRecAutdatN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecIdcode()
{
<#!--
if(!ditopn.defaultDidgrpRecIdcodeN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecDkflg()
{
<#!--
if(!ditopn.defaultDidgrpRecDkflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRmbPtsAdrblk()
{
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsptaPtsAdrblkN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultSetmodZmqacclab()
{
<#!--
if(!ditopn.getSetmod().defaultZmqacclabN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecShptrs()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecShptrsN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpAplpDet()
{
<#!--
if(!ditopn.getDitp().getAplp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpAdvPtsExtkey()
{
<#!--
if(!ditopn.getDitp().getAdvp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsGet2()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsGet2N100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpAdlcndButtxmsel()
{
<#!--
if(!ditopn.getDitp().getAdlcnd().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsGet1()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsGet1N100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultBchname()
{
<#!--
if(!ditopn.defaultBchnameN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecTenmaxday()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecTenmaxdayN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpRemark()
{
<#!--
if(!ditopn.defaultDitpRemarkN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsOthPtsExtkey()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getOthp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecNam()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecNamN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultLiaallButmisamt()
{
<#!--
if(!ditopn.getLiaall().defaultButmisamtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodEcifno()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultEcifnoN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvChgcurflg()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultChgcurflgN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpInsbnkButtxmsel()
{
<#!--
if(!ditopn.getDitp().getInsbnk().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultDitpBenpPtsgetSdamodDadsnd()
{
<#!--
if(!ditopn.getDitp().getBenp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpIssPtsExtkey()
{
<#!--
if(!ditopn.getDitp().getIssp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecFqzytgfw()
{
<#!--
if(!ditopn.getDitp().defaultDidgrpRecFqzytgfwN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpAplpPtsgetSdamodDadsnd()
{
<#!--
if(!ditopn.getDitp().getAplp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpAvbPtsBankno()
{
<#!--
if(!ditopn.getDitp().getAvbp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRmbPtsBankno()
{
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultTrnmodTrndocAmdapl()
{
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAmdaplN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvPctresamt()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultPctresamtN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDitpLcrdocButtxmsel()
{
<#!--
if(!ditopn.getDitp().getLcrdoc().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultMtabutConinfOitsetOitInflev()
{
<#!--
if(!ditopn.getMtabut().getConinf().defaultOitsetOitInflevN100(ctx,100) )
{
return false;
}
if(!ditopn.getMtabut().getConinf().getOitset().defaultOitInflevN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultDitpDefdetButtxmsel()
{
<#!--
if(!ditopn.getDitp().getDefdet().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBebPtsBankno()
{
<#!--
if(!ditopn.getDitp().getBebp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpAplPtsAdrblk()
{
<#!--
if(!ditopn.getDitp().getAplp().defaultPtsptaPtsAdrblkN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().getDitp0().defaultDidgrpAplPtsAdrblkN1003(ctx,1003) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpRecLcrtyp()
{
<#!--
if(!ditopn.defaultDidgrpRecLcrtypN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsWrkPtsExtkey()
{
<#!--
if(!ditopn.getLiaall().getLimmod().getWrkp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
}
function defaultMtabutConinfConexedat()
{
<#!--
if(!ditopn.getMtabut().getConinf().defaultConexedatN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBenPtsAdrblk()
{
<#!--
if(!ditopn.getDitp().getBenp().defaultPtsptaPtsAdrblkN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().getDitp0().defaultDidgrpBenPtsAdrblkN1002(ctx,1002) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsNonrevflg2()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsNonrevflg2N100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLimmodLimptsNonrevflg1()
{
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsNonrevflg1N100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvAddinf()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultAddinfN100(ctx,100) )
{
return false;
}
if(!ditopn.getLiaall().getLiaccv().defaultAddinfN1002(ctx,1002) )
{
return false;
}
return true;
--#>
}
function defaultTrnmodTrndocAmdnam()
{
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAmdnamN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultLiaallLiaccvCshpct()
{
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultCshpctN100(ctx,100) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpBlkPreper()
{
<#!--
if(!ditopn.defaultDidgrpBlkPreperN10(ctx,10) )
{
return false;
}
if(!ditopn.getDidgrp().defaultBlkPreperN1100(ctx,1100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkPreperN1200(ctx,1200) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkPreperN1300(ctx,1300) )
{
return false;
}
return true;
--#>
}
function defaultDidgrpCbsMaxAmt()
{
<#!--
if(!ditopn.defaultDidgrpCbsMaxAmtN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().defaultDidgrpCbsMaxAmtN950(ctx,950) )
{
return false;
}
return true;
--#>
}
......@@ -336,7 +336,5 @@ export default {
}
})
},
onSeainf(){
},
}
\ No newline at end of file
import Pts from '../Public/Pts'
import Api from "~/service/Api";
export default class Ditopn{
constructor () {
this.data = {
didgrp:{
rec:{
ownref:"", // Reference .didgrp.rec.ownref
opndat:"", // Date L/C Opened/Issued .didgrp.rec.opndat
shpdat:"", // Shipment Date .didgrp.rec.shpdat
expdat:"", // Date of Expiry .didgrp.rec.expdat
nam:"", // Externally Displayed Name to Identify the Contract .didgrp.rec.nam
resflg:"", // Reserved Contract .didgrp.rec.resflg
nomtop:"", // Amount Tolerance - Positive .didgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .didgrp.rec.nomton
expplc:"", // Place of Expiry .didgrp.rec.expplc
elcflg:"", // 是否通过电证系统 .didgrp.rec.elcflg
guaflg:"", // 货押标识 .didgrp.rec.guaflg
jyqflg:"", // 假远期信用证 .didgrp.rec.jyqflg
mytype:"", // 槸易类型 .didgrp.rec.mytype
dkflg:"", // 开证类型 .didgrp.rec.dkflg
idcode:"", // 申请人统一社会信用代码 .didgrp.rec.idcode
revtyp:"", // Revolving Type .didgrp.rec.revtyp
revtimes:"", // Revolve Times .didgrp.rec.revtimes
revnbr:"", // Number of Revolvings under L/C .didgrp.rec.revnbr
revdat:"", // Next Revolve Date .didgrp.rec.revdat
revawapl:"", // Awaiting Applicant's Request .didgrp.rec.revawapl
revcum:"", // Credit is Marked as Cumulative .didgrp.rec.revcum
redclsflg:"", // Red/Green Clause .didgrp.rec.redclsflg
rmbcha:"", // Charges Definition .didgrp.rec.rmbcha
rmbact:"", // Reimbursing Bank Account Identification .didgrp.rec.rmbact
apprulrmb:"", // Applicable Rules RMB .didgrp.rec.apprulrmb
autdat:"", // Date of Authorisation to Reimburse .didgrp.rec.autdat
avbby:"", // Available by .didgrp.rec.avbby
shppar:"", // Partial Shipment .didgrp.rec.shppar
shptrs:"", // Transshipment .didgrp.rec.shptrs
conno:"", // 合同编号 .didgrp.rec.conno
concur:"", // 合同币种 .didgrp.rec.concur
shpfro:"", // Shipment from .didgrp.rec.shpfro
shpto:"", // For Transportation to .didgrp.rec.shpto
shppro:"", // 服务提供地点 .didgrp.rec.shppro
tenmaxday:"", // Maximum tenor in days .didgrp.rec.tenmaxday
tratyp:"", // 运输方式 .didgrp.rec.tratyp
fqtime:"", // 分期时镧表 .didgrp.rec.fqtime
sdsrfs:"", // 输入运输方式 .didgrp.rec.sdsrfs
fqzytgfw:"", // 分期装运/提供服务 .didgrp.rec.fqzytgfw
conamt:"", // 合同金额 .didgrp.rec.conamt
tzref:"", // 通知行编号 .didgrp.rec.tzref
avbwth:"", // 指定的有关银行 .didgrp.rec.avbwth
fenctg:"", // 是否可议付 .didgrp.rec.fenctg
bdflg:"", // 是否可保兑 .didgrp.rec.bdflg
lcrtyp:"", // Form of Documentary Credit .didgrp.rec.lcrtyp
},
cbs:{
nom1:{
cur:"", // Currency .didgrp.cbs.nom1.cur
amt:"", // 信用证金额 .didgrp.cbs.nom1.amt
},
max:{
cur:"", // Currency .didgrp.cbs.max.cur
amt:"", // 信用证最大金额 .didgrp.cbs.max.amt
},
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .didgrp.apl.namelc
adrelc:"", // 地址 .didgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .didgrp.apl.dbfadrblkcn
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .didgrp.ben.namelc
adrelc:"", // 地址 .didgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .didgrp.ben.dbfadrblkcn
},
beb:{
pts:new Pts().data,
},
apb:{
pts:new Pts().data,
},
blk:{
revcls:"", // Revolving Clause .didgrp.blk.revcls
revnotes:"", // Notes to Applicant .didgrp.blk.revnotes
lcrgod:"", // Description of Goods .didgrp.blk.lcrgod
lcrdoc:"", // 单据要求 .didgrp.blk.lcrdoc
adlcnd:"", // 附加条款 .didgrp.blk.adlcnd
insbnk:"", // 付行的指示 .didgrp.blk.insbnk
rmbcha:"", // Other Charges .didgrp.blk.rmbcha
defdet:"", // Deferred Payment Details .didgrp.blk.defdet
preper:"", // Presentation Period .didgrp.blk.preper
preperflg:"", // Presentation Period modified .didgrp.blk.preperflg
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .didgrp.rmb.namelc
adrelc:"", // 地址 .didgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .didgrp.rmb.dbfadrblkcn
},
adv:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
apc:{
pts:new Pts().data,
},
avb:{
pts:new Pts().data,
},
cmb:{
pts:new Pts().data,
},
},
ditp:{
recget:{
sdamod:{
seainf:"", // .ditp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .ditp.recget.sdamod.dadsnd
},
},
usr:{
extkey:"", // User ID .ditp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .ditp.usrget.sdamod.seainf
},
},
aplp:{
ptsget:{
sdamod:{
seainf:"", // .ditp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .ditp.aplp.ptsget.sdamod.dadsnd
},
},
},
benp:{
ptsget:{
sdamod:{
seainf:"", // .ditp.benp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .ditp.benp.ptsget.sdamod.dadsnd
},
},
},
zchday:"", // 最迟装运/服务提供日 .ditp.zchday
amt:"", // 大写金额 .ditp.amt
hwfwms:"", // 槧物/服务描述 .ditp.hwfwms
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .ditp.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .ditp.rmbp.ptsget.sdamod.dadsnd
},
},
},
rmbnar:"", // MT747 :77A: .ditp.rmbnar
fenzhu:"", // 分期装运 .ditp.fenzhu
hwzydi:"", // 槧运装运地/服务提供低 .ditp.hwzydi
sdysfs:"", // 手输运输方式/服务提供方式 .ditp.sdysfs
signam:"", // name of authorized signatory .ditp.signam
bennam:"", // english name .ditp.bennam
aplname:"", // apl english name .ditp.aplname
remark:"", // Remark .ditp.remark
},
litbenl1blk:"", // XMLPanel litbenl1的内置block .litbenl1blk
litapll1blk:"", // XMLPanel litapll1的内置block .litapll1blk
litrmbl1blk:"", // XMLPanel litrmbl1的内置block .litrmbl1blk
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
liaccv:{
newamt:"", // 合同金额 .liaall.liaccv.newamt
concur:"", // 应付保证金金额 .liaall.liaccv.concur
totcovamt:"", // 金额总和 .liaall.liaccv.totcovamt
newresamt:"", // Reserved Amount .liaall.liaccv.newresamt
addinf:"", // Additional Information .liaall.liaccv.addinf
cshpct:"", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct:"", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg:"", // Create gle flag .liaall.liaccv.gleflg
chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt
},
},
litameadv:"", // 特殊规定 .litameadv
ameadvrmk:"", // 特殊规定条件 .ameadvrmk
godnam:"", // 槧物简称 .godnam
bchname:"", // branch name .bchname
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
},
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
constructor () {
this.data = {
didgrp:{
rec:{
ownref:"", // Reference .didgrp.rec.ownref
opndat:"", // Date L/C Opened/Issued .didgrp.rec.opndat
shpdat:"", // Shipment Date .didgrp.rec.shpdat
expdat:"", // Date of Expiry .didgrp.rec.expdat
nam:"", // Externally Displayed Name to Identify the Contract .didgrp.rec.nam
resflg:"", // Reserved Contract .didgrp.rec.resflg
nomtop:"", // Amount Tolerance - Positive .didgrp.rec.nomtop
nomton:"", // Amount Tolerance - Negative .didgrp.rec.nomton
expplc:"", // Place of Expiry .didgrp.rec.expplc
elcflg:"", // 是否通过电证系统 .didgrp.rec.elcflg
guaflg:"", // 货押标识 .didgrp.rec.guaflg
jyqflg:"", // 假远期信用证 .didgrp.rec.jyqflg
mytype:"", // 槸易类型 .didgrp.rec.mytype
dkflg:"", // 开证类型 .didgrp.rec.dkflg
idcode:"", // 申请人统一社会信用代码 .didgrp.rec.idcode
revtyp:"", // Revolving Type .didgrp.rec.revtyp
revtimes:"", // Revolve Times .didgrp.rec.revtimes
revnbr:"", // Number of Revolvings under L/C .didgrp.rec.revnbr
revdat:"", // Next Revolve Date .didgrp.rec.revdat
revawapl:"", // Awaiting Applicant's Request .didgrp.rec.revawapl
revcum:"", // Credit is Marked as Cumulative .didgrp.rec.revcum
redclsflg:"", // Red/Green Clause .didgrp.rec.redclsflg
rmbcha:"", // Charges Definition .didgrp.rec.rmbcha
rmbact:"", // Reimbursing Bank Account Identification .didgrp.rec.rmbact
apprulrmb:"", // Applicable Rules RMB .didgrp.rec.apprulrmb
autdat:"", // Date of Authorisation to Reimburse .didgrp.rec.autdat
avbby:"", // Available by .didgrp.rec.avbby
shppar:"", // Partial Shipment .didgrp.rec.shppar
shptrs:"", // Transshipment .didgrp.rec.shptrs
conno:"", // 合同编号 .didgrp.rec.conno
concur:"", // 合同币种 .didgrp.rec.concur
shpfro:"", // Shipment from .didgrp.rec.shpfro
shpto:"", // For Transportation to .didgrp.rec.shpto
shppro:"", // 服务提供地点 .didgrp.rec.shppro
tenmaxday:"", // Maximum tenor in days .didgrp.rec.tenmaxday
tratyp:"", // 运输方式 .didgrp.rec.tratyp
fqtime:"", // 分期时镧表 .didgrp.rec.fqtime
sdsrfs:"", // 输入运输方式 .didgrp.rec.sdsrfs
fqzytgfw:"", // 分期装运/提供服务 .didgrp.rec.fqzytgfw
conamt:"", // 合同金额 .didgrp.rec.conamt
tzref:"", // 通知行编号 .didgrp.rec.tzref
avbwth:"", // 指定的有关银行 .didgrp.rec.avbwth
fenctg:"", // 是否可议付 .didgrp.rec.fenctg
bdflg:"", // 是否可保兑 .didgrp.rec.bdflg
lcrtyp:"", // Form of Documentary Credit .didgrp.rec.lcrtyp
},
cbs:{
nom1:{
cur:"", // Currency .didgrp.cbs.nom1.cur
amt:"", // 信用证金额 .didgrp.cbs.nom1.amt
},
max:{
cur:"", // Currency .didgrp.cbs.max.cur
amt:"", // 信用证最大金额 .didgrp.cbs.max.amt
},
},
apl:{
pts:new Pts().data,
namelc:"", // 名称 .didgrp.apl.namelc
adrelc:"", // 地址 .didgrp.apl.adrelc
dbfadrblkcn:"", // Chinese address .didgrp.apl.dbfadrblkcn
},
ben:{
pts:new Pts().data,
namelc:"", // 名称 .didgrp.ben.namelc
adrelc:"", // 地址 .didgrp.ben.adrelc
dbfadrblkcn:"", // Chinese address .didgrp.ben.dbfadrblkcn
},
beb:{
pts:new Pts().data,
},
apb:{
pts:new Pts().data,
},
blk:{
revcls:"", // Revolving Clause .didgrp.blk.revcls
revnotes:"", // Notes to Applicant .didgrp.blk.revnotes
lcrgod:"", // Description of Goods .didgrp.blk.lcrgod
lcrdoc:"", // 单据要求 .didgrp.blk.lcrdoc
adlcnd:"", // 附加条款 .didgrp.blk.adlcnd
insbnk:"", // 付行的指示 .didgrp.blk.insbnk
rmbcha:"", // Other Charges .didgrp.blk.rmbcha
defdet:"", // Deferred Payment Details .didgrp.blk.defdet
preper:"", // Presentation Period .didgrp.blk.preper
preperflg:"", // Presentation Period modified .didgrp.blk.preperflg
},
rmb:{
pts:new Pts().data,
namelc:"", // 名称 .didgrp.rmb.namelc
adrelc:"", // 地址 .didgrp.rmb.adrelc
dbfadrblkcn:"", // Chinese address .didgrp.rmb.dbfadrblkcn
},
adv:{
pts:new Pts().data,
},
iss:{
pts:new Pts().data,
},
apc:{
pts:new Pts().data,
},
avb:{
pts:new Pts().data,
},
cmb:{
pts:new Pts().data,
},
},
ditp:{
recget:{
sdamod:{
seainf:"", // .ditp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .ditp.recget.sdamod.dadsnd
},
},
usr:{
extkey:"", // User ID .ditp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .ditp.usrget.sdamod.seainf
},
},
aplp:{
ptsget:{
sdamod:{
seainf:"", // .ditp.aplp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .ditp.aplp.ptsget.sdamod.dadsnd
},
},
},
benp:{
ptsget:{
sdamod:{
seainf:"", // .ditp.benp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .ditp.benp.ptsget.sdamod.dadsnd
},
},
},
zchday:"", // 最迟装运/服务提供日 .ditp.zchday
amt:"", // 大写金额 .ditp.amt
hwfwms:"", // 槧物/服务描述 .ditp.hwfwms
rmbp:{
ptsget:{
sdamod:{
seainf:"", // .ditp.rmbp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .ditp.rmbp.ptsget.sdamod.dadsnd
},
},
},
rmbnar:"", // MT747 :77A: .ditp.rmbnar
fenzhu:"", // 分期装运 .ditp.fenzhu
hwzydi:"", // 槧运装运地/服务提供低 .ditp.hwzydi
sdysfs:"", // 手输运输方式/服务提供方式 .ditp.sdysfs
signam:"", // name of authorized signatory .ditp.signam
bennam:"", // english name .ditp.bennam
aplname:"", // apl english name .ditp.aplname
remark:"", // Remark .ditp.remark
},
litbenl1blk:"", // XMLPanel litbenl1的内置block .litbenl1blk
litapll1blk:"", // XMLPanel litapll1的内置block .litapll1blk
litrmbl1blk:"", // XMLPanel litrmbl1的内置block .litrmbl1blk
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
},
liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
liaccv:{
newamt:"", // 合同金额 .liaall.liaccv.newamt
concur:"", // 应付保证金金额 .liaall.liaccv.concur
totcovamt:"", // 金额总和 .liaall.liaccv.totcovamt
newresamt:"", // Reserved Amount .liaall.liaccv.newresamt
addinf:"", // Additional Information .liaall.liaccv.addinf
cshpct:"", // 保证金应收比例 .liaall.liaccv.cshpct
relcshpct:"", // 保证金实收比例 .liaall.liaccv.relcshpct
gleflg:"", // Create gle flag .liaall.liaccv.gleflg
chgcurflg:"", // Change currency flag .liaall.liaccv.chgcurflg
pctresamt:"", // reserve amount based percent .liaall.liaccv.pctresamt
},
},
litameadv:"", // 特殊规定 .litameadv
ameadvrmk:"", // 特殊规定条件 .ameadvrmk
godnam:"", // 槧物简称 .godnam
bchname:"", // branch name .bchname
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
},
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
}
}
}
}
\ No newline at end of file
......@@ -2,204 +2,79 @@
/**
* Office Default规则
*/
import Api from "~/service/Api";
export default {
"hotavi" :defaultHotavi,
"hotcalc" :defaultHotcalc,
"hotadr" :defaultHotadr,
"hotrat" :defaultHotrat,
"hotdr4l" :defaultHotdr4l,
"hotdr4r" :defaultHotdr4r,
"hotcalc" :defaultHotcalc,
"hotavi" :defaultHotavi,
"hotdr5l" :defaultHotdr5l,
"hotdr5r" :defaultHotdr5r,
"hotdr6r" :defaultHotdr6r,
"hotdr1l" :defaultHotdr1l,
"hotdr5r" :defaultHotdr5r,
"hotdr1r" :defaultHotdr1r,
"hotdr6r" :defaultHotdr6r,
"hotdr2l" :defaultHotdr2l,
"hotdr2r" :defaultHotdr2r,
"dattd" :defaultDattd,
"hotrat" :defaultHotrat,
"hotdr3l" :defaultHotdr3l,
"hotdr3r" :defaultHotdr3r,
"hotsta" :defaultHotsta,
"hotstd" :defaultHotstd,
"dattd" :defaultDattd,
}
function defaultHotavi()
function defaultHotadr()
{
<!--
if(!office.defaultHotaviN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotcalc()
function defaultHotdr4l()
{
<!--
if(!office.defaultHotcalcN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotadr()
function defaultHotdr4r()
{
<!--
if(!office.defaultHotadrN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotrat()
function defaultHotcalc()
{
<!--
if(!office.defaultHotratN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr4l()
function defaultHotavi()
{
<!--
if(!office.defaultHotdr4lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr4r()
function defaultHotdr5l()
{
<!--
if(!office.defaultHotdr4rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr5l()
function defaultHotdr1l()
{
<!--
if(!office.defaultHotdr5lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr5r()
{
<!--
if(!office.defaultHotdr5rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr1r()
{
}
function defaultHotdr6r()
{
<!--
if(!office.defaultHotdr6rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr1l()
function defaultHotdr2l()
{
<!--
if(!office.defaultHotdr1lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr1r()
function defaultHotdr2r()
{
<!--
if(!office.defaultHotdr1rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr2l()
function defaultDattd()
{
<!--
if(!office.defaultHotdr2lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr2r()
function defaultHotrat()
{
<!--
if(!office.defaultHotdr2rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr3l()
{
<!--
if(!office.defaultHotdr3lN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotdr3r()
{
<!--
if(!office.defaultHotdr3rN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotsta()
{
<!--
if(!office.defaultHotstaN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultHotstd()
{
<!--
if(!office.defaultHotstdN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultDattd()
{
<!--
if(!office.defaultDattdN100(ctx,100) )
{
return false;
}
return true;
-->
}
import Api from "~/service/Api"
export default {
}
\ No newline at end of file
import Api from "~/service/Api";
export default class Office{
constructor () {
this.data = {
......
......@@ -2,140 +2,47 @@
/**
* Sptsel Default规则
*/
import Api from "~/service/Api";
export default {
"sptstm" :defaultSptstm,
"dlaxq" :defaultDlaxq,
"usfmod.labtxt" :defaultUsfmodLabtxt,
"usfmod.flt" :defaultUsfmodFlt,
"usfmod.shwflt" :defaultUsfmodShwflt,
"dlmft" :defaultDlmft,
"butimg" :defaultButimg,
"dflg" :defaultDflg,
"dlmft" :defaultDlmft,
"yptinf" :defaultYptinf,
"usfmod.flt" :defaultUsfmodFlt,
"sptstm" :defaultSptstm,
"dlaxq" :defaultDlaxq,
"usfmod.usr.extkey" :defaultUsfmodUsrExtkey,
"usfmod.shwflt" :defaultUsfmodShwflt,
}
function defaultUsfmodLabtxt()
function defaultSptstm()
{
<!--
if(!sptsel.getUsfmod().defaultLabtxtN100(ctx,100) )
{
return false;
}
if(!sptsel.getUsfmod().defaultLabtxtN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultButimg()
function defaultDlaxq()
{
<!--
if(!sptsel.defaultButimgN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultDflg()
function defaultUsfmodLabtxt()
{
<!--
if(!sptsel.defaultDflgN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultDlmft()
function defaultUsfmodFlt()
{
<!--
if(!sptsel.defaultDlmftN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultYptinf()
function defaultUsfmodShwflt()
{
<!--
if(!sptsel.defaultYptinfN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultUsfmodFlt()
function defaultDlmft()
{
<!--
if(!sptsel.defaultUsfmodFltN100(ctx,100) )
{
return false;
}
if(!sptsel.getUsfmod().defaultFltN1200(ctx,1200) )
{
return false;
}
if(!sptsel.getUsfmod().defaultFltN1200(ctx,1200) )
{
return false;
}
return true;
-->
}
function defaultSptstm()
function defaultButimg()
{
<!--
if(!sptsel.defaultSptstmN100(ctx,100) )
{
return false;
}
if(!sptsel.defaultSptstmN801(ctx,801) )
{
return false;
}
return true;
-->
}
function defaultDlaxq()
function defaultDflg()
{
<!--
if(!sptsel.defaultDlaxqN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultUsfmodUsrExtkey()
function defaultYptinf()
{
<!--
if(!sptsel.getUsfmod().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
if(!sptsel.getUsfmod().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
return true;
-->
}
function defaultUsfmodShwflt()
function defaultUsfmodUsrExtkey()
{
<!--
if(!sptsel.getUsfmod().defaultShwfltN100(ctx,100) )
{
return false;
}
if(!sptsel.getUsfmod().defaultShwfltN100(ctx,100) )
{
return false;
}
return true;
-->
}
......@@ -80,7 +80,5 @@ export default {
}
})
},
tabClick(){
}
}
\ No newline at end of file
export default {
"selobj":[
{type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"}
......@@ -8,6 +16,8 @@ export default {
{max: 32,message:"长度不能超过32"}
],
"inidatfro":[
{type: "date", required: false, message: "输入正确的日期"}
],
......@@ -15,16 +25,20 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"usfmod.usr.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"}
],
"usfmod.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"sptstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
......@@ -33,4 +47,8 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"}
],
}
\ No newline at end of file
import Api from "~/service/Api";
export default class Sptsel{
constructor () {
this.data = {
chkinc:"", // Incoming .chkinc
chkpen:"", // Pending .chkpen
chkcor:"", // Correction .chkcor
chkaut:"", // Automatic .chkaut
selobj:"", // Reference .selobj
seltxt:"", // Selection Name .seltxt
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
flt:"", // Filter .usfmod.flt
selusg:"", // Selected User Group .usfmod.selusg
selusgset:"", // Selected User Group Set .usfmod.selusgset
usr:{
extkey:"", // User ID .usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .usfmod.selusb
},
chkdel:"", // Deleted .chkdel
sptstm:"", // List of SPT records .sptstm
yptinf:"", // 退回原因 .yptinf
chkypt:"", // 云平台 .chkypt
inidatfro:"", // Date of entry of Transaction .inidatfro
inidattil:"", // Date of entry of Transaction until .inidattil
routxt:"", // 已转报 .routxt
dflg:"", // 国内国际标志 .dflg
chktco:"", // 网银 .chktco
chkcan:"", // 归档 .chkcan
chkdzt:"", // E-Trade .chkdzt
constructor () {
this.data = {
chkinc:"", // Incoming .chkinc
chkpen:"", // Pending .chkpen
chkcor:"", // Correction .chkcor
chkaut:"", // Automatic .chkaut
selobj:"", // Reference .selobj
seltxt:"", // Selection Name .seltxt
usfmod:{
labtxt:"", // Text of Label .usfmod.labtxt
usftxt:"", // Text of Selection Text .usfmod.usftxt
flt:"", // Filter .usfmod.flt
selusg:"", // Selected User Group .usfmod.selusg
selusgset:"", // Selected User Group Set .usfmod.selusgset
usr:{
extkey:"", // User ID .usfmod.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .usfmod.usrget.sdamod.seainf
},
},
selusb:"", // Select user branch .usfmod.selusb
},
chkdel:"", // Deleted .chkdel
sptstm:"", // List of SPT records .sptstm
yptinf:"", // 退回原因 .yptinf
chkypt:"", // 云平台 .chkypt
inidatfro:"", // Date of entry of Transaction .inidatfro
inidattil:"", // Date of entry of Transaction until .inidattil
routxt:"", // 已转报 .routxt
dflg:"", // 国内国际标志 .dflg
chktco:"", // 网银 .chktco
chkcan:"", // 归档 .chkcan
chkdzt:"", // E-Trade .chkdzt
}
}
}
}
\ No newline at end of file
......@@ -16,14 +16,6 @@ export default {
*/
function checkTrnInrN1500()
{
// checkrule to finally check whether contents in the keyfield has been resolved.
if( ! Utils.isEmpty( model.trn.inr ) && Utils.len( model.trn.inr ) < 8 && Utils.isEmpty( model.dissel ) )
{
Utils.error( model.trn.inr, "#CT000003" );
}
}
/**
* source:atpget.@0001.script
......@@ -31,14 +23,6 @@ function checkTrnInrN1500()
*/
function checkAtpgetSdamodDadsndN100()
{
//! check whether take is allowed on Drag&Drop sender
if( Utils.isEmpty( model.atp.inr ) )
{
Utils.errorMessage( "#CT000001" );
}
}
/**
* source:txmmod.@0009.script
......@@ -46,18 +30,6 @@ function checkAtpgetSdamodDadsndN100()
*/
function checkTrnInftxtN100()
{
//! Set error, if block contains an Asterisk and is enabled
//! ZL add for swift standards relese 2018
//占位符“*”给为占位符“~”
//add tby
// `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead:
if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) )
{
Utils.errorAsterisk( model.txmblock );
}
}
/**
* source:atpget.@0001.script
......@@ -65,14 +37,6 @@ function checkTrnInftxtN100()
*/
function checkRecpanAtpgetSdamodDadsndN100()
{
//! check whether take is allowed on Drag&Drop sender
if( Utils.isEmpty( model.atp.inr ) )
{
Utils.errorMessage( "#CT000001" );
}
}
/**
* source:trnget.@0001.script
......@@ -80,12 +44,4 @@ function checkRecpanAtpgetSdamodDadsndN100()
*/
function checkRecpanRecgetSdamodDadsndN100()
{
//! check whether take is allowed on Drag&Drop sender
if( Utils.isEmpty( model.trn.inr ) )
{
Utils.errorMessage( "#CT000001" );
}
}
......@@ -2,349 +2,123 @@
/**
* Trnrel Default规则
*/
import Api from "~/service/Api";
export default {
"relcor" :defaultRelcor,
"recpan.butspt" :defaultRecpanButspt,
"recpan.ackstm" :defaultRecpanAckstm,
"seaown" :defaultSeaown,
"trn.inftxt" :defaultTrnInftxt,
"trncorco.trnstm" :defaultTrncorcoTrnstm,
"recpan.det" :defaultRecpanDet,
"numtrn" :defaultNumtrn,
"trncorco.dflg" :defaultTrncorcoDflg,
"recpan.usr.extkey" :defaultRecpanUsrExtkey,
"atptxt" :defaultAtptxt,
"trn.inr" :defaultTrnInr,
"recpan.ackstm" :defaultRecpanAckstm,
"imgmod.newhisimg" :defaultImgmodNewhisimg,
"recpan.cpltxt" :defaultRecpanCpltxt,
"recpan.butord" :defaultRecpanButord,
"recpan.incben" :defaultRecpanIncben,
"imgmod.hisimg" :defaultImgmodHisimg,
"orddsp" :defaultOrddsp,
"recpan.butspt" :defaultRecpanButspt,
"seaown" :defaultSeaown,
"recpan.inftxt.buttxmsel" :defaultRecpanInftxtButtxmsel,
"usrcon" :defaultUsrcon,
"recpan.inc" :defaultRecpanInc,
"recpan.imgmod.image" :defaultRecpanImgmodImage,
"relcor" :defaultRelcor,
"seajbh" :defaultSeajbh,
"syswrn.butshw" :defaultSyswrnButshw,
"printe" :defaultPrinte,
"trn.infdsp" :defaultTrnInfdsp,
"recpan.incben" :defaultRecpanIncben,
"usrcon" :defaultUsrcon,
"imgmod.hisimg" :defaultImgmodHisimg,
"recpan.con" :defaultRecpanCon,
"seajbh" :defaultSeajbh,
"recpan.det" :defaultRecpanDet,
"trncorco.trnstm" :defaultTrncorcoTrnstm,
"imgmod.newhisimg" :defaultImgmodNewhisimg,
"recpan.cpltxt" :defaultRecpanCpltxt,
"trncorco.dflg" :defaultTrncorcoDflg,
"orddsp" :defaultOrddsp,
"recpan.usr.extkey" :defaultRecpanUsrExtkey,
"atptxt" :defaultAtptxt,
"recpan.ackgrp.rec.sndref" :defaultRecpanAckgrpRecSndref,
"syswrn.butshw" :defaultSyswrnButshw,
"imgmod.newimg" :defaultImgmodNewimg,
"recpan.inc" :defaultRecpanInc,
"printe" :defaultPrinte,
"trn.inr" :defaultTrnInr,
"imgmod.image" :defaultImgmodImage,
}
function defaultTrnInftxt()
function defaultRelcor()
{
<!--
if(!trnrel.getRecpan().defaultTrnInftxtN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultTrncorcoTrnstm()
function defaultRecpanButspt()
{
<!--
if(!trnrel.defaultTrncorcoTrnstmN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanDet()
function defaultRecpanAckstm()
{
<!--
if(!trnrel.getRecpan().defaultDetN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultNumtrn()
function defaultSeaown()
{
<!--
if(!trnrel.defaultNumtrnN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultTrncorcoDflg()
function defaultTrnInftxt()
{
<!--
if(!trnrel.defaultTrncorcoDflgN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanUsrExtkey()
function defaultNumtrn()
{
<!--
if(!trnrel.getRecpan().defaultUsrExtkeyN900(ctx,900) )
{
return false;
}
if(!trnrel.getRecpan().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
return true;
-->
}
function defaultAtptxt()
function defaultRecpanButord()
{
<!--
if(!trnrel.defaultAtptxtN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultTrnInr()
function defaultRecpanInftxtButtxmsel()
{
<!--
if(!trnrel.defaultRecpanTrnInrN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanAckstm()
function defaultTrnInfdsp()
{
<!--
if(!trnrel.getRecpan().defaultAckstmN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultImgmodNewhisimg()
function defaultRecpanIncben()
{
<!--
if(!trnrel.defaultImgmodNewhisimgN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanCpltxt()
function defaultUsrcon()
{
<!--
if(!trnrel.getRecpan().defaultCpltxtN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanButord()
function defaultImgmodHisimg()
{
<!--
if(!trnrel.getRecpan().defaultButordN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanIncben()
function defaultRecpanCon()
{
<!--
if(!trnrel.getRecpan().defaultIncbenN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultImgmodHisimg()
function defaultSeajbh()
{
<!--
if(!trnrel.defaultImgmodHisimgN100(ctx,100) )
{
return false;
}
if(!trnrel.getImgmod().defaultHisimgN1100(ctx,1100) )
{
return false;
}
if(!trnrel.getImgmod().defaultHisimgN1100(ctx,1100) )
{
return false;
}
return true;
-->
}
function defaultOrddsp()
function defaultRecpanDet()
{
<!--
if(!trnrel.defaultOrddspN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanButspt()
function defaultTrncorcoTrnstm()
{
<!--
if(!trnrel.getRecpan().defaultButsptN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultSeaown()
function defaultImgmodNewhisimg()
{
<!--
if(!trnrel.defaultSeaownN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanInftxtButtxmsel()
function defaultRecpanCpltxt()
{
<!--
if(!trnrel.getRecpan().getInftxt().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
-->
}
function defaultUsrcon()
function defaultTrncorcoDflg()
{
<!--
if(!trnrel.defaultUsrconN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanInc()
function defaultOrddsp()
{
<!--
if(!trnrel.getRecpan().defaultIncN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanImgmodImage()
function defaultRecpanUsrExtkey()
{
<!--
if(!trnrel.getRecpan().defaultImgmodImageN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRelcor()
function defaultAtptxt()
{
<!--
if(!trnrel.defaultRelcorN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultSeajbh()
function defaultRecpanAckgrpRecSndref()
{
<!--
if(!trnrel.defaultSeajbhN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultSyswrnButshw()
{
<!--
if(!trnrel.getRecpan().defaultSyswrnButshwN10000(ctx,10000) )
{
return false;
}
return true;
-->
}
function defaultPrinte()
function defaultImgmodNewimg()
{
<!--
if(!trnrel.defaultPrinteN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultTrnInfdsp()
function defaultRecpanInc()
{
<!--
if(!trnrel.getRecpan().defaultTrnInfdspN100(ctx,100) )
{
return false;
}
if(!trnrel.getRecpan().defaultTrnInfdspN3000(ctx,3000) )
{
return false;
}
return true;
-->
}
function defaultRecpanCon()
function defaultPrinte()
{
<!--
if(!trnrel.getRecpan().defaultConN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultRecpanAckgrpRecSndref()
function defaultTrnInr()
{
<!--
if(!trnrel.getRecpan().defaultAckgrpRecSndrefN100(ctx,100) )
{
return false;
}
return true;
-->
}
function defaultImgmodNewimg()
function defaultImgmodImage()
{
<!--
if(!trnrel.defaultImgmodNewimgN100(ctx,100) )
{
return false;
}
if(!trnrel.getImgmod().defaultNewimgN1101(ctx,1101) )
{
return false;
}
if(!trnrel.getImgmod().defaultNewimgN1101(ctx,1101) )
{
return false;
}
return true;
-->
}
......@@ -336,11 +336,11 @@ export default {
}
})
},
onImgmod1Image(){
onImgmodImage(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid)
return;
let rtnmsg = await Api.post("trnrel/imgmod1_image",{data:this.model})
let rtnmsg = await Api.post("trnrel/imgmod_image",{data:this.model})
if(rtnmsg.retcod == SUCCESS)
{
//TODO 处理数据逻辑
......@@ -384,7 +384,5 @@ export default {
}
})
},
onSeainf(){
}
}
\ No newline at end of file
......@@ -93,10 +93,10 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
// "recpan.atp.cod":[
// {type: "string", required: false, message: "必输项"},
// {max: 6,message:"长度不能超过6"}
// ],
"recpan.atp.cod":[
{type: "string", required: false, message: "必输项"},
{max: 6,message:"长度不能超过6"}
],
"trn.reloricur":[
{type: "string", required: false, message: "必输项"},
......
import Api from "~/service/Api";
export default class Trnrel{
constructor () {
this.data = {
trncorco:{
ownref:"", // Reference .trncorco.ownref
relflg:"", // Status .trncorco.relflg
inidatfro:"", // Date of entry of Transaction .trncorco.inidatfro
inidattil:"", // Date of entry of Transaction until .trncorco.inidattil
trnstm:"", // List of transaction sfor display .trncorco.trnstm
dflg:"", // 国内证标志 .trncorco.dflg
},
atp:{
cod:"", // Transaction Type .atp.cod
},
atpget:{
sdamod:{
seainf:"", // .atpget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .atpget.sdamod.dadsnd
},
},
atptxt:"", // Transaction Text .atptxt
numtrn:"", // # of transactions .numtrn
orddsp:"", // >> .orddsp
bchcon:"", // Branch .bchcon
usrcon:"", // User .usrcon
recpan:{
cpltxt:"", // Completion text .recpan.cpltxt
spt:{
sta:"", // Status .recpan.spt.sta
},
ord:{
sta:"", // Status .recpan.ord.sta
},
recget:{
sdamod:{
seainf:"", // Ident No. .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
atp:{
cod:"", // Transaction ID .recpan.atp.cod
},
atpget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .recpan.atpget.sdamod.dadsnd
seainf:"", // Transaction .recpan.atpget.sdamod.seainf
},
},
smhstm:"", // Documents .recpan.smhstm
usr:{
extkey:"", // User ID .recpan.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .recpan.usrget.sdamod.seainf
},
},
trsstm:"", // Signatures .recpan.trsstm
con:"", // Reference .recpan.con
cretrs:{
usr:"", // Entered by .recpan.cretrs.usr
dattim:"", // Timestamp .recpan.cretrs.dattim
},
ackgrp:{
rec:{
sndref:"", // Send to SOP/CASmf reference .recpan.ackgrp.rec.sndref
},
},
wfestm:"", // WFEs for transaction for display .recpan.wfestm
evthisstm:"", // stream of history of transactions .recpan.evthisstm
evtstm:"", // stream of events .recpan.evtstm
ackstm:"", // ACKs for transaction .recpan.ackstm
trostm:"", // TROs for transaction for display .recpan.trostm
prtgleblk:"", // XMLPanel prtgle的内置block .recpan.prtgleblk
prtpanblk:"", // XMLPanel prtpan的内置block .recpan.prtpanblk
},
trn:{
ownref:"", // Reference .trn.ownref
inr:"", // Transaction Key .trn.inr
objnam:"", // External Readable Object Identification .trn.objnam
reloricur:"", // Relevant Amount .trn.reloricur
reloriamt:"", // Relevant Amount for Release in Original Currency .trn.reloriamt
relflg:"", // Release Status of Transaction .trn.relflg
usr:"", // Responsible .trn.usr
usg:"", // Responsible Group .trn.usg
relreq:"", // Signatures Required/Obtained .trn.relreq
relres:"", // Applied Signatures .trn.relres
cortrninr:"", // Based on Ident No. .trn.cortrninr
exedat:"", // Execution Date .trn.exedat
inftxt:"", // Infotext .trn.inftxt
infdsp:"", // Infoflag .trn.infdsp
},
wfmmod:{
wfs:{
objnam:"", // External Readable Object Identification .wfmmod.wfs.objnam
objtyp:"", // Table Used to Store Associated Object .wfmmod.wfs.objtyp
objinr:"", // Object .wfmmod.wfs.objinr
},
},
docimm:{
prtswtpblk:"", // XMLPanel prtswtp的内置block .docimm.prtswtpblk
xmldocblk:"", // XMLPanel xmldoc的内置block .docimm.xmldocblk
prtswtrpblk:"", // XMLPanel prtswtrp的内置block .docimm.prtswtrpblk
docbol:{
prtpblk:"", // XMLPanel prtp的内置block .docimm.docbol.prtpblk
},
},
constructor () {
this.data = {
trncorco:{
ownref:"", // Reference .trncorco.ownref
relflg:"", // Status .trncorco.relflg
inidatfro:"", // Date of entry of Transaction .trncorco.inidatfro
inidattil:"", // Date of entry of Transaction until .trncorco.inidattil
trnstm:"", // List of transaction sfor display .trncorco.trnstm
dflg:"", // 国内证标志 .trncorco.dflg
},
atp:{
cod:"", // Transaction Type .atp.cod
},
atpget:{
sdamod:{
seainf:"", // .atpget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .atpget.sdamod.dadsnd
},
},
atptxt:"", // Transaction Text .atptxt
numtrn:"", // # of transactions .numtrn
orddsp:"", // >> .orddsp
bchcon:"", // Branch .bchcon
usrcon:"", // User .usrcon
recpan:{
cpltxt:"", // Completion text .recpan.cpltxt
spt:{
sta:"", // Status .recpan.spt.sta
},
ord:{
sta:"", // Status .recpan.ord.sta
},
recget:{
sdamod:{
seainf:"", // Ident No. .recpan.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recpan.recget.sdamod.dadsnd
},
},
atp:{
cod:"", // Transaction ID .recpan.atp.cod
},
atpget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .recpan.atpget.sdamod.dadsnd
seainf:"", // Transaction .recpan.atpget.sdamod.seainf
},
},
smhstm:"", // Documents .recpan.smhstm
usr:{
extkey:"", // User ID .recpan.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .recpan.usrget.sdamod.seainf
},
},
trsstm:"", // Signatures .recpan.trsstm
con:"", // Reference .recpan.con
cretrs:{
usr:"", // Entered by .recpan.cretrs.usr
dattim:"", // Timestamp .recpan.cretrs.dattim
},
ackgrp:{
rec:{
sndref:"", // Send to SOP/CASmf reference .recpan.ackgrp.rec.sndref
},
},
wfestm:"", // WFEs for transaction for display .recpan.wfestm
evthisstm:"", // stream of history of transactions .recpan.evthisstm
evtstm:"", // stream of events .recpan.evtstm
ackstm:"", // ACKs for transaction .recpan.ackstm
trostm:"", // TROs for transaction for display .recpan.trostm
prtgleblk:"", // XMLPanel prtgle的内置block .recpan.prtgleblk
prtpanblk:"", // XMLPanel prtpan的内置block .recpan.prtpanblk
},
trn:{
ownref:"", // Reference .trn.ownref
inr:"", // Transaction Key .trn.inr
objnam:"", // External Readable Object Identification .trn.objnam
reloricur:"", // Relevant Amount .trn.reloricur
reloriamt:"", // Relevant Amount for Release in Original Currency .trn.reloriamt
relflg:"", // Release Status of Transaction .trn.relflg
usr:"", // Responsible .trn.usr
usg:"", // Responsible Group .trn.usg
relreq:"", // Signatures Required/Obtained .trn.relreq
relres:"", // Applied Signatures .trn.relres
cortrninr:"", // Based on Ident No. .trn.cortrninr
exedat:"", // Execution Date .trn.exedat
inftxt:"", // Infotext .trn.inftxt
infdsp:"", // Infoflag .trn.infdsp
},
wfmmod:{
wfs:{
objnam:"", // External Readable Object Identification .wfmmod.wfs.objnam
objtyp:"", // Table Used to Store Associated Object .wfmmod.wfs.objtyp
objinr:"", // Object .wfmmod.wfs.objinr
},
},
docimm:{
prtswtpblk:"", // XMLPanel prtswtp的内置block .docimm.prtswtpblk
xmldocblk:"", // XMLPanel xmldoc的内置block .docimm.xmldocblk
prtswtrpblk:"", // XMLPanel prtswtrp的内置block .docimm.prtswtrpblk
docbol:{
prtpblk:"", // XMLPanel prtp的内置block .docimm.docbol.prtpblk
},
},
}
}
}
}
\ No newline at end of file
......@@ -362,7 +362,7 @@ import CommonProcess from "~/mixin/CommonProcess"
export default {
props:["model","codes"],
mixins: [CommonProcess],
// mixins: [CommonProcess],
data(){
return {
declareParams:{"fileName":"ditopn.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditopn/getElcsRef"},
......
......@@ -92,7 +92,9 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Ditopn from "~/Model/Ditopn"
import CommonProcess from "~/mixin/CommonProcess"
import Pattern from "~/model/Ditopn/Pattern"
import Pattern from "~/Model/Ditopn/Pattern"
import Default from "~/model/Ditopn/Default";
import Check from "~/model/Ditopn/Check";
import Ovwp from "./Ovwp"
import Revp from "./Revp"
import Tk from "./Tk"
......@@ -138,8 +140,10 @@ export default {
data(){
return {
model:new Ditopn().data,
//defaultRule:Default,
rules:Pattern,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules:null,
codes:{
},
declareParams:{"fileName":"ditopn.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditopn/init"},
......
......@@ -108,63 +108,71 @@
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess"
import Pattern from "~/Model/Office/Pattern"
import Default from "~/model/Office/Default";
import Check from "~/model/Office/Check";
import CodeTable from "~/config/CodeTable"
import s_todo from "./TodoItem"
export default {
components:{"s-todo":s_todo},
mixins: [CommonProcess],
computed: {
},
data(){
return {
todoActive:"WAT",
codes:{
dsp:CodeTable.dsp,
busflg:CodeTable.busflg,
actiontype:CodeTable.actiontype,
cur:CodeTable.cur,
ptytyp:CodeTable.ptytyp,
staflg:CodeTable.staflg,
paytyp:CodeTable.paytyp,
payattr:CodeTable.payattr,
balancemode:CodeTable.balancemode,
bopcustype:CodeTable.bopcustype,
payeeattr:CodeTable.payeeattr,
boppaytype:CodeTable.boppaytype,
debcdtflg:CodeTable.debcdtflg,
acttyp:CodeTable.acttyp,
payflg:CodeTable.payflg,
buscod:CodeTable.buscod,
datsrc:CodeTable.datsrc,
sndselflg:CodeTable.sndselflg,
relflg:CodeTable.relflg,
payacttyp:CodeTable.payacttyp,
curtxt:CodeTable.curtxt,
dbfmethod:CodeTable.dbfmethod,
bustyp:CodeTable.bustyp,
todo:CodeTable.todo,
swftyp:CodeTable.swftyp,
payeraccttype:CodeTable.payeraccttype,
oratyp:CodeTable.oratyp,
chato:CodeTable.chato,
opertype:CodeTable.opertype,
bopyesno:CodeTable.bopyesno,
custyp:CodeTable.custyp,
selten:CodeTable.selten,
dsp2:CodeTable.dsp2,
liqtyp:CodeTable.liqtyp,
},
model:{
offp:{
todotyp:[], // 待办类型 .offp.todotyp
todolst:[], // .offp.todolst
selten:"", // .offp.selten
xrtlst:[], // .offp.xrtlst
iralst:[], // .offp.iralst
},
},
rules:{}
todoActive:"WAT",
codes:{
dsp:CodeTable.dsp,
busflg:CodeTable.busflg,
actiontype:CodeTable.actiontype,
cur:CodeTable.cur,
ptytyp:CodeTable.ptytyp,
staflg:CodeTable.staflg,
paytyp:CodeTable.paytyp,
payattr:CodeTable.payattr,
balancemode:CodeTable.balancemode,
bopcustype:CodeTable.bopcustype,
payeeattr:CodeTable.payeeattr,
boppaytype:CodeTable.boppaytype,
debcdtflg:CodeTable.debcdtflg,
acttyp:CodeTable.acttyp,
payflg:CodeTable.payflg,
buscod:CodeTable.buscod,
datsrc:CodeTable.datsrc,
sndselflg:CodeTable.sndselflg,
relflg:CodeTable.relflg,
payacttyp:CodeTable.payacttyp,
curtxt:CodeTable.curtxt,
dbfmethod:CodeTable.dbfmethod,
bustyp:CodeTable.bustyp,
todo:CodeTable.todo,
swftyp:CodeTable.swftyp,
payeraccttype:CodeTable.payeraccttype,
oratyp:CodeTable.oratyp,
chato:CodeTable.chato,
opertype:CodeTable.opertype,
bopyesno:CodeTable.bopyesno,
custyp:CodeTable.custyp,
selten:CodeTable.selten,
dsp2:CodeTable.dsp2,
liqtyp:CodeTable.liqtyp,
},
model:{
offp:{
todotyp:[], // 待办类型 .offp.todotyp
todolst:[], // .offp.todolst
selten:"", // .offp.selten
xrtlst:[], // .offp.xrtlst
iralst:[], // .offp.iralst
},
},
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules:null
}
},
methods:{
......
......@@ -181,7 +181,7 @@ import CommonProcess from "~/mixin/CommonProcess"
export default {
props:["model","codes"],
mixins: [CommonProcess],
// mixins: [CommonProcess],
data(){
return {
declareParams:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/sptstm"},
......
......@@ -14,7 +14,9 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Sptsel from "~/Model/Sptsel"
import CommonProcess from "~/mixin/CommonProcess.js"
import Pattern from "~/model/Sptsel/Pattern"
import Pattern from "~/Model/Sptsel/Pattern"
import Default from "~/model/Sptsel/Default";
import Check from "~/model/Sptsel/Check";
import Menu from "./Menu"
import Event from "~/model/Sptsel/Event"
......@@ -28,9 +30,11 @@ export default {
},
data(){
return {
model:new Sptsel().data,
//defaultRule:Default,
rules:Pattern,
model:new Sptsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules:null,
codes:{
},
declareParams:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/init"},
......
......@@ -339,6 +339,8 @@
>
</el-table-column>
</c-table>
<c-istream-table :list="testJson.data" :columns="testJson.columns"></c-istream-table>
</div>
</template>
......@@ -350,13 +352,49 @@ import Event from "~/model/Trnrel/Event"
export default {
props:["model","codes"],
mixins: [CommonProcess],
components: {
},
data(){
return {
declareParams:{"fileName":"trnrel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/trnrel/seaown"},
testJson: {
columns: [
"10 1 \"TRN\" 50 1 tdViewTypeEdit:0 3 ATPTXT",
"11 2:1 \"Own Reference\" 112",
"17 2:2 \"Addtional Text\" 112",
"12 3 \"Cur\" 37",
"13 4 \"Relevant Amount\" 101 2 8:1 2 5",
"14 5 \"Entry\" 104 20 DateTime 1",
"9 6:1 \"Req\" 39",
"2 6:2 \"Sig\" 35",
"6 8:1 \"Rq0\" 40",
"3 8:2 \"Rel0\" 40",
"7 9:1 \"Rq1\" 40",
"4 9:2 \"Rel1\" 40",
"8 10:1 \"Rq2\" 40",
"5 10:2 \"Rel2\" 40",
"15 13 \"Branch\" 142",
"16 11:1 \"User\" 62",
"18 11:2 \"\" 62",
"0 12 \"Status\" 54 1 tdViewTypeEdit:0 1 RELSTA",
"P COLORED TRUE",
"P VERTLINES TRUE",
"P HORZLINES TRUE"
],
data: [
"DITOPN\t10.00 13213 2000007350 GUONEI\t00000101\t2021-04-23 11:26:54.444\tZL \tKZ3500210003AA \t10\tW\tNN \tOA \tNN \tNN \tCNY\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"BTTSND\t \t00000100\t2020-06-19 16:10:57.739\tZL \tBP3500200002AAT \t20000\tW\tNN \tOA \tNN \tNN \tUSD\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"BTTDCK\t \t00000099\t2020-06-19 16:03:34.871\tZL \tBP3500200002AAT \t20000\tW\tNN \tOA \tNN \tNN \tUSD\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"LTTDCK\t \t00000098\t2020-06-19 15:58:24.007\tZL \tBP3500200002AAT \t16000\tW\tNN \tOA \tNN \tNN \tUSD\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"LTTOPN\t \t00000096\t2020-06-19 15:54:14.219\tZL \tTC3500200001AA \t66000\tW\tNN \tOA \tNN \tNN \tUSD\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"LETOPN\t100,000.00\t00000095\t2020-06-19 15:42:45.222\tZL \tAD3500200002AA \t110000\tW\tNN \tOB \tNN \tNN \tUSD\t北京分行 \tO \tNN \tZHL \tNB \tNN ",
"BDTDCK\tGUONEI\t00000094\t2020-06-11 09:25:30.824\tZL \tDD3500190001AA02\t6\tW\tNN \tOA \tNN \tNN \tCNY\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"BDTDCR\tGUONEI\t00000093\t2020-06-11 09:12:19.237\tZL \tDD3500190001AA02\t8\tW\tNN \tOA \tNN \tNN \tCNY\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"BDTDCK\tGUONEI\t00000092\t2020-06-11 09:10:27.276\tZL \tDD3500190001AA02\t8\tW\tNN \tOA \tNN \tNN \tCNY\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"DITDCK\t0.00 北京三优机电设备有限公司 2000007350 GUONEI\t00000091\t2020-06-10 18:04:40.818\tZL \tDD3500190001AA02\t10\tW\tNN \tOA \tNN \tNN \tCNY\t北京分行 \tO \tNN \tZHL \tNA \tNN ",
"DITOPN\t100,000.00 北京宇宙中心第一家有限公司 2000007350 GUONEI\t00000087\t2020-06-10 15:42:44.7\tZL \tKZ3500200002AA \t100000\tW\tNN \tOA \tNN \tNN \tCNY\t北京分行 \tO \tNN \tZHL \tNA \tNN "
]
}
}
},
methods:{...Event},
......
......@@ -17,6 +17,8 @@ import CodeTable from "~/config/CodeTable"
import Trnrel from "~/Model/Trnrel"
import CommonProcess from "~/mixin/CommonProcess"
import Pattern from "~/Model/Trnrel/Pattern"
import Default from "~/model/Trnrel/Default";
import Check from "~/model/Trnrel/Check";
import Inftrnps from "./Inftrnps"
import Trnp0 from "./Trnp0"
import Trnpwfm from "./Trnpwfm"
......@@ -45,10 +47,13 @@ export default {
},
data(){
return {
model:new Trnrel().data,
rules:Pattern,
codes:{
},
model: new Trnrel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
declareParams:{"fileName":"trnrel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/trnrel/init"},
}
......
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