Commit 3a7c3843 authored by youjie's avatar youjie

no message

parent d455cefb
...@@ -65,17 +65,22 @@ ...@@ -65,17 +65,22 @@
maxValue:10 maxValue:10
}); });
let methods = { let methods = {
chage(minValue,maxValue){
data.minValue = minValue;
data.maxValue = maxValue;
},
up(e){ up(e){
// console.log(e);//// e中包含了原有的e信息, 并添加了custom对象 // console.log(e);//// e中包含了原有的e信息, 并添加了custom对象
data.minValue = e.custom.minValue; data.minValue = e.custom.minValue;
data.maxValue = e.custom.maxValue; data.maxValue = e.custom.maxValue;
data.ruleObj.StartNum = e.custom.minValue;
data.ruleObj.EndNum = e.custom.maxValue;
}, },
down(e){ }, down(e){
move(e){ }, data.minValue = e.custom.minValue;
data.maxValue = e.custom.maxValue;
},
move(e){
data.minValue = e.custom.minValue;
data.maxValue = e.custom.maxValue;
},
showFun(item) { showFun(item) {
if (item) { if (item) {
data.ruleObj.DetailId = item.DetailId; data.ruleObj.DetailId = item.DetailId;
......
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