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' ...@@ -9,6 +9,7 @@ import Button from './Button.vue'
import DatePicker from './DatePicker.vue' import DatePicker from './DatePicker.vue'
import Checkbox from './Checkbox.vue' import Checkbox from './Checkbox.vue'
import Table from "./Table" import Table from "./Table"
import IStreamTable from "./IStreamTable.vue"
import Radio from "./Radio" import Radio from "./Radio"
import InputNumber from "./InputNumber" import InputNumber from "./InputNumber"
import PrintButton from "./PrintButton" import PrintButton from "./PrintButton"
...@@ -46,6 +47,7 @@ export default { ...@@ -46,6 +47,7 @@ export default {
Vue.component("c-docshow", DocShow) Vue.component("c-docshow", DocShow)
Vue.component("c-UnicodePicker", UnicodePicker) Vue.component("c-UnicodePicker", UnicodePicker)
Vue.component("c-table", Table) Vue.component("c-table", Table)
Vue.component("c-istream-table", IStreamTable)
Vue.component("c-radio", Radio) Vue.component("c-radio", Radio)
Vue.component("c-input-number", InputNumber) Vue.component("c-input-number", InputNumber)
Vue.component("c-print-button", PrintButton) 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 { export default {
mixins: [createSerialNo, commonImage, commonDiary, commonTemplate, commonCheck, commonDeclare], mixins: [],
data: function () { data: function () {
return { 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 () { created: function () {},
// todo: 获取 opNode mounted() {
this.ruleWatcher()
this.urls.startUrl = `${this.version}/${this.declareParams.basePath}/start` this.ruleCheck()
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
}
}, },
methods: { methods: {
canEdit() { ruleWatcher() {
// 可编辑 可试算返回 true; 否则返回 false const that = this;
if (this.isReview && (this.process == '1' || this.taskFlag == '3' || this.taskFlag == '4')) { Object.keys(that.defaultRules).forEach(key => {
return false that.$watch("model." + key, that.defaultRules[key])
}
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)
})
},
/**
* 提交数据
*/
// 校验
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: "服务请求失败!"
})
}
})
}
}) })
}, },
ruleCheck() {
handlePass(data) { const keySet = new Set(Object.keys(this.pattern).concat(Object.keys(this.checkRules)))
this.check().then(res => { const res = {};
if (res) { for (let key of keySet.keys()) {
this.submit(data, 2).then(res => { const rule = []
if (res && res.code == '000000') { if(this.pattern[key]){
this.$notify.success({ rule.push(...this.pattern[key])
title: "成功",
message: "服务请求成功!"
})
this.exit()
} else {
this.$notify.error({
title: "失败",
message: "服务请求失败!"
})
}
})
} }
}) if(this.checkRules[key]){
}, for (let j = 0; j < this.checkRules[key].length; j++) {
const check = this.checkRules[key][j];
handleRefuse(data) { rule.push({
this.check().then(res => { validator: check
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('暂存需要填写业务编号')
} }
}, this.rules = res;
showAml() {
},
exit: function () {
this.$router.push('/business/home')
} }
} }
} }
\ 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规则 * Ditopn Check规则
// */ */
// export default { export default {
//
// "liaall.misamt" :[checkLiaallMisamtN100,], "liaall.misamt" :[checkLiaallMisamtN100,],
// "liaall.limmod.limpts.oth.pts.extkey" :[checkLiaallLimmodLimptsOthPtsExtkeyN100,checkLiaallLimmodLimptsOthPtsExtkeyN950,checkLiaallLimmodLimptsOthPtsExtkeyN960,], "liaall.limmod.limpts.oth.pts.extkey" :[checkLiaallLimmodLimptsOthPtsExtkeyN100,checkLiaallLimmodLimptsOthPtsExtkeyN950,checkLiaallLimmodLimptsOthPtsExtkeyN960,],
// "didgrp.apl.pts.ref" :[checkDidgrpAplPtsRefN100,], "didgrp.apl.pts.ref" :[checkDidgrpAplPtsRefN100,],
// "didgrp.apl.pts.youzbm" :[checkDidgrpAplPtsYouzbmN100,], "didgrp.apl.pts.youzbm" :[checkDidgrpAplPtsYouzbmN100,],
// "ameadvrmk" :[checkAmeadvrmkN100,], "ameadvrmk" :[checkAmeadvrmkN100,],
// "liaall.limmod.ownref" :[checkLiaallLimmodOwnrefN100,], "liaall.limmod.ownref" :[checkLiaallLimmodOwnrefN100,],
// "didgrp.rec.expplc" :[checkDidgrpRecExpplcN900,], "didgrp.rec.expplc" :[checkDidgrpRecExpplcN900,],
// "didgrp.rec.fqtime" :[checkDidgrpRecFqtimeN100,], "didgrp.rec.fqtime" :[checkDidgrpRecFqtimeN100,],
// "didgrp.adv.pts.bankno" :[checkDidgrpAdvPtsBanknoN100,], "didgrp.adv.pts.bankno" :[checkDidgrpAdvPtsBanknoN100,],
// "didgrp.rec.tratyp" :[checkDidgrpRecTratypN100,], "didgrp.rec.tratyp" :[checkDidgrpRecTratypN100,],
// "liaall.limmod.ecifno" :[checkLiaallLimmodEcifnoN100,], "liaall.limmod.ecifno" :[checkLiaallLimmodEcifnoN100,],
// "ditp.benp.ptsget.sdamod.dadsnd" :[checkDitpBenpPtsgetSdamodDadsndN100,], "ditp.benp.ptsget.sdamod.dadsnd" :[checkDitpBenpPtsgetSdamodDadsndN100,],
// "didgrp.rec.revdat" :[checkDidgrpRecRevdatN100,], "didgrp.rec.revdat" :[checkDidgrpRecRevdatN100,],
// "didgrp.iss.pts.extkey" :[checkDidgrpIssPtsExtkeyN950,checkDidgrpIssPtsExtkeyN960,], "didgrp.iss.pts.extkey" :[checkDidgrpIssPtsExtkeyN950,checkDidgrpIssPtsExtkeyN960,],
// "didgrp.rec.sdsrfs" :[checkDidgrpRecSdsrfsN100,], "didgrp.rec.sdsrfs" :[checkDidgrpRecSdsrfsN100,],
// "didgrp.iss.pts.youzbm" :[checkDidgrpIssPtsYouzbmN1001,], "didgrp.iss.pts.youzbm" :[checkDidgrpIssPtsYouzbmN1001,],
// "didgrp.rec.fqzytgfw" :[checkDidgrpRecFqzytgfwN100,], "didgrp.rec.fqzytgfw" :[checkDidgrpRecFqzytgfwN100,],
// "didgrp.rec.conamt" :[checkDidgrpRecConamtN100,], "didgrp.rec.conamt" :[checkDidgrpRecConamtN100,],
// "didgrp.apc.pts.bankno" :[checkDidgrpApcPtsBanknoN100,], "didgrp.apc.pts.bankno" :[checkDidgrpApcPtsBanknoN100,],
// "didgrp.rec.shppro" :[checkDidgrpRecShpproN100,], "didgrp.rec.shppro" :[checkDidgrpRecShpproN100,],
// "didgrp.rec.shpto" :[checkDidgrpRecShptoN100,], "didgrp.rec.shpto" :[checkDidgrpRecShptoN100,],
// "didgrp.ben.namelc" :[checkDidgrpBenNamelcN100,], "didgrp.ben.namelc" :[checkDidgrpBenNamelcN100,],
// "didgrp.cmb.pts.bankno" :[checkDidgrpCmbPtsBanknoN100,], "didgrp.cmb.pts.bankno" :[checkDidgrpCmbPtsBanknoN100,],
// "didgrp.rec.shppar" :[checkDidgrpRecShpparN100,], "didgrp.rec.shppar" :[checkDidgrpRecShpparN100,],
// "liaall.limmod.othp.ptsget.sdamod.dadsnd" :[checkLiaallLimmodOthpPtsgetSdamodDadsndN100,], "liaall.limmod.othp.ptsget.sdamod.dadsnd" :[checkLiaallLimmodOthpPtsgetSdamodDadsndN100,],
// "didgrp.rmb.adrelc" :[checkDidgrpRmbAdrelcN100,], "didgrp.rmb.adrelc" :[checkDidgrpRmbAdrelcN100,],
// "didgrp.apl.pts.extkey" :[checkDidgrpAplPtsExtkeyN950,checkDidgrpAplPtsExtkeyN960,], "didgrp.apl.pts.extkey" :[checkDidgrpAplPtsExtkeyN950,checkDidgrpAplPtsExtkeyN960,],
// "didgrp.apb.pts.bankno" :[checkDidgrpApbPtsBanknoN100,], "didgrp.apb.pts.bankno" :[checkDidgrpApbPtsBanknoN100,],
// "didgrp.rec.rmbcha" :[checkDidgrpRecRmbchaN100,], "didgrp.rec.rmbcha" :[checkDidgrpRecRmbchaN100,],
// "ditp.aplp.ptsget.sdamod.dadsnd" :[checkDitpAplpPtsgetSdamodDadsndN100,], "ditp.aplp.ptsget.sdamod.dadsnd" :[checkDitpAplpPtsgetSdamodDadsndN100,],
// "didgrp.avb.pts.bankno" :[checkDidgrpAvbPtsBanknoN100,], "didgrp.avb.pts.bankno" :[checkDidgrpAvbPtsBanknoN100,],
// "didgrp.rmb.pts.extkey" :[checkDidgrpRmbPtsExtkeyN950,checkDidgrpRmbPtsExtkeyN960,], "didgrp.rmb.pts.extkey" :[checkDidgrpRmbPtsExtkeyN950,checkDidgrpRmbPtsExtkeyN960,],
// "setmod.dspflg" :[checkSetmodDspflgN100,checkSetmodDspflgN1100,checkSetmodDspflgN1200,], "setmod.dspflg" :[checkSetmodDspflgN100,checkSetmodDspflgN1100,checkSetmodDspflgN1200,],
// "didgrp.blk.revcls" :[checkDidgrpBlkRevclsN100,], "didgrp.blk.revcls" :[checkDidgrpBlkRevclsN100,],
// "didgrp.rmb.pts.bankno" :[checkDidgrpRmbPtsBanknoN100,], "didgrp.rmb.pts.bankno" :[checkDidgrpRmbPtsBanknoN100,],
// "didgrp.ben.adrelc" :[checkDidgrpBenAdrelcN100,], "didgrp.ben.adrelc" :[checkDidgrpBenAdrelcN100,],
// "didgrp.rec.apprulrmb" :[checkDidgrpRecApprulrmbN100,], "didgrp.rec.apprulrmb" :[checkDidgrpRecApprulrmbN100,],
// "didgrp.apl.pts.dihdig" :[checkDidgrpAplPtsDihdigN100,], "didgrp.apl.pts.dihdig" :[checkDidgrpAplPtsDihdigN100,],
// "didgrp.rec.conno" :[checkDidgrpRecConnoN100,checkDidgrpRecConnoN1001,], "didgrp.rec.conno" :[checkDidgrpRecConnoN100,checkDidgrpRecConnoN1001,],
// "didgrp.blk.defdet" :[checkDidgrpBlkDefdetN100,checkDidgrpBlkDefdetN100,checkDidgrpBlkDefdetN1001,], "didgrp.blk.defdet" :[checkDidgrpBlkDefdetN100,checkDidgrpBlkDefdetN100,checkDidgrpBlkDefdetN1001,],
// "didgrp.rec.elcflg" :[checkDidgrpRecElcflgN100,], "didgrp.rec.elcflg" :[checkDidgrpRecElcflgN100,],
// "didgrp.blk.insbnk" :[checkDidgrpBlkInsbnkN100,], "didgrp.blk.insbnk" :[checkDidgrpBlkInsbnkN100,],
// "liaall.liaccv.totcovamt" :[checkLiaallLiaccvTotcovamtN100,], "liaall.liaccv.totcovamt" :[checkLiaallLiaccvTotcovamtN100,],
// "didgrp.beb.pts.bankno" :[checkDidgrpBebPtsBanknoN100,], "didgrp.beb.pts.bankno" :[checkDidgrpBebPtsBanknoN100,],
// "didgrp.apl.pts.adrblk" :[checkDidgrpAplPtsAdrblkN950,], "didgrp.apl.pts.adrblk" :[checkDidgrpAplPtsAdrblkN950,],
// "didgrp.rec.lcrtyp" :[checkDidgrpRecLcrtypN900,], "didgrp.rec.lcrtyp" :[checkDidgrpRecLcrtypN900,],
// "didgrp.rec.shpfro" :[checkDidgrpRecShpfroN100,], "didgrp.rec.shpfro" :[checkDidgrpRecShpfroN100,],
// "didgrp.rec.guaflg" :[checkDidgrpRecGuaflgN100,], "didgrp.rec.guaflg" :[checkDidgrpRecGuaflgN100,],
// "didgrp.iss.pts.bankno" :[checkDidgrpIssPtsBanknoN100,], "didgrp.iss.pts.bankno" :[checkDidgrpIssPtsBanknoN100,],
// "didgrp.blk.lcrgod" :[checkDidgrpBlkLcrgodN100,checkDidgrpBlkLcrgodN100,checkDidgrpBlkLcrgodN1001,], "didgrp.blk.lcrgod" :[checkDidgrpBlkLcrgodN100,checkDidgrpBlkLcrgodN100,checkDidgrpBlkLcrgodN1001,],
// "didgrp.rec.idcode" :[checkDidgrpRecIdcodeN100,], "didgrp.rec.idcode" :[checkDidgrpRecIdcodeN100,],
// "didgrp.rec.fenctg" :[checkDidgrpRecFenctgN100,], "didgrp.rec.fenctg" :[checkDidgrpRecFenctgN100,],
// "liaall.limmod.limpts.wrk.pts.extkey" :[checkLiaallLimmodLimptsWrkPtsExtkeyN100,checkLiaallLimmodLimptsWrkPtsExtkeyN950,checkLiaallLimmodLimptsWrkPtsExtkeyN960,], "liaall.limmod.limpts.wrk.pts.extkey" :[checkLiaallLimmodLimptsWrkPtsExtkeyN100,checkLiaallLimmodLimptsWrkPtsExtkeyN950,checkLiaallLimmodLimptsWrkPtsExtkeyN960,],
// "didgrp.ben.pts.dihdig" :[checkDidgrpBenPtsDihdigN1004,], "didgrp.ben.pts.dihdig" :[checkDidgrpBenPtsDihdigN1004,],
// "didgrp.rec.shpdat" :[checkDidgrpRecShpdatN100,checkDidgrpRecShpdatN999,], "didgrp.rec.shpdat" :[checkDidgrpRecShpdatN100,checkDidgrpRecShpdatN999,],
// "didgrp.cbs.nom1.cur" :[checkDidgrpCbsNom1CurN100,], "didgrp.cbs.nom1.cur" :[checkDidgrpCbsNom1CurN100,],
// "didgrp.iss.pts.dihdig" :[checkDidgrpIssPtsDihdigN1001,], "didgrp.iss.pts.dihdig" :[checkDidgrpIssPtsDihdigN1001,],
// "didgrp.apl.namelc" :[checkDidgrpAplNamelcN100,], "didgrp.apl.namelc" :[checkDidgrpAplNamelcN100,],
// "didgrp.rec.revtyp" :[checkDidgrpRecRevtypN100,], "didgrp.rec.revtyp" :[checkDidgrpRecRevtypN100,],
// "didgrp.rmb.pts.adrblk" :[checkDidgrpRmbPtsAdrblkN950,], "didgrp.rmb.pts.adrblk" :[checkDidgrpRmbPtsAdrblkN950,],
// "mtabut.coninf.conexedat" :[checkMtabutConinfConexedatN100,], "mtabut.coninf.conexedat" :[checkMtabutConinfConexedatN100,],
// "didgrp.adv.pts.youzbm" :[checkDidgrpAdvPtsYouzbmN1003,], "didgrp.adv.pts.youzbm" :[checkDidgrpAdvPtsYouzbmN1003,],
// "didgrp.apl.pts.extact" :[checkDidgrpAplPtsExtactN100,], "didgrp.apl.pts.extact" :[checkDidgrpAplPtsExtactN100,],
// "didgrp.ben.pts.adrblk" :[checkDidgrpBenPtsAdrblkN950,], "didgrp.ben.pts.adrblk" :[checkDidgrpBenPtsAdrblkN950,],
// "liaall.limmod.limpts.nonrevflg1" :[checkLiaallLimmodLimptsNonrevflg1N100,], "liaall.limmod.limpts.nonrevflg1" :[checkLiaallLimmodLimptsNonrevflg1N100,],
// "didgrp.apc.pts.youzbm" :[checkDidgrpApcPtsYouzbmN1002,], "didgrp.apc.pts.youzbm" :[checkDidgrpApcPtsYouzbmN1002,],
// "didgrp.ben.pts.youzbm" :[checkDidgrpBenPtsYouzbmN1004,], "didgrp.ben.pts.youzbm" :[checkDidgrpBenPtsYouzbmN1004,],
// "didgrp.rec.opndat" :[checkDidgrpRecOpndatN100,checkDidgrpRecOpndatN950,], "didgrp.rec.opndat" :[checkDidgrpRecOpndatN100,checkDidgrpRecOpndatN950,],
// "didgrp.rec.avbby" :[checkDidgrpRecAvbbyN100,], "didgrp.rec.avbby" :[checkDidgrpRecAvbbyN100,],
// "didgrp.rec.mytype" :[checkDidgrpRecMytypeN100,], "didgrp.rec.mytype" :[checkDidgrpRecMytypeN100,],
// "ditp.usr.extkey" :[checkDitpUsrExtkeyN100,], "ditp.usr.extkey" :[checkDitpUsrExtkeyN100,],
// "liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :[checkLiaallLimmodWrkpPtsgetSdamodDadsndN100,], "liaall.limmod.wrkp.ptsget.sdamod.dadsnd" :[checkLiaallLimmodWrkpPtsgetSdamodDadsndN100,],
// "ditp.recget.sdamod.dadsnd" :[checkDitpRecgetSdamodDadsndN100,], "ditp.recget.sdamod.dadsnd" :[checkDitpRecgetSdamodDadsndN100,],
// "didgrp.apc.pts.dihdig" :[checkDidgrpApcPtsDihdigN1002,], "didgrp.apc.pts.dihdig" :[checkDidgrpApcPtsDihdigN1002,],
// "didgrp.adv.pts.extkey" :[checkDidgrpAdvPtsExtkeyN100,checkDidgrpAdvPtsExtkeyN950,checkDidgrpAdvPtsExtkeyN960,], "didgrp.adv.pts.extkey" :[checkDidgrpAdvPtsExtkeyN100,checkDidgrpAdvPtsExtkeyN950,checkDidgrpAdvPtsExtkeyN960,],
// "didgrp.rmb.namelc" :[checkDidgrpRmbNamelcN100,], "didgrp.rmb.namelc" :[checkDidgrpRmbNamelcN100,],
// "setmod.docamt" :[checkSetmodDocamtN100,checkSetmodDocamtN15000,], "setmod.docamt" :[checkSetmodDocamtN100,checkSetmodDocamtN15000,],
// "didgrp.adv.pts.dihdig" :[checkDidgrpAdvPtsDihdigN1003,], "didgrp.adv.pts.dihdig" :[checkDidgrpAdvPtsDihdigN1003,],
// "didgrp.rec.expdat" :[checkDidgrpRecExpdatN100,], "didgrp.rec.expdat" :[checkDidgrpRecExpdatN100,],
// "didgrp.ben.pts.extkey" :[checkDidgrpBenPtsExtkeyN950,checkDidgrpBenPtsExtkeyN960,], "didgrp.ben.pts.extkey" :[checkDidgrpBenPtsExtkeyN950,checkDidgrpBenPtsExtkeyN960,],
// "liaall.liaccv.cshpct" :[checkLiaallLiaccvCshpctN100,], "liaall.liaccv.cshpct" :[checkLiaallLiaccvCshpctN100,],
// "didgrp.rec.avbwth" :[checkDidgrpRecAvbwthN100,checkDidgrpRecAvbwthN900,], "didgrp.rec.avbwth" :[checkDidgrpRecAvbwthN100,checkDidgrpRecAvbwthN900,],
// "didgrp.blk.lcrdoc" :[checkDidgrpBlkLcrdocN100,checkDidgrpBlkLcrdocN100,checkDidgrpBlkLcrdocN1001,], "didgrp.blk.lcrdoc" :[checkDidgrpBlkLcrdocN100,checkDidgrpBlkLcrdocN100,checkDidgrpBlkLcrdocN1001,],
// "didgrp.rec.tenmaxday" :[checkDidgrpRecTenmaxdayN1000,checkDidgrpRecTenmaxdayN1050,], "didgrp.rec.tenmaxday" :[checkDidgrpRecTenmaxdayN1000,checkDidgrpRecTenmaxdayN1050,],
// "didgrp.cbs.nom1.amt" :[checkDidgrpCbsNom1AmtN100,], "didgrp.cbs.nom1.amt" :[checkDidgrpCbsNom1AmtN100,],
// "didgrp.blk.preper" :[checkDidgrpBlkPreperN100,checkDidgrpBlkPreperN100,], "didgrp.blk.preper" :[checkDidgrpBlkPreperN100,checkDidgrpBlkPreperN100,],
// "didgrp.apl.adrelc" :[checkDidgrpAplAdrelcN100,], "didgrp.apl.adrelc" :[checkDidgrpAplAdrelcN100,],
// "ditp.rmbp.ptsget.sdamod.dadsnd" :[checkDitpRmbpPtsgetSdamodDadsndN100,], "ditp.rmbp.ptsget.sdamod.dadsnd" :[checkDitpRmbpPtsgetSdamodDadsndN100,],
// "didgrp.ben.pts.extact" :[checkDidgrpBenPtsExtactN1001,], "didgrp.ben.pts.extact" :[checkDidgrpBenPtsExtactN1001,],
// "didgrp.blk.adlcnd" :[checkDidgrpBlkAdlcndN100,checkDidgrpBlkAdlcndN100,], "didgrp.blk.adlcnd" :[checkDidgrpBlkAdlcndN100,checkDidgrpBlkAdlcndN100,],
// "litameadv" :[checkLitameadvN100,], "litameadv" :[checkLitameadvN100,],
// "liaall.liaccv.relcshpct" :[checkLiaallLiaccvRelcshpctN100,], "liaall.liaccv.relcshpct" :[checkLiaallLiaccvRelcshpctN100,],
// } }
// /** /**
// * source:liaall.@0019.script * source:liaall.@0019.script
// * liaall * liaall
// */ */
// function checkLiaallMisamtN100() function checkLiaallMisamtN100()
// { {
// }
// if( model.misamt != 0 ) /**
// { * source:limmod.@0005.script
// Utils.errorMessage( "#CT000030", model.concur, Utils.fmtAmount( model.misamt, model.concur ) ); * liaall.limmod
// } */
// function checkLiaallLimmodLimptsOthPtsExtkeyN100()
// {
// } }
// /** /**
// * source:limmod.@0005.script * source:ptsget.@0009.script
// * liaall.limmod * liaall.limmod.othp.ptsget
// */ */
// function checkLiaallLimmodLimptsOthPtsExtkeyN100() function checkLiaallLimmodLimptsOthPtsExtkeyN950()
// { {
// }
// if( Utils.isVisible( model.limpts.oth.pts.extkey ) && Utils.IsEnabled( model.limpts.oth.pts.extkey ) ) /**
// { * source:ptsp.@0013.script
// if( Utils.isEmpty(model.limpts.oth.pts.extkey) ) * liaall.limmod.othp
// { */
// Utils.errorMandatory(); function checkLiaallLimmodLimptsOthPtsExtkeyN960()
// } {
// } }
// /**
// * source:ditopn.@0104.script
// } *
// /** */
// * source:ptsget.@0009.script function checkDidgrpAplPtsRefN100()
// * liaall.limmod.othp.ptsget {
// */ }
// function checkLiaallLimmodLimptsOthPtsExtkeyN950() /**
// { * source:ditopn.@0121.script
// *
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled */
// if( Utils.isEmpty( model.dissel ) ) function checkDidgrpAplPtsYouzbmN100()
// { {
// if( checkPTYTYP() ) }
// { /**
// checkStopAndInfo(); * source:ditopn.@0092.script
// } *
// } */
// function checkAmeadvrmkN100()
// {
// } }
// /** /**
// * source:ptsp.@0013.script * source:limmod.@0097.script
// * liaall.limmod.othp * liaall.limmod
// */ */
// function checkLiaallLimmodLimptsOthPtsExtkeyN960() function checkLiaallLimmodOwnrefN100()
// { {
// BGSERVICE }
// } /**
// /** * source:ditp.@0027.script
// * source:ditopn.@0104.script * ditp
// * */
// */ function checkDidgrpRecExpplcN900()
// function checkDidgrpAplPtsRefN100() {
// { }
// /**
// if( Utils.isEmpty(model.didgrp.apl.pts.ref) ) * source:ditp.@0088.script
// { * ditp
// Utils.errorMandatory(); */
// } function checkDidgrpRecFqtimeN100()
// {
// }
// } /**
// /** * source:ptsp.@0031.script
// * source:ditopn.@0121.script * ditp.advp
// * */
// */ function checkDidgrpAdvPtsBanknoN100()
// function checkDidgrpAplPtsYouzbmN100() {
// { }
// /**
// if( model.didgrp.rec.elcflg == "Y" ) * source:ditopn.@0106.script
// { *
// model.trnmod.chineseallow ( model.didgrp.apl.pts.youzbm ); */
// } function checkDidgrpRecTratypN100()
// {
// }
// } /**
// /** * source:limmod.@0085.script
// * source:ditopn.@0092.script * liaall.limmod
// * */
// */ function checkLiaallLimmodEcifnoN100()
// function checkAmeadvrmkN100() {
// { }
// /**
// if( model.litameadv == "有特殊规定,条件为: " && Utils.isEmpty( model.ameadvrmk ) ) * source:ptsget.@0001.script
// { * ditp.benp.ptsget
// Utils.errorMandatory(); */
// } function checkDitpBenpPtsgetSdamodDadsndN100()
// {
// }
// } /**
// /** * source:ditp.@0040.script
// * source:limmod.@0097.script * ditp
// * liaall.limmod */
// */ function checkDidgrpRecRevdatN100()
// function checkLiaallLimmodOwnrefN100() {
// { }
// /**
// if( needRecalcLimits() && model.inifrm == "LITROG" ) * source:ptsget.@0009.script
// { * ditp.issp.ptsget
// if( Utils.isEmpty(model.ownref) ) */
// { function checkDidgrpIssPtsExtkeyN950()
// Utils.errorMandatory(); {
// } }
// } /**
// * source:ptsp.@0013.script
// * ditp.issp
// } */
// /** function checkDidgrpIssPtsExtkeyN960()
// * source:ditp.@0027.script {
// * ditp }
// */ /**
// function checkDidgrpRecExpplcN900() * source:ditp.@0092.script
// { * ditp
// */
// if( model.pansta == PanStaEdit ) function checkDidgrpRecSdsrfsN100()
// { {
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) ) }
// { /**
// if( Utils.isEmpty( model.didgrp.rec.expplc ) ) * source:ditopn.@0124.script
// { *
// Utils.errorMandatory(); */
// } function checkDidgrpIssPtsYouzbmN1001()
// } {
// } }
// let frame = model.sysmod.atp.cod; /**
// let len = 0; * source:ditp.@0082.script
// if( frame == "DITOPN" || frame == "DITAME" ) * ditp
// { */
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.expplc ); function checkDidgrpRecFqzytgfwN100()
// if( ! Utils.isEmpty( model.didgrp.rec.expplc ) ) {
// { }
// if( len > 100 ) /**
// { * source:ditp.@0029.script
// Utils.errorMessage( #CT000077 ); * ditp
// } */
// } function checkDidgrpRecConamtN100()
// } {
// }
// /**
// } * source:ptsp.@0031.script
// /** * ditp.apcp
// * source:ditp.@0088.script */
// * ditp function checkDidgrpApcPtsBanknoN100()
// */ {
// function checkDidgrpRecFqtimeN100() }
// { /**
// * source:ditp.@0091.script
// let frame = model.sysmod.atp.cod; * ditp
// let len = 0; */
// if( frame == "DITOPN" || frame == "DITAME" ) function checkDidgrpRecShpproN100()
// { {
// if( ! Utils.isEmpty( model.didgrp.rec.fqtime ) ) }
// { /**
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.fqtime ); * source:ditp.@0090.script
// if( len > 100 ) * ditp
// { */
// Utils.errorMessage( #CT000078 ); function checkDidgrpRecShptoN100()
// } {
// } }
// } /**
// * source:ptsp.@0038.script
// * ditp.benp
// } */
// /** function checkDidgrpBenNamelcN100()
// * source:ptsp.@0031.script {
// * ditp.advp }
// */ /**
// function checkDidgrpAdvPtsBanknoN100() * source:ptsp.@0031.script
// { * ditp.cmbp
// BGSERVICE */
// } function checkDidgrpCmbPtsBanknoN100()
// /** {
// * source:ditopn.@0106.script }
// * /**
// */ * source:ditopn.@0108.script
// function checkDidgrpRecTratypN100() *
// { */
// function checkDidgrpRecShpparN100()
// //---DZTEST--- {
// if( model.didgrp.rec.elcflg == "Y" ) }
// { /**
// if( model.didgrp.rec.mytype == "H" || model.didgrp.rec.mytype == "3" ) * source:ptsget.@0001.script
// { * liaall.limmod.othp.ptsget
// if( Utils.isEmpty( model.didgrp.rec.tratyp ) ) */
// { function checkLiaallLimmodOthpPtsgetSdamodDadsndN100()
// Utils.errorMandatory(); {
// } }
// } /**
// } * source:ptsp.@0039.script
// * ditp.rmbp
// */
// } function checkDidgrpRmbAdrelcN100()
// /** {
// * source:limmod.@0085.script }
// * liaall.limmod /**
// */ * source:ptsget.@0009.script
// function checkLiaallLimmodEcifnoN100() * ditp.aplp.ptsget
// { */
// function checkDidgrpAplPtsExtkeyN950()
// if( model.wrkp.ptspta.ptytyp == "B" ) {
// { }
// if( Utils.isEmpty(model.ecifno) ) /**
// { * source:ptsp.@0013.script
// Utils.errorMandatory(); * ditp.aplp
// } */
// } function checkDidgrpAplPtsExtkeyN960()
// {
// }
// } /**
// /** * source:ptsp.@0031.script
// * source:ptsget.@0001.script * ditp.apbp
// * ditp.benp.ptsget */
// */ function checkDidgrpApbPtsBanknoN100()
// function checkDitpBenpPtsgetSdamodDadsndN100() {
// { }
// /**
// if( Utils.isEmpty( model.ptspta.pts.extkey ) ) * source:ditp.@0035.script
// { * ditp
// Utils.errorMessage( #CT000000 ); */
// } function checkDidgrpRecRmbchaN100()
// {
// }
// } /**
// /** * source:ptsget.@0001.script
// * source:ditp.@0040.script * ditp.aplp.ptsget
// * ditp */
// */ function checkDitpAplpPtsgetSdamodDadsndN100()
// function checkDidgrpRecRevdatN100() {
// { }
// /**
// if( Utils.IsEnabled( model.didgrp.rec.revdat ) ) * source:ptsp.@0031.script
// { * ditp.avbp
// if( model.didgrp.rec.revtyp == "REVPER" && Utils.isEmpty( model.didgrp.rec.revdat ) ) */
// { function checkDidgrpAvbPtsBanknoN100()
// if( Utils.isEmpty( model.didgrp.rec.revawapl ) ) {
// { }
// Utils.errorMessage( #CT000005 ); /**
// } * source:ptsget.@0009.script
// } * ditp.rmbp.ptsget
// } */
// function checkDidgrpRmbPtsExtkeyN950()
// {
// } }
// /** /**
// * source:ptsget.@0009.script * source:ptsp.@0013.script
// * ditp.issp.ptsget * ditp.rmbp
// */ */
// function checkDidgrpIssPtsExtkeyN950() function checkDidgrpRmbPtsExtkeyN960()
// { {
// }
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled /**
// if( Utils.isEmpty( model.dissel ) ) * source:setmod.@0076.script
// { * setmod
// if( checkPTYTYP() ) */
// { function checkSetmodDspflgN100()
// checkStopAndInfo(); {
// } }
// } /**
// * source:setmod.@0090.script
// * setmod
// } */
// /** function checkSetmodDspflgN1100()
// * source:ptsp.@0013.script {
// * ditp.issp }
// */ /**
// function checkDidgrpIssPtsExtkeyN960() * source:setmod.@0146.script
// { * setmod
// BGSERVICE */
// } function checkSetmodDspflgN1200()
// /** {
// * source:ditp.@0092.script }
// * ditp /**
// */ * source:txmmod.@0009.script
// function checkDidgrpRecSdsrfsN100() * ditp.revclause
// { */
// function checkDidgrpBlkRevclsN100()
// /** {
// model.frame = \SYSMOD\ATP\COD }
// **/ /**
// let len = 0; * source:ptsp.@0031.script
// if( ! Utils.isEmpty( model.didgrp.rec.sdsrfs ) ) * ditp.rmbp
// { */
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.sdsrfs ); function checkDidgrpRmbPtsBanknoN100()
// if( len > 20 ) {
// { }
// Utils.errorMessage( #CT000082 ); /**
// } * source:ptsp.@0039.script
// } * ditp.benp
// else */
// { function checkDidgrpBenAdrelcN100()
// /** {
// if DIDGRP\REC\TRATYP == "08" then }
// **/ /**
// if( model.didgrp.rec.tratyp == "08" || model.didgrp.rec.mytype == "F" ) * source:ditp.@0043.script
// { * ditp
// Utils.errorMandatory(); */
// } function checkDidgrpRecApprulrmbN100()
// } {
// }
// /**
// } * source:ditopn.@0122.script
// /** *
// * source:ditopn.@0124.script */
// * function checkDidgrpAplPtsDihdigN100()
// */ {
// function checkDidgrpIssPtsYouzbmN1001() }
// { /**
// * source:ditopn.@0112.script
// if( model.didgrp.rec.elcflg == "Y" ) *
// { */
// model.trnmod.chineseallow ( model.didgrp.iss.pts.youzbm ); function checkDidgrpRecConnoN100()
// } {
// }
// /**
// } * source:ditp.@0103.script
// /** * ditp
// * source:ditp.@0082.script */
// * ditp function checkDidgrpRecConnoN1001()
// */ {
// function checkDidgrpRecFqzytgfwN100() }
// { /**
// * source:txmmod.@0009.script
// //---DZTEST--- * ditp.defdet
// if( model.didgrp.rec.elcflg == "Y" ) */
// { function checkDidgrpBlkDefdetN100()
// if( model.didgrp.rec.shppar == "Y" || model.didgrp.rec.shppar == "允许" ) {
// { }
// if( Utils.isEmpty( model.didgrp.rec.fqzytgfw ) ) /**
// { * source:ditp.@0047.script
// Utils.errorMandatory(); * ditp
// } */
// } function checkDidgrpBlkDefdetN100()
// } {
// }
// /**
// } * source:ditp.@0104.script
// /** * ditp
// * source:ditp.@0029.script */
// * ditp function checkDidgrpBlkDefdetN1001()
// */ {
// function checkDidgrpRecConamtN100() }
// { /**
// * source:ditopn.@0118.script
// /** *
// if DIDGRP\REC\ELCFLG == "Y" then */
// model.frame = \SYSMOD\ATP\COD function checkDidgrpRecElcflgN100()
// 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 ) * source:txmmod.@0009.script
// model.right = Mid( model.str, model.pos + 3 ) * ditp.insbnk
// if Len( model.left ) > 14 then */
// Error( 'L0000083' ) function checkDidgrpBlkInsbnkN100()
// endif {
// if Val( model.right ) <> 0 then }
// Error( 'L0000084' ) /**
// endif * source:liaccv.@0016.script
// endif * liaall.liaccv
// endi**/ */
// function checkLiaallLiaccvTotcovamtN100()
// {
// } }
// /** /**
// * source:ptsp.@0031.script * source:ptsp.@0031.script
// * ditp.apcp * ditp.bebp
// */ */
// function checkDidgrpApcPtsBanknoN100() function checkDidgrpBebPtsBanknoN100()
// { {
// BGSERVICE }
// } /**
// /** * source:ptsp.@0014.script
// * source:ditp.@0091.script * ditp.aplp
// * ditp */
// */ function checkDidgrpAplPtsAdrblkN950()
// function checkDidgrpRecShpproN100() {
// { }
// /**
// let frame = null; * source:ditp.@0026.script
// let len = 0; * ditp
// if( model.didgrp.rec.elcflg == "Y" ) */
// { function checkDidgrpRecLcrtypN900()
// frame = model.sysmod.atp.cod; {
// if( frame == "DITOPN" || frame == "DITAME" ) }
// { /**
// if( ! Utils.isEmpty( model.didgrp.rec.shppro ) ) * source:ditp.@0089.script
// { * ditp
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.shppro ); */
// if( len > 100 ) function checkDidgrpRecShpfroN100()
// { {
// Utils.errorMessage( #CT000081 ); }
// } /**
// } * source:ditopn.@0079.script
// } *
// } */
// function checkDidgrpRecGuaflgN100()
// {
// } }
// /** /**
// * source:ditp.@0090.script * source:ptsp.@0031.script
// * ditp * ditp.issp
// */ */
// function checkDidgrpRecShptoN100() function checkDidgrpIssPtsBanknoN100()
// { {
// }
// let frame = null; /**
// let len = 0; * source:txmmod.@0009.script
// if( model.didgrp.rec.elcflg == "Y" ) * ditp.lcrgod
// { */
// frame = model.sysmod.atp.cod; function checkDidgrpBlkLcrgodN100()
// if( frame == "DITOPN" || frame == "DITAME" ) {
// { }
// if( ! Utils.isEmpty( model.didgrp.rec.shpto ) ) /**
// { * source:ditopn.@0109.script
// len = model.trnmod.chineseFldLength ( model.didgrp.rec.shpto ); *
// if( len > 100 ) */
// { function checkDidgrpBlkLcrgodN100()
// Utils.errorMessage( #CT000080 ); {
// } }
// } /**
// } * source:ditp.@0100.script
// } * ditp
// */
// function checkDidgrpBlkLcrgodN1001()
// } {
// /** }
// * source:ptsp.@0038.script /**
// * ditp.benp * source:ditopn.@0115.script
// */ *
// function checkDidgrpBenNamelcN100() */
// { function checkDidgrpRecIdcodeN100()
// BGSERVICE {
// } }
// /** /**
// * source:ptsp.@0031.script * source:ditopn.@0111.script
// * ditp.cmbp *
// */ */
// function checkDidgrpCmbPtsBanknoN100() function checkDidgrpRecFenctgN100()
// { {
// BGSERVICE }
// } /**
// /** * source:limmod.@0099.script
// * source:ditopn.@0108.script * liaall.limmod
// * */
// */ function checkLiaallLimmodLimptsWrkPtsExtkeyN100()
// function checkDidgrpRecShpparN100() {
// { }
// /**
// //---DZTEST--- * source:ptsget.@0009.script
// if( model.didgrp.rec.elcflg == "Y" ) * liaall.limmod.wrkp.ptsget
// { */
// if( Utils.isEmpty( model.didgrp.rec.shppar ) ) function checkLiaallLimmodLimptsWrkPtsExtkeyN950()
// { {
// Utils.errorMandatory(); }
// } /**
// } * source:ptsp.@0013.script
// * liaall.limmod.wrkp
// */
// } function checkLiaallLimmodLimptsWrkPtsExtkeyN960()
// /** {
// * source:ptsget.@0001.script }
// * liaall.limmod.othp.ptsget /**
// */ * source:ditopn.@0131.script
// function checkLiaallLimmodOthpPtsgetSdamodDadsndN100() *
// { */
// function checkDidgrpBenPtsDihdigN1004()
// if( Utils.isEmpty( model.ptspta.pts.extkey ) ) {
// { }
// Utils.errorMessage( #CT000000 ); /**
// } * source:ditopn.@0107.script
// *
// */
// } function checkDidgrpRecShpdatN100()
// /** {
// * source:ptsp.@0039.script }
// * ditp.rmbp /**
// */ * source:ditopn.@0002.script
// function checkDidgrpRmbAdrelcN100() *
// { */
// BGSERVICE function checkDidgrpRecShpdatN999()
// } {
// /** }
// * source:ptsget.@0009.script /**
// * ditp.aplp.ptsget * source:ditopn.@0005.script
// */ *
// function checkDidgrpAplPtsExtkeyN950() */
// { function checkDidgrpCbsNom1CurN100()
// {
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled }
// if( Utils.isEmpty( model.dissel ) ) /**
// { * source:ditopn.@0125.script
// if( checkPTYTYP() ) *
// { */
// checkStopAndInfo(); function checkDidgrpIssPtsDihdigN1001()
// } {
// } }
// /**
// * source:ptsp.@0038.script
// } * ditp.aplp
// /** */
// * source:ptsp.@0013.script function checkDidgrpAplNamelcN100()
// * ditp.aplp {
// */ }
// function checkDidgrpAplPtsExtkeyN960() /**
// { * source:ditp.@0039.script
// BGSERVICE * ditp
// } */
// /** function checkDidgrpRecRevtypN100()
// * source:ptsp.@0031.script {
// * ditp.apbp }
// */ /**
// function checkDidgrpApbPtsBanknoN100() * source:ptsp.@0014.script
// { * ditp.rmbp
// BGSERVICE */
// } function checkDidgrpRmbPtsAdrblkN950()
// /** {
// * source:ditp.@0035.script }
// * ditp /**
// */ * source:coninf.@0014.script
// function checkDidgrpRecRmbchaN100() * mtabut.coninf
// { */
// function checkMtabutConinfConexedatN100()
// //------------------------ {
// /** }
// // 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 * source:ditopn.@0128.script
// if IsEmpty( DIDGRP\REC\RMBCHA ) then *
// ErrorMandatory */
// endif function checkDidgrpAdvPtsYouzbmN1003()
// endi**/ {
// }
// /**
// } * source:ditopn.@0123.script
// /** *
// * source:ptsget.@0001.script */
// * ditp.aplp.ptsget function checkDidgrpAplPtsExtactN100()
// */ {
// function checkDitpAplpPtsgetSdamodDadsndN100() }
// { /**
// * source:ptsp.@0014.script
// if( Utils.isEmpty( model.ptspta.pts.extkey ) ) * ditp.benp
// { */
// Utils.errorMessage( #CT000000 ); function checkDidgrpBenPtsAdrblkN950()
// } {
// }
// /**
// } * source:limpts.@0000.script
// /** * liaall.limmod.limpts
// * source:ptsp.@0031.script */
// * ditp.avbp function checkLiaallLimmodLimptsNonrevflg1N100()
// */ {
// function checkDidgrpAvbPtsBanknoN100() }
// { /**
// BGSERVICE * source:ditopn.@0126.script
// } *
// /** */
// * source:ptsget.@0009.script function checkDidgrpApcPtsYouzbmN1002()
// * ditp.rmbp.ptsget {
// */ }
// function checkDidgrpRmbPtsExtkeyN950() /**
// { * source:ditopn.@0130.script
// *
// //! check if selected party matches type creteria and Stopcode/infotext, if GET enabled */
// if( Utils.isEmpty( model.dissel ) ) function checkDidgrpBenPtsYouzbmN1004()
// { {
// if( checkPTYTYP() ) }
// { /**
// checkStopAndInfo(); * source:ditopn.@0027.script
// } *
// } */
// function checkDidgrpRecOpndatN100()
// {
// } }
// /** /**
// * source:ptsp.@0013.script * source:ditp.@0028.script
// * ditp.rmbp * ditp
// */ */
// function checkDidgrpRmbPtsExtkeyN960() function checkDidgrpRecOpndatN950()
// { {
// BGSERVICE }
// } /**
// /** * source:ditopn.@0030.script
// * source:setmod.@0076.script *
// * setmod */
// */ function checkDidgrpRecAvbbyN100()
// function checkSetmodDspflgN100() {
// { }
// /**
// //! DSPFLG is mandatory if enabled * source:ditp.@0077.script
// if( Utils.IsEnabled( model.dspflg ) && Utils.isEmpty( model.dspflg ) ) * ditp
// { */
// Utils.errorMandatory(); function checkDidgrpRecMytypeN100()
// } {
// }
// /**
// } * source:ditp.@0012.script
// /** * ditp
// * source:setmod.@0090.script */
// * setmod function checkDitpUsrExtkeyN100()
// */ {
// function checkSetmodDspflgN1100() }
// { /**
// * source:ptsget.@0001.script
// if( Utils.isVisible( model.setpan ) && Utils.IsEnabled( model.dspflg ) ) * liaall.limmod.wrkp.ptsget
// { */
// if( model.dspflg.equals ( "C" ) ) function checkLiaallLimmodWrkpPtsgetSdamodDadsndN100()
// { {
// if( model.setglg.totamt <= 0 ) }
// { /**
// Utils.errorMessage( #CT000423 ); * source:didget.@0001.script
// } * ditp.recget
// } */
// } function checkDitpRecgetSdamodDadsndN100()
// {
// }
// } /**
// /** * source:ditopn.@0127.script
// * source:setmod.@0146.script *
// * setmod */
// */ function checkDidgrpApcPtsDihdigN1002()
// function checkSetmodDspflgN1200() {
// { }
// /**
// boolean wrnSet = false; * source:ditopn.@0022.script
// let rolTxt = ""; *
// IStream rolStm = new StreamImpl(); */
// Utils.streamClear( rolStm ); function checkDidgrpAdvPtsExtkeyN100()
// 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 ) * source:ptsget.@0009.script
// { * ditp.advp.ptsget
// Utils.streamInsert( rolStm, 0, model.trnmod.trndoc.doceot[i]\role ); */
// } function checkDidgrpAdvPtsExtkeyN950()
// } {
// if( ! Utils.isEmpty( rolStm ) ) }
// { /**
// gridcnt = Utils.gridCount( model.setfeg.setfel ); * source:ptsp.@0013.script
// //DSP为"V"的状态光大封掉了 * ditp.advp
// /** */
// for model.idx = 1 to $Gridcnt function checkDidgrpAdvPtsExtkeyN960()
// 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 * source:ptsp.@0038.script
// next * ditp.rmbp
// **/ */
// if( ! wrnSet ) function checkDidgrpRmbNamelcN100()
// { {
// gridcnt = Utils.gridCount( model.setfog.setfol ); }
// for(let idx = 1;idx <= gridcnt;idx++) /**
// { * source:setmod.@0016.script
// if( model.setfog.setfol[idx]\dsp.equals ( "V" ) && Utils.streamSearch( rolStm, model.setfog.setfol[idx]\ptydbt ) > 0 ) * setmod
// { */
// wrnSet = true; function checkSetmodDocamtN100()
// rolTxt = model.trnmod.ptsmod.ptssub.getAnyRolNam( $\, Utils.recGetObj( model.mtabut.rec ), model.setfog.setfol[idx]\ptydbt, Utils.getLang() ); {
// } }
// } /**
// } * source:liaall.@0036.script
// } * liaall
// if( ! wrnSet ) */
// { function checkSetmodDocamtN15000()
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, "", "" ); {
// } }
// else /**
// { * source:ditopn.@0129.script
// model.trnmod.mtabut.syswrn.sysWarningSet( SYSWRNTypeWarning, Utils.getText( #CT000429, rolTxt ), "" ); *
// } */
// function checkDidgrpAdvPtsDihdigN1003()
// {
// } }
// /** /**
// * source:txmmod.@0009.script * source:ditopn.@0003.script
// * ditp.revclause *
// */ */
// function checkDidgrpBlkRevclsN100() function checkDidgrpRecExpdatN100()
// { {
// }
// //! Set error, if block contains an Asterisk and is enabled /**
// //! ZL add for swift standards relese 2018 * source:ptsget.@0009.script
// //占位符“*”给为占位符“~” * ditp.benp.ptsget
// //add tby */
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead: function checkDidgrpBenPtsExtkeyN950()
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) ) {
// { }
// Utils.errorAsterisk( model.txmblock ); /**
// } * source:ptsp.@0013.script
// * ditp.benp
// */
// } function checkDidgrpBenPtsExtkeyN960()
// /** {
// * source:ptsp.@0031.script }
// * ditp.rmbp /**
// */ * source:liaccv.@0025.script
// function checkDidgrpRmbPtsBanknoN100() * liaall.liaccv
// { */
// BGSERVICE function checkLiaallLiaccvCshpctN100()
// } {
// /** }
// * source:ptsp.@0039.script /**
// * ditp.benp * source:ditp.@0024.script
// */ * ditp
// function checkDidgrpBenAdrelcN100() */
// { function checkDidgrpRecAvbwthN100()
// BGSERVICE {
// } }
// /** /**
// * source:ditp.@0043.script * source:ditp.@0046.script
// * ditp * ditp
// */ */
// function checkDidgrpRecApprulrmbN100() function checkDidgrpRecAvbwthN900()
// { {
// }
// /** /**
// if PANSTA == PanStaEdit and \TRNMOD.IsSftRelNov06Active then * source:txmmod.@0009.script
// if not IsEmpty( DIDGRP\REC\RMBFLG ) then * ditp.lcrdoc
// if IsEmpty( DIDGRP\REC\APPRULRMB ) then */
// ErrorMandatory function checkDidgrpBlkLcrdocN100()
// endif {
// endif }
// endi**/ /**
// * source:ditopn.@0110.script
// *
// } */
// /** function checkDidgrpBlkLcrdocN100()
// * source:ditopn.@0122.script {
// * }
// */ /**
// function checkDidgrpAplPtsDihdigN100() * source:ditp.@0101.script
// { * ditp
// */
// if( model.didgrp.rec.elcflg == "Y" ) function checkDidgrpBlkLcrdocN1001()
// { {
// model.trnmod.chineseallow ( model.didgrp.apl.pts.dihdig ); }
// } /**
// * source:ditopn.@0044.script
// *
// } */
// /** function checkDidgrpRecTenmaxdayN1000()
// * source:ditopn.@0112.script {
// * }
// */ /**
// function checkDidgrpRecConnoN100() * source:ditp.@0049.script
// { * ditp
// */
// //---DZTEST--- function checkDidgrpRecTenmaxdayN1050()
// if( model.didgrp.rec.elcflg == "Y" ) {
// { }
// if( Utils.isEmpty( model.didgrp.rec.conno ) ) /**
// { * source:ditopn.@0006.script
// Utils.errorMandatory(); *
// } */
// } function checkDidgrpCbsNom1AmtN100()
// {
// }
// } /**
// /** * source:txmmod.@0009.script
// * source:ditp.@0103.script * ditp.preper
// * ditp */
// */ function checkDidgrpBlkPreperN100()
// function checkDidgrpRecConnoN1001() {
// { }
// /**
// let frame = null; * source:ditp.@0083.script
// if( model.didgrp.rec.elcflg == "Y" ) * ditp
// { */
// frame = model.sysmod.atp.cod; function checkDidgrpBlkPreperN100()
// if( frame == "DITOPN" || frame == "DITAME" ) {
// { }
// if( ! Utils.isEmpty( model.didgrp.rec.conno ) ) /**
// { * source:ptsp.@0039.script
// if( Utils.len( model.didgrp.rec.conno ) > 70 ) * ditp.aplp
// { */
// Utils.errorMessage( #CT000090 ); function checkDidgrpAplAdrelcN100()
// } {
// } }
// } /**
// } * source:ptsget.@0001.script
// * ditp.rmbp.ptsget
// */
// } function checkDitpRmbpPtsgetSdamodDadsndN100()
// /** {
// * source:txmmod.@0009.script }
// * ditp.defdet /**
// */ * source:ditopn.@0132.script
// function checkDidgrpBlkDefdetN100() *
// { */
// function checkDidgrpBenPtsExtactN1001()
// //! Set error, if block contains an Asterisk and is enabled {
// //! ZL add for swift standards relese 2018 }
// //占位符“*”给为占位符“~” /**
// //add tby * source:txmmod.@0009.script
// // `if IsEnabled( TXMBLOCK ) then ` does not work with TRADE2 yet. Thus use the following line instead: * ditp.adlcnd
// if( Utils.IsEnabled( Utils.getField( Utils.getAttributeText( model.txmblock, tdAttrFullName ) ) ) ) */
// { function checkDidgrpBlkAdlcndN100()
// Utils.errorAsterisk( model.txmblock ); {
// } }
// /**
// * source:ditp.@0102.script
// } * ditp
// /** */
// * source:ditp.@0047.script function checkDidgrpBlkAdlcndN100()
// * ditp {
// */ }
// function checkDidgrpBlkDefdetN100() /**
// { * source:ditopn.@0090.script
// *
// if( model.pansta == PanStaEdit ) */
// { function checkLitameadvN100()
// if( ! Utils.isEmpty( model.didgrp.rec.opndat ) ) {
// { }
// if( ( model.didgrp.rec.avbby == "D" ) && Utils.isEmpty( model.didgrp.blk.defdet ) ) /**
// { * source:liaccv.@0024.script
// Utils.errorMessage( #CT000020 ); * liaall.liaccv
// } */
// } function checkLiaallLiaccvRelcshpctN100()
// } {
// }
//
// }
// /**
// * 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;
// }
//
//
// }
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
/** /**
* Ditopn Default规则 * Ditopn Default规则
*/ */
import Api from "~/service/Api";
export default { export default {
"didgrp.rec.resflg" :defaultDidgrpRecResflg, "didgrp.rec.resflg" :defaultDidgrpRecResflg,
...@@ -118,1223 +119,334 @@ export default { ...@@ -118,1223 +119,334 @@ export default {
} }
function defaultDidgrpRecResflg() function defaultDidgrpRecResflg()
{ {
<#!--
if(!ditopn.getDitp().defaultDidgrpRecResflgN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultMtabutConinfUsrExtkey() function defaultMtabutConinfUsrExtkey()
{ {
<#!--
if(!ditopn.getTrnmod().defaultMtabutConinfUsrExtkeyN100(ctx,100) )
{
return false;
}
if(!ditopn.getMtabut().getConinf().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpApcPtsBankno() function defaultDidgrpApcPtsBankno()
{ {
<#!--
if(!ditopn.getDitp().getApcp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
if(!ditopn.getDitp().defaultDidgrpApcPtsBanknoN1002(ctx,1002) )
{
return false;
}
return true;
--#>
} }
function defaultTrnmodTrndocAdvnam() function defaultTrnmodTrndocAdvnam()
{ {
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAdvnamN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpRmbpDet() function defaultDitpRmbpDet()
{ {
<#!--
if(!ditopn.getDitp().getRmbp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodLimptsOthPtsNam() function defaultLiaallLimmodLimptsOthPtsNam()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().getOthp().defaultPtsptaPtsNamN1500(ctx,1500) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRmbPtsExtkey() function defaultDidgrpRmbPtsExtkey()
{ {
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
} }
function defaultSetmodDspflg() function defaultSetmodDspflg()
{ {
<#!--
if(!ditopn.getSetmod().defaultDspflgN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodOthpDet() function defaultLiaallLimmodOthpDet()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().getOthp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultMtabutConinfOitinfLabinftxt() function defaultMtabutConinfOitinfLabinftxt()
{ {
<#!--
if(!ditopn.getMtabut().getConinf().getOitinf().defaultLabinftxtN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultMtabutConinfOitsetLabinftxt() function defaultMtabutConinfOitsetLabinftxt()
{ {
<#!--
if(!ditopn.getMtabut().getConinf().getOitset().defaultLabinftxtN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpBenpDet() function defaultDitpBenpDet()
{ {
<#!--
if(!ditopn.getDitp().getBenp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodLimptsLsh() function defaultLiaallLimmodLimptsLsh()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsLshN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecBdflg() function defaultDidgrpRecBdflg()
{ {
<#!--
if(!ditopn.defaultDidgrpRecBdflgN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpLcrgodButtxmsel() function defaultDitpLcrgodButtxmsel()
{ {
<#!--
if(!ditopn.getDitp().getLcrgod().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecOpndat() function defaultDidgrpRecOpndat()
{ {
<#!--
if(!ditopn.defaultDidgrpRecOpndatN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodWrkpDet() function defaultLiaallLimmodWrkpDet()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().getWrkp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpUsrExtkey() function defaultDitpUsrExtkey()
{ {
<#!--
if(!ditopn.getDitp().defaultUsrgetUsrExtkeyN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().getUsrget().defaultUsrExtkeyN1003(ctx,1003) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodWrkpPtsgetSdamodDadsnd() function defaultLiaallLimmodWrkpPtsgetSdamodDadsnd()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().getWrkp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpButgetref() function defaultDitpButgetref()
{ {
<#!--
if(!ditopn.getDitp().defaultButgetrefN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpBenPtsExtkey() function defaultDidgrpBenPtsExtkey()
{ {
<#!--
if(!ditopn.getDitp().getBenp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpBlkLcrdoc() 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() function defaultDitpRmbpPtsgetSdamodDadsnd()
{ {
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLitameadv() function defaultLitameadv()
{ {
<#!--
if(!ditopn.defaultLitameadvN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpBlkAdlcnd() function defaultDidgrpBlkAdlcnd()
{ {
<#!--
if(!ditopn.getDidgrp().defaultBlkAdlcndN100(ctx,100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkAdlcndN9000(ctx,9000) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpAplPtsRef() function defaultDidgrpAplPtsRef()
{ {
<#!--
if(!ditopn.getDitp().getAplp().defaultPtsptaPtsRefN900(ctx,900) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecFqtime() function defaultDidgrpRecFqtime()
{ {
<#!--
if(!ditopn.getDitp().defaultDidgrpRecFqtimeN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpCmbPtsBankno() function defaultDidgrpCmbPtsBankno()
{ {
<#!--
if(!ditopn.getDitp().getCmbp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodOthpPtsgetSdamodDadsnd() function defaultLiaallLimmodOthpPtsgetSdamodDadsnd()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().getOthp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpApbPtsBankno() function defaultDidgrpApbPtsBankno()
{ {
<#!--
if(!ditopn.getDitp().getApbp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
if(!ditopn.getDitp().defaultDidgrpApbPtsBanknoN1001(ctx,1001) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecRedclsflg() function defaultDidgrpRecRedclsflg()
{ {
<#!--
if(!ditopn.getDitp().getDitp0().defaultDidgrpRecRedclsflgN1100(ctx,1100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecConcur() function defaultDidgrpRecConcur()
{ {
<#!--
if(!ditopn.getDitp().defaultDidgrpRecConcurN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodTrycal() function defaultLiaallLimmodTrycal()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().defaultTrycalN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultTrnmodTrndocAdvlabel() function defaultTrnmodTrndocAdvlabel()
{ {
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAdvlabelN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLiaccvDel() function defaultLiaallLiaccvDel()
{ {
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultDelN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpIssPtsBankno() function defaultDidgrpIssPtsBankno()
{ {
<#!--
if(!ditopn.getDitp().getIssp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallButmissig() function defaultLiaallButmissig()
{ {
<#!--
if(!ditopn.getLiaall().defaultButmissigN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpRevclauseButtxmsel() function defaultDitpRevclauseButtxmsel()
{ {
<#!--
if(!ditopn.getDitp().getRevclause().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpCbsNom1Cur() function defaultDidgrpCbsNom1Cur()
{ {
<#!--
if(!ditopn.defaultDidgrpCbsNom1CurN100(ctx,100) )
{
return false;
}
if(!ditopn.defaultDidgrpCbsNom1CurN1100(ctx,1100) )
{
return false;
}
return true;
--#>
} }
function defaultSetmodZmqacc() function defaultSetmodZmqacc()
{ {
<#!--
if(!ditopn.getSetmod().defaultZmqaccN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpAmt() function defaultDitpAmt()
{ {
<#!--
if(!ditopn.getDitp().defaultAmtN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecMytype() function defaultDidgrpRecMytype()
{ {
<#!--
if(!ditopn.getDitp().defaultDidgrpRecMytypeN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultSetmodXreflg() function defaultSetmodXreflg()
{ {
<#!--
if(!ditopn.getSetmod().defaultXreflgN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecAvbwth() function defaultDidgrpRecAvbwth()
{ {
<#!--
if(!ditopn.defaultDidgrpRecAvbwthN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRmbPtsRef() function defaultDidgrpRmbPtsRef()
{ {
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsptaPtsRefN900(ctx,900) )
{
return false;
}
if(!ditopn.getDitp().defaultDidgrpRmbPtsRefN2000(ctx,2000) )
{
return false;
}
return true;
--#>
} }
function defaultMtabutConinfOitinfOitInflev() 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() function defaultLiaallLiaccvRelcshpct()
{ {
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultRelcshpctN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecExpplc() function defaultDidgrpRecExpplc()
{ {
<#!--
if(!ditopn.getDitp().defaultDidgrpRecExpplcN100(ctx,100) )
{
return false;
}
if(!ditopn.getDidgrp().defaultRecExpplcN1100(ctx,1100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpAdvPtsBankno() function defaultDidgrpAdvPtsBankno()
{ {
<#!--
if(!ditopn.getDitp().getAdvp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpBenPtsRef() function defaultDidgrpBenPtsRef()
{ {
<#!--
if(!ditopn.getDitp().getBenp().defaultPtsptaPtsRefN900(ctx,900) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecSdsrfs() function defaultDidgrpRecSdsrfs()
{ {
<#!--
if(!ditopn.getDitp().defaultDidgrpRecSdsrfsN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultTrnmodTrndocAdvdoc() function defaultTrnmodTrndocAdvdoc()
{ {
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAdvdocN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLiaccvNewamt() function defaultLiaallLiaccvNewamt()
{ {
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultNewamtN100(ctx,100) )
{
return false;
}
if(!ditopn.getLiaall().getLiaccv().defaultNewamtN2000(ctx,2000) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecShppar() function defaultDidgrpRecShppar()
{ {
<#!--
if(!ditopn.getDitp().defaultDidgrpRecShpparN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodLimptsPfcod2() 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() 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() function defaultDidgrpAplPtsExtkey()
{ {
<#!--
if(!ditopn.defaultDidgrpAplPtsExtkeyN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().getAplp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpBlkDefdet() 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() function defaultDidgrpBlkInsbnk()
{ {
<#!--
if(!ditopn.getDidgrp().defaultBlkInsbnkN1100(ctx,1100) )
{
return false;
}
if(!ditopn.defaultDidgrpBlkInsbnkN1110(ctx,1110) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLiaccvTotcovamt() function defaultLiaallLiaccvTotcovamt()
{ {
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultTotcovamtN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpAplname() function defaultDitpAplname()
{ {
<#!--
if(!ditopn.getDitp().defaultAplnameN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecGuaflg() function defaultDidgrpRecGuaflg()
{ {
<#!--
if(!ditopn.defaultDidgrpRecGuaflgN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodLimptsWrkPtsNam() function defaultLiaallLimmodLimptsWrkPtsNam()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().getWrkp().defaultPtsptaPtsNamN1500(ctx,1500) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLiaccvGleflg() function defaultLiaallLiaccvGleflg()
{ {
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultGleflgN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpPreperButtxmsel() function defaultDitpPreperButtxmsel()
{ {
<#!--
if(!ditopn.getDitp().getPreper().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLiaccvNewresamt() function defaultLiaallLiaccvNewresamt()
{ {
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultNewresamtN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpBlkLcrgod() function defaultDidgrpBlkLcrgod()
{ {
<#!--
if(!ditopn.getDidgrp().defaultBlkLcrgodN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecAutdat() function defaultDidgrpRecAutdat()
{ {
<#!--
if(!ditopn.defaultDidgrpRecAutdatN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecIdcode() function defaultDidgrpRecIdcode()
{ {
<#!--
if(!ditopn.defaultDidgrpRecIdcodeN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecDkflg() function defaultDidgrpRecDkflg()
{ {
<#!--
if(!ditopn.defaultDidgrpRecDkflgN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRmbPtsAdrblk() function defaultDidgrpRmbPtsAdrblk()
{ {
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsptaPtsAdrblkN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultSetmodZmqacclab() function defaultSetmodZmqacclab()
{ {
<#!--
if(!ditopn.getSetmod().defaultZmqacclabN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecShptrs() function defaultDidgrpRecShptrs()
{ {
<#!--
if(!ditopn.getDitp().defaultDidgrpRecShptrsN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpAplpDet() function defaultDitpAplpDet()
{ {
<#!--
if(!ditopn.getDitp().getAplp().defaultDetN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpAdvPtsExtkey() function defaultDidgrpAdvPtsExtkey()
{ {
<#!--
if(!ditopn.getDitp().getAdvp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodLimptsGet2() function defaultLiaallLimmodLimptsGet2()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsGet2N100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpAdlcndButtxmsel() function defaultDitpAdlcndButtxmsel()
{ {
<#!--
if(!ditopn.getDitp().getAdlcnd().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodLimptsGet1() function defaultLiaallLimmodLimptsGet1()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsGet1N100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultBchname() function defaultBchname()
{ {
<#!--
if(!ditopn.defaultBchnameN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecTenmaxday() function defaultDidgrpRecTenmaxday()
{ {
<#!--
if(!ditopn.getDitp().defaultDidgrpRecTenmaxdayN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpRemark() function defaultDitpRemark()
{ {
<#!--
if(!ditopn.defaultDitpRemarkN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodLimptsOthPtsExtkey() function defaultLiaallLimmodLimptsOthPtsExtkey()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().getOthp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecNam() function defaultDidgrpRecNam()
{ {
<#!--
if(!ditopn.getDitp().defaultDidgrpRecNamN950(ctx,950) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallButmisamt() function defaultLiaallButmisamt()
{ {
<#!--
if(!ditopn.getLiaall().defaultButmisamtN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodEcifno() function defaultLiaallLimmodEcifno()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().defaultEcifnoN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLiaccvChgcurflg() function defaultLiaallLiaccvChgcurflg()
{ {
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultChgcurflgN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpInsbnkButtxmsel() function defaultDitpInsbnkButtxmsel()
{ {
<#!--
if(!ditopn.getDitp().getInsbnk().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
} }
function defaultDitpBenpPtsgetSdamodDadsnd() function defaultDitpBenpPtsgetSdamodDadsnd()
{ {
<#!--
if(!ditopn.getDitp().getBenp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpIssPtsExtkey() function defaultDidgrpIssPtsExtkey()
{ {
<#!--
if(!ditopn.getDitp().getIssp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecFqzytgfw() function defaultDidgrpRecFqzytgfw()
{ {
<#!--
if(!ditopn.getDitp().defaultDidgrpRecFqzytgfwN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpAplpPtsgetSdamodDadsnd() function defaultDitpAplpPtsgetSdamodDadsnd()
{ {
<#!--
if(!ditopn.getDitp().getAplp().defaultPtsgetSdamodDadsndN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpAvbPtsBankno() function defaultDidgrpAvbPtsBankno()
{ {
<#!--
if(!ditopn.getDitp().getAvbp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRmbPtsBankno() function defaultDidgrpRmbPtsBankno()
{ {
<#!--
if(!ditopn.getDitp().getRmbp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
} }
function defaultTrnmodTrndocAmdapl() function defaultTrnmodTrndocAmdapl()
{ {
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAmdaplN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLiaccvPctresamt() function defaultLiaallLiaccvPctresamt()
{ {
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultPctresamtN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDitpLcrdocButtxmsel() function defaultDitpLcrdocButtxmsel()
{ {
<#!--
if(!ditopn.getDitp().getLcrdoc().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
} }
function defaultMtabutConinfOitsetOitInflev() 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() function defaultDitpDefdetButtxmsel()
{ {
<#!--
if(!ditopn.getDitp().getDefdet().defaultButtxmselN999(ctx,999) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpBebPtsBankno() function defaultDidgrpBebPtsBankno()
{ {
<#!--
if(!ditopn.getDitp().getBebp().defaultPtsptaPtsBanknoN900(ctx,900) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpAplPtsAdrblk() function defaultDidgrpAplPtsAdrblk()
{ {
<#!--
if(!ditopn.getDitp().getAplp().defaultPtsptaPtsAdrblkN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().getDitp0().defaultDidgrpAplPtsAdrblkN1003(ctx,1003) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpRecLcrtyp() function defaultDidgrpRecLcrtyp()
{ {
<#!--
if(!ditopn.defaultDidgrpRecLcrtypN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodLimptsWrkPtsExtkey() function defaultLiaallLimmodLimptsWrkPtsExtkey()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().getWrkp().defaultPtsptaPtsExtkeyN950(ctx,950) )
{
return false;
}
return true;
--#>
} }
function defaultMtabutConinfConexedat() function defaultMtabutConinfConexedat()
{ {
<#!--
if(!ditopn.getMtabut().getConinf().defaultConexedatN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpBenPtsAdrblk() function defaultDidgrpBenPtsAdrblk()
{ {
<#!--
if(!ditopn.getDitp().getBenp().defaultPtsptaPtsAdrblkN100(ctx,100) )
{
return false;
}
if(!ditopn.getDitp().getDitp0().defaultDidgrpBenPtsAdrblkN1002(ctx,1002) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodLimptsNonrevflg2() function defaultLiaallLimmodLimptsNonrevflg2()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsNonrevflg2N100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLimmodLimptsNonrevflg1() function defaultLiaallLimmodLimptsNonrevflg1()
{ {
<#!--
if(!ditopn.getLiaall().getLimmod().defaultLimptsNonrevflg1N100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLiaccvAddinf() function defaultLiaallLiaccvAddinf()
{ {
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultAddinfN100(ctx,100) )
{
return false;
}
if(!ditopn.getLiaall().getLiaccv().defaultAddinfN1002(ctx,1002) )
{
return false;
}
return true;
--#>
} }
function defaultTrnmodTrndocAmdnam() function defaultTrnmodTrndocAmdnam()
{ {
<#!--
if(!ditopn.getTrnmod().getTrndoc().defaultAmdnamN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultLiaallLiaccvCshpct() function defaultLiaallLiaccvCshpct()
{ {
<#!--
if(!ditopn.getLiaall().getLiaccv().defaultCshpctN100(ctx,100) )
{
return false;
}
return true;
--#>
} }
function defaultDidgrpBlkPreper() 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() 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 { ...@@ -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{ export default class Ditopn{
constructor () { constructor () {
this.data = { this.data = {
......
...@@ -2,204 +2,79 @@ ...@@ -2,204 +2,79 @@
/** /**
* Office Default规则 * Office Default规则
*/ */
import Api from "~/service/Api";
export default { export default {
"hotavi" :defaultHotavi,
"hotcalc" :defaultHotcalc,
"hotadr" :defaultHotadr, "hotadr" :defaultHotadr,
"hotrat" :defaultHotrat,
"hotdr4l" :defaultHotdr4l, "hotdr4l" :defaultHotdr4l,
"hotdr4r" :defaultHotdr4r, "hotdr4r" :defaultHotdr4r,
"hotcalc" :defaultHotcalc,
"hotavi" :defaultHotavi,
"hotdr5l" :defaultHotdr5l, "hotdr5l" :defaultHotdr5l,
"hotdr5r" :defaultHotdr5r,
"hotdr6r" :defaultHotdr6r,
"hotdr1l" :defaultHotdr1l, "hotdr1l" :defaultHotdr1l,
"hotdr5r" :defaultHotdr5r,
"hotdr1r" :defaultHotdr1r, "hotdr1r" :defaultHotdr1r,
"hotdr6r" :defaultHotdr6r,
"hotdr2l" :defaultHotdr2l, "hotdr2l" :defaultHotdr2l,
"hotdr2r" :defaultHotdr2r, "hotdr2r" :defaultHotdr2r,
"dattd" :defaultDattd,
"hotrat" :defaultHotrat,
"hotdr3l" :defaultHotdr3l, "hotdr3l" :defaultHotdr3l,
"hotdr3r" :defaultHotdr3r, "hotdr3r" :defaultHotdr3r,
"hotsta" :defaultHotsta, "hotsta" :defaultHotsta,
"hotstd" :defaultHotstd, "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() function defaultHotdr5r()
{ {
<!-- }
if(!office.defaultHotdr5rN100(ctx,100) ) function defaultHotdr1r()
{ {
return false;
}
return true;
-->
} }
function defaultHotdr6r() 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() function defaultHotdr3l()
{ {
<!--
if(!office.defaultHotdr3lN100(ctx,100) )
{
return false;
}
return true;
-->
} }
function defaultHotdr3r() function defaultHotdr3r()
{ {
<!--
if(!office.defaultHotdr3rN100(ctx,100) )
{
return false;
}
return true;
-->
} }
function defaultHotsta() function defaultHotsta()
{ {
<!--
if(!office.defaultHotstaN100(ctx,100) )
{
return false;
}
return true;
-->
} }
function defaultHotstd() 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 { export default {
} }
\ No newline at end of file
import Api from "~/service/Api";
export default class Office{ export default class Office{
constructor () { constructor () {
this.data = { this.data = {
......
...@@ -2,140 +2,47 @@ ...@@ -2,140 +2,47 @@
/** /**
* Sptsel Default规则 * Sptsel Default规则
*/ */
import Api from "~/service/Api";
export default { export default {
"sptstm" :defaultSptstm,
"dlaxq" :defaultDlaxq,
"usfmod.labtxt" :defaultUsfmodLabtxt, "usfmod.labtxt" :defaultUsfmodLabtxt,
"usfmod.flt" :defaultUsfmodFlt,
"usfmod.shwflt" :defaultUsfmodShwflt,
"dlmft" :defaultDlmft,
"butimg" :defaultButimg, "butimg" :defaultButimg,
"dflg" :defaultDflg, "dflg" :defaultDflg,
"dlmft" :defaultDlmft,
"yptinf" :defaultYptinf, "yptinf" :defaultYptinf,
"usfmod.flt" :defaultUsfmodFlt,
"sptstm" :defaultSptstm,
"dlaxq" :defaultDlaxq,
"usfmod.usr.extkey" :defaultUsfmodUsrExtkey, "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 { ...@@ -80,7 +80,5 @@ export default {
} }
}) })
}, },
tabClick(){
}
} }
\ No newline at end of file
export default { export default {
"selobj":[ "selobj":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
...@@ -8,6 +16,8 @@ export default { ...@@ -8,6 +16,8 @@ export default {
{max: 32,message:"长度不能超过32"} {max: 32,message:"长度不能超过32"}
], ],
"inidatfro":[ "inidatfro":[
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
...@@ -15,16 +25,20 @@ export default { ...@@ -15,16 +25,20 @@ export default {
{type: "date", required: false, message: "输入正确的日期"} {type: "date", required: false, message: "输入正确的日期"}
], ],
"usfmod.usr.extkey":[ "usfmod.usr.extkey":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 8,message:"长度不能超过8"} {max: 8,message:"长度不能超过8"}
], ],
"usfmod.usrget.sdamod.seainf":[ "usfmod.usrget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"sptstm":[ "sptstm":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
...@@ -33,4 +47,8 @@ export default { ...@@ -33,4 +47,8 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 60,message:"长度不能超过60"} {max: 60,message:"长度不能超过60"}
], ],
} }
\ No newline at end of file
import Api from "~/service/Api";
export default class Sptsel{ export default class Sptsel{
constructor () { constructor () {
this.data = { this.data = {
......
...@@ -16,14 +16,6 @@ export default { ...@@ -16,14 +16,6 @@ export default {
*/ */
function checkTrnInrN1500() 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 * source:atpget.@0001.script
...@@ -31,14 +23,6 @@ function checkTrnInrN1500() ...@@ -31,14 +23,6 @@ function checkTrnInrN1500()
*/ */
function checkAtpgetSdamodDadsndN100() function checkAtpgetSdamodDadsndN100()
{ {
//! check whether take is allowed on Drag&Drop sender
if( Utils.isEmpty( model.atp.inr ) )
{
Utils.errorMessage( "#CT000001" );
}
} }
/** /**
* source:txmmod.@0009.script * source:txmmod.@0009.script
...@@ -46,18 +30,6 @@ function checkAtpgetSdamodDadsndN100() ...@@ -46,18 +30,6 @@ function checkAtpgetSdamodDadsndN100()
*/ */
function checkTrnInftxtN100() 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 * source:atpget.@0001.script
...@@ -65,14 +37,6 @@ function checkTrnInftxtN100() ...@@ -65,14 +37,6 @@ function checkTrnInftxtN100()
*/ */
function checkRecpanAtpgetSdamodDadsndN100() function checkRecpanAtpgetSdamodDadsndN100()
{ {
//! check whether take is allowed on Drag&Drop sender
if( Utils.isEmpty( model.atp.inr ) )
{
Utils.errorMessage( "#CT000001" );
}
} }
/** /**
* source:trnget.@0001.script * source:trnget.@0001.script
...@@ -80,12 +44,4 @@ function checkRecpanAtpgetSdamodDadsndN100() ...@@ -80,12 +44,4 @@ function checkRecpanAtpgetSdamodDadsndN100()
*/ */
function checkRecpanRecgetSdamodDadsndN100() function checkRecpanRecgetSdamodDadsndN100()
{ {
//! check whether take is allowed on Drag&Drop sender
if( Utils.isEmpty( model.trn.inr ) )
{
Utils.errorMessage( "#CT000001" );
}
} }
...@@ -2,349 +2,123 @@ ...@@ -2,349 +2,123 @@
/** /**
* Trnrel Default规则 * Trnrel Default规则
*/ */
import Api from "~/service/Api";
export default { export default {
"relcor" :defaultRelcor,
"recpan.butspt" :defaultRecpanButspt,
"recpan.ackstm" :defaultRecpanAckstm,
"seaown" :defaultSeaown,
"trn.inftxt" :defaultTrnInftxt, "trn.inftxt" :defaultTrnInftxt,
"trncorco.trnstm" :defaultTrncorcoTrnstm,
"recpan.det" :defaultRecpanDet,
"numtrn" :defaultNumtrn, "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.butord" :defaultRecpanButord,
"recpan.incben" :defaultRecpanIncben,
"imgmod.hisimg" :defaultImgmodHisimg,
"orddsp" :defaultOrddsp,
"recpan.butspt" :defaultRecpanButspt,
"seaown" :defaultSeaown,
"recpan.inftxt.buttxmsel" :defaultRecpanInftxtButtxmsel, "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, "trn.infdsp" :defaultTrnInfdsp,
"recpan.incben" :defaultRecpanIncben,
"usrcon" :defaultUsrcon,
"imgmod.hisimg" :defaultImgmodHisimg,
"recpan.con" :defaultRecpanCon, "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, "recpan.ackgrp.rec.sndref" :defaultRecpanAckgrpRecSndref,
"syswrn.butshw" :defaultSyswrnButshw,
"imgmod.newimg" :defaultImgmodNewimg, "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() 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 { ...@@ -336,11 +336,11 @@ export default {
} }
}) })
}, },
onImgmod1Image(){ onImgmodImage(){
this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => { this.$parent.$parent.$parent.$parent.$refs.modelForm.validate(async valid => {
if(!valid) if(!valid)
return; 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) if(rtnmsg.retcod == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
...@@ -384,7 +384,5 @@ export default { ...@@ -384,7 +384,5 @@ export default {
} }
}) })
}, },
onSeainf(){
}
} }
\ No newline at end of file
...@@ -93,10 +93,10 @@ export default { ...@@ -93,10 +93,10 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
// "recpan.atp.cod":[ "recpan.atp.cod":[
// {type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
// {max: 6,message:"长度不能超过6"} {max: 6,message:"长度不能超过6"}
// ], ],
"trn.reloricur":[ "trn.reloricur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
import Api from "~/service/Api";
export default class Trnrel{ export default class Trnrel{
constructor () { constructor () {
this.data = { this.data = {
......
...@@ -362,7 +362,7 @@ import CommonProcess from "~/mixin/CommonProcess" ...@@ -362,7 +362,7 @@ import CommonProcess from "~/mixin/CommonProcess"
export default { export default {
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess], // mixins: [CommonProcess],
data(){ data(){
return { return {
declareParams:{"fileName":"ditopn.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditopn/getElcsRef"}, 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" ...@@ -92,7 +92,9 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Ditopn from "~/Model/Ditopn" import Ditopn from "~/Model/Ditopn"
import CommonProcess from "~/mixin/CommonProcess" 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 Ovwp from "./Ovwp"
import Revp from "./Revp" import Revp from "./Revp"
import Tk from "./Tk" import Tk from "./Tk"
...@@ -138,8 +140,10 @@ export default { ...@@ -138,8 +140,10 @@ export default {
data(){ data(){
return { return {
model:new Ditopn().data, model:new Ditopn().data,
//defaultRule:Default, checkRules: Check,
rules:Pattern, defaultRules: Default,
pattern: Pattern,
rules:null,
codes:{ codes:{
}, },
declareParams:{"fileName":"ditopn.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditopn/init"}, declareParams:{"fileName":"ditopn.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/ditopn/init"},
......
...@@ -108,11 +108,16 @@ ...@@ -108,11 +108,16 @@
</template> </template>
<script> <script>
import Api from "~/service/Api" 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 CodeTable from "~/config/CodeTable"
import s_todo from "./TodoItem" import s_todo from "./TodoItem"
export default { export default {
components:{"s-todo":s_todo}, components:{"s-todo":s_todo},
mixins: [CommonProcess],
computed: { computed: {
}, },
...@@ -164,7 +169,10 @@ export default { ...@@ -164,7 +169,10 @@ export default {
iralst:[], // .offp.iralst iralst:[], // .offp.iralst
}, },
}, },
rules:{} checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules:null
} }
}, },
methods:{ methods:{
......
...@@ -181,7 +181,7 @@ import CommonProcess from "~/mixin/CommonProcess" ...@@ -181,7 +181,7 @@ import CommonProcess from "~/mixin/CommonProcess"
export default { export default {
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess], // mixins: [CommonProcess],
data(){ data(){
return { return {
declareParams:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/sptstm"}, 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" ...@@ -14,7 +14,9 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Sptsel from "~/Model/Sptsel" import Sptsel from "~/Model/Sptsel"
import CommonProcess from "~/mixin/CommonProcess.js" 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 Menu from "./Menu"
import Event from "~/model/Sptsel/Event" import Event from "~/model/Sptsel/Event"
...@@ -29,8 +31,10 @@ export default { ...@@ -29,8 +31,10 @@ export default {
data(){ data(){
return { return {
model:new Sptsel().data, model:new Sptsel().data,
//defaultRule:Default, checkRules: Check,
rules:Pattern, defaultRules: Default,
pattern: Pattern,
rules:null,
codes:{ codes:{
}, },
declareParams:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/init"}, declareParams:{"fileName":"sptsel.json","basePath":"{{basePath}}","method":"post","scheme":"{{schemes}}","host":"{{host}}","consume":"0","produce":"0","uri":"/sptsel/init"},
......
...@@ -339,6 +339,8 @@ ...@@ -339,6 +339,8 @@
> >
</el-table-column> </el-table-column>
</c-table> </c-table>
<c-istream-table :list="testJson.data" :columns="testJson.columns"></c-istream-table>
</div> </div>
</template> </template>
...@@ -350,13 +352,49 @@ import Event from "~/model/Trnrel/Event" ...@@ -350,13 +352,49 @@ import Event from "~/model/Trnrel/Event"
export default { export default {
props:["model","codes"], props:["model","codes"],
mixins: [CommonProcess],
components: { components: {
}, },
data(){ data(){
return { 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}, methods:{...Event},
......
...@@ -17,6 +17,8 @@ import CodeTable from "~/config/CodeTable" ...@@ -17,6 +17,8 @@ import CodeTable from "~/config/CodeTable"
import Trnrel from "~/Model/Trnrel" import Trnrel from "~/Model/Trnrel"
import CommonProcess from "~/mixin/CommonProcess" import CommonProcess from "~/mixin/CommonProcess"
import Pattern from "~/Model/Trnrel/Pattern" import Pattern from "~/Model/Trnrel/Pattern"
import Default from "~/model/Trnrel/Default";
import Check from "~/model/Trnrel/Check";
import Inftrnps from "./Inftrnps" import Inftrnps from "./Inftrnps"
import Trnp0 from "./Trnp0" import Trnp0 from "./Trnp0"
import Trnpwfm from "./Trnpwfm" import Trnpwfm from "./Trnpwfm"
...@@ -45,9 +47,12 @@ export default { ...@@ -45,9 +47,12 @@ export default {
}, },
data(){ data(){
return { return {
model:new Trnrel().data, model: new Trnrel().data,
rules:Pattern, checkRules: Check,
codes:{ 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"}, 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