Commit 1a0017a7 by WF1020

gitopn,sptsel修改

parent f3de2cda
......@@ -352,7 +352,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"gidgrp.rec.opndat":[
{required: false, message: "输入正确的日期"}
{required: true, message: "此字段为必填字段", trigger: 'change'}
],
"gidgrp.iss.adrelc":[
{type: "string", required: true, message: "必输项"},
......@@ -1056,7 +1056,7 @@ export default {
{ required: true, message: "此字段为必填字段", trigger: 'blur' }
],
"gidgrp.rec.fingua": [
{ required: true, message: "此字段为必填字段", trigger: 'change' }
{ required: true, message: "是否对外担保不能为空", trigger: 'change' }
],
"gidgrp.rec.purposin": null,
"gidgrp.rec.liatypc": null,
......@@ -1111,7 +1111,9 @@ export default {
"gidgrp.rec.cnfsta": null,
"cfagit.cfaflg": null,
"gidgrp.rec.transferc": null,
"gidgrp.rec.gartypc": null,
"gidgrp.rec.gartypc": [
{ required: true, message: "此字段为必填字段", trigger: 'change' }
],
"gidgrp.rec.legfrmc": null,
"gitp.aamp.aammod.addamtflg": null,
"gidgrp.rec.rmbflg": null,
......
import Api from '~/service/Api';
import moment from 'moment';
import { mapMutations } from 'vuex';
export default {
methods: {
...mapMutations(['updateToHandleRowData']),
async handleReset() {
this.model.chkinc = '';
this.model.chkdzt = '';
......@@ -51,10 +53,11 @@ export default {
this.$router.push({ path: 'business-new/sptpopup', query: { inr: inr } });
},
async continueEdit(row, scope) {
console.log('row=====', row)
this.updateToHandleRowData(row)
let trnName = row.frm.toLowerCase();
this.$router.push({
name: trnName.charAt(0).toUpperCase() + trnName.substring(1),
path: 'business-new/' + trnName,
params: { prePageId: this.model.pageId },
});
},
......
......@@ -148,7 +148,6 @@
<script>
import Api from '~/service/Api';
import event from '../event'
import { mapMutations } from 'vuex';
export default {
inject: ['root'],
props: ['model', 'codes'],
......@@ -225,21 +224,18 @@ export default {
},
async mounted() {
this.sourceData = [
{ label: '传入', value: 'chkinc' },
{ label: '暂存', value: 'chkpen' },
{ label: '电子贸易', value: 'chkdzt' },
// { label: 'Break', value: 'chkpen' },
{ label: '传入', value: 'chkinc' },
{ label: '修改', value: 'chkcor' },
{ label: '自动', value: 'chkaut' },
{ label: '拒绝', value: 'chkdel' },
{ label: '网银', value: 'chktco' },
{ label: '归档', value: 'chkcan' },
{ label: '云平台', value: 'chkypt' },
];
// await this.handleSearch()
// this.$store.commit('setTaskList', {key: 'sptsel', val: this.stmData.data.length})
},
methods: {
...mapMutations(['updateToHandleRowData']),
// async choose(idx,row){
// var params = {selDst:"sptstm",selrow:[idx+1]}
// let rtnmsg = await this.executeRule("sptstm" , params) //SPTSTM
......
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