Commit 05635de4 by liuxin

待复核列表详情页

parent 5f40d21a
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
], ],
"didgrp.cbs.nom1.amt":[ "didgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"}, {required: true, message: "必输项", trigger: 'blur'},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -30,7 +30,7 @@ export default { ...@@ -30,7 +30,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"didgrp.cbs.opn1.amt":[ "didgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {required: true, message: "必输项", trigger: 'blur'},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -95,7 +95,7 @@ export default { ...@@ -95,7 +95,7 @@ export default {
"bddgrp.cbs.max.amt":[ "bddgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {required: true, message: "必输项", trigger: 'blur'},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -174,12 +174,6 @@ export default { ...@@ -174,12 +174,6 @@ export default {
], ],
"bddgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"bddgrp.cbs.opn1.cur":[ "bddgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
......
...@@ -99,6 +99,11 @@ export default { ...@@ -99,6 +99,11 @@ export default {
this.$router.push({ path: viewurl, query: { routeParams: { process: "1", commitFlag: "1" }, trn: row['INR'], idx: idx, operateId: operateId } }); this.$router.push({ path: viewurl, query: { routeParams: { process: "1", commitFlag: "1" }, trn: row['INR'], idx: idx, operateId: operateId } });
}, },
async onDetail(idx, row) {
this.Trnp0Visible = true;
},
async onRelrow(idx) { async onRelrow(idx) {
this.$confirm('您确定复核该笔交易?', '提示', { this.$confirm('您确定复核该笔交易?', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
......
...@@ -735,7 +735,7 @@ export default { ...@@ -735,7 +735,7 @@ export default {
}); });
}, },
isShowDocpre(val){ isShowDocpre(val){
this.$emit("changeShowDocpre", val) this.$emit("changeShowDocpre", val);
}, },
}, },
created: function () {}, created: function () {},
......
<template> <template>
<c-page title="到单"> <c-page title="到单">
<div class="eContainer"> <div class="eContainer">
<c-bus-button :$pntvm="this"></c-bus-button> <!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
</c-function-btn>
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
...@@ -76,6 +82,7 @@ import Utils from "~/utils/index"; ...@@ -76,6 +82,7 @@ import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Ditdck from "~/model/Ditdck"; import Ditdck from "~/model/Ditdck";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import CommonFuncs from "~/mixin/CommonFuncs";
import Pattern from "~/model/Ditdck/Pattern"; import Pattern from "~/model/Ditdck/Pattern";
import Default from "~/model/Ditdck/Default"; import Default from "~/model/Ditdck/Default";
import Check from "~/model/Ditdck/Check"; import Check from "~/model/Ditdck/Check";
...@@ -113,7 +120,7 @@ export default { ...@@ -113,7 +120,7 @@ export default {
root: this, root: this,
}; };
}, },
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess, CommonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
isShowDocpre:false, isShowDocpre:false,
...@@ -158,6 +165,9 @@ export default { ...@@ -158,6 +165,9 @@ export default {
} else { } else {
this.$notify.error({ title: "错误", message: "服务请求失败!" }); this.$notify.error({ title: "错误", message: "服务请求失败!" });
} }
if(this.model.bddgrp.rec.dscinsflg == "X"){
this.isShowDocpre = true;
}
}, },
methods: { methods: {
changeShowDocpre(val) { changeShowDocpre(val) {
......
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