Commit 1a0017a7 by WF1020

gitopn,sptsel修改

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