pengjun 3 months ago
parent
commit
162938c5a9
  1. 16
      src/views/customerOrg/CustomerOrgGroupEdit.vue

16
src/views/customerOrg/CustomerOrgGroupEdit.vue

@ -71,6 +71,7 @@
<div style="display: flex;">
<el-button class="commonbutton" @click="dialogWin.CustomerOrgGroupEdit = false">关闭</el-button>
<el-button type="success" @click="computePrice">同比折算组合项目价格</el-button>
<el-button type="success" @click="computePricePerson">同步已登记人员的分组组合项目价格</el-button>
<el-button class="commonbutton" type="primary" @click="onSubmit('form')">确定</el-button>
</div>
</div>
@ -265,7 +266,7 @@ export default {
});
},
//
//
computePrice() {
if (!this.form.id) {
this.$message.warning("尚未保存信息,不可执行此操作!");
@ -308,6 +309,19 @@ export default {
});
},
//
computePricePerson(){
if (!this.form.id) {
this.$message.warning("尚未保存信息,不可执行此操作!");
return;
}
let customerOrgGroupId = this.form.id; //ID
let customerOrgGroupAsbitems = []; //
this.$message.warning({showClose:true,message:"开发中……"})
},
madeNewGroupAsbitems(oldGroupAsbitems, newTotal) {
newTotal = Math.round(Number(newTotal) * 100) / 100;
let newGroupAsbitems = [];

Loading…
Cancel
Save