Commit ed18a5a0 authored by zhengke's avatar zhengke

修改

parent d92e9f08
......@@ -661,7 +661,7 @@
<el-table-column :key="index+'10'" :label="item.Name">
<template slot-scope="scope">
<span>
<el-input v-model="scope.row.OneCommission" v-if="index == 0" size="small">
<el-input v-model="scope.row.OneCommission" @keyup.native="checkPrice(scope.row,'OneCommission')" v-if="index == 0" size="small">
<el-button slot="append">
<span v-if="
addMsg.SeparateDistributionMoneyType == 2
......@@ -671,7 +671,7 @@
">%</span>
</el-button>
</el-input>
<el-input v-model="scope.row.TwoCommission" v-if="index == 1" size="small">
<el-input v-model="scope.row.TwoCommission" @keyup.native="checkPrice(scope.row,'TwoCommission')" v-if="index == 1" size="small">
<el-button slot="append">
<span v-if="
addMsg.SeparateDistributionMoneyType == 2
......@@ -681,7 +681,7 @@
">%</span>
</el-button>
</el-input>
<el-input v-model="scope.row.ThreeCommission" v-if="index == 2" size="small">
<el-input v-model="scope.row.ThreeCommission" @keyup.native="checkPrice(scope.row,'ThreeCommission')" v-if="index == 2" size="small">
<el-button slot="append">
<span v-if="
addMsg.SeparateDistributionMoneyType == 2
......@@ -807,9 +807,9 @@
SpecificationPriceList.length == 0
" label="默认规格会员价设置">
<div v-for="(item, index) in memberList1[0].GradePriceList" :key="index+'15'">
<el-input style="width:700px" placeholder="请输入内容" v-model="item.MemberPrice" size="small"
<el-input style="width:700px" placeholder="请输入内容" v-model="item.MemberPrice" @keyup.native="checkPrice(item,'MemberPrice')" size="small"
class="input-with-select">
<el-button slot="prepend">{{ item.Name }}</el-button>
<el-button slot="prepend">{{ item.MemberGrade }}级会员</el-button>
<el-button slot="append"></el-button>
</el-input>
</div>
......@@ -1260,6 +1260,10 @@
}
},
methods: {
setMemberData(){
this.memberList1=[];
this.memberList1 = this.addMsg.MemberPriceTreeList;
},
initShareSettings() {
let arr = [];
if (this.addMsg.CategoryList) {
......@@ -2320,6 +2324,11 @@
}
});
}
},
watch:{
"addMsg.MemberPriceTreeList"(val){
this.setMemberData();
}
}
};
......
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