Commit a7b068c9 by liuxin
parents 993eec7c 5bd53958
......@@ -327,6 +327,22 @@ export default {
return value
}
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 {
{max: 35,message:"长度不能超过35"}
],
"skr":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"skzh":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"bddgrp.rec.skhmc":[
......
......@@ -22,7 +22,9 @@ export default class Setmod {
},
glemod: {
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