Commit 2c5a231d by panziyi

litopn init修改

parent 547ba7ac
...@@ -138,14 +138,14 @@ export default { ...@@ -138,14 +138,14 @@ export default {
{ max: 16, message: '长度不能超过16' }, { max: 16, message: '长度不能超过16' },
], ],
'setmod.docamt': [ // 'setmod.docamt': [
{ type: 'number', required: false, message: '必输项' }, // { type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' }, // { max: 18, message: '整数位不能超过14位' },
{ // {
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, // pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位', // message: '小数位不能超过3位',
}, // },
], // ],
'setmod.zmqacc': [ 'setmod.zmqacc': [
{ type: 'string', required: false, message: '必输项' }, { type: 'string', required: false, message: '必输项' },
......
...@@ -26,10 +26,6 @@ export default { ...@@ -26,10 +26,6 @@ export default {
trn:JSON.parse(localStorage.getItem('review_'+this.trnName)) trn:JSON.parse(localStorage.getItem('review_'+this.trnName))
} }
} }
if ( typeof(this.$route.query.inr) == 'string' ){
params.spt = null
params.trnmod.trn =null
}
const res = await Api.post('/service/litopn/init', { const res = await Api.post('/service/litopn/init', {
...params, ...params,
transName: this.trnName, transName: this.trnName,
......
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