Commit a7b068c9 by liuxin
parents 993eec7c 5bd53958
...@@ -327,6 +327,22 @@ export default { ...@@ -327,6 +327,22 @@ export default {
return value return value
} }
return em.label return em.label
},
timeFormat(item,scope){
let value = scope.row[item.prop];
if(!value){
return ""
}
let idx = value.indexOf(".");
return value.substring(0,idx);
},
dateFormat(item,scope){
let value = scope.row[item.prop];
if(!value){
return ""
}
let idx = value.indexOf(" ");
return value.substring(0,idx);
} }
} }
}; };
......
...@@ -295,11 +295,11 @@ export default { ...@@ -295,11 +295,11 @@ export default {
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"skr":[ "skr":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"skzh":[ "skzh":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"} {max: 40,message:"长度不能超过40"}
], ],
"bddgrp.rec.skhmc":[ "bddgrp.rec.skhmc":[
......
...@@ -22,7 +22,9 @@ export default class Setmod { ...@@ -22,7 +22,9 @@ export default class Setmod {
}, },
glemod: { glemod: {
gleshwstm: {} gleshwstm: {}
} },
setamt:"", // 扣费后付款金额 .setmod.setamt
redamt:"", // 扣减金额 .setmod.redamt
} }
} }
} }
\ No newline at end of file
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