|
|
|
@ -106,6 +106,11 @@
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="项目编码" align="center" prop="courseProjectNum" min-width="80"></el-table-column>
|
|
|
|
<el-table-column label="项目编码" align="center" prop="courseProjectNum" min-width="80"></el-table-column>
|
|
|
|
<el-table-column label="账户名称" align="center" prop="courseProjectName" min-width="140"></el-table-column>
|
|
|
|
<el-table-column label="账户名称" align="center" prop="courseProjectName" min-width="140"></el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="别名" align="center" prop="anotherName" min-width="140">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<el-input v-model="scope.row.anotherName"></el-input>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="剩余金额" align="center" min-width="80" prop="courseRestPrice"></el-table-column>
|
|
|
|
<el-table-column label="剩余金额" align="center" min-width="80" prop="courseRestPrice"></el-table-column>
|
|
|
|
<el-table-column label="剩余次数" align="center" min-width="80" prop="courseRestCount"></el-table-column>
|
|
|
|
<el-table-column label="剩余次数" align="center" min-width="80" prop="courseRestCount"></el-table-column>
|
|
|
|
<el-table-column label="可用次数" align="center" prop="courseConsumeCount" min-width="80"></el-table-column>
|
|
|
|
<el-table-column label="可用次数" align="center" prop="courseConsumeCount" min-width="80"></el-table-column>
|
|
|
|
@ -161,6 +166,11 @@
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="账户名称" show-overflow-tooltip align="center" prop="projectName" min-width="110">
|
|
|
|
<el-table-column label="账户名称" show-overflow-tooltip align="center" prop="projectName" min-width="110">
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="别名" align="center" prop="anotherName" min-width="140">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<el-input v-model="scope.row.anotherName"></el-input>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="标准单价" align="center" prop="priceMember" min-width="70"></el-table-column>
|
|
|
|
<el-table-column label="标准单价" align="center" prop="priceMember" min-width="70"></el-table-column>
|
|
|
|
<el-table-column label="最低单价" align="center" prop="minumumPriceMember" min-width="70"></el-table-column>
|
|
|
|
<el-table-column label="最低单价" align="center" prop="minumumPriceMember" min-width="70"></el-table-column>
|
|
|
|
<el-table-column label="扣率" align="center" prop="deductionRate" min-width="70">
|
|
|
|
<el-table-column label="扣率" align="center" prop="deductionRate" min-width="70">
|
|
|
|
@ -529,6 +539,7 @@ export default {
|
|
|
|
row.index = rowIndex;
|
|
|
|
row.index = rowIndex;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
projectData(form,rows) {
|
|
|
|
projectData(form,rows) {
|
|
|
|
|
|
|
|
console.log(form,rows)
|
|
|
|
this.storeName = form.storeName
|
|
|
|
this.storeName = form.storeName
|
|
|
|
this.storeId = form.storeId
|
|
|
|
this.storeId = form.storeId
|
|
|
|
form.memberId = this.proForm.memberId;
|
|
|
|
form.memberId = this.proForm.memberId;
|
|
|
|
@ -538,7 +549,7 @@ export default {
|
|
|
|
form.storeName = this.proForm.storeName;
|
|
|
|
form.storeName = this.proForm.storeName;
|
|
|
|
form.memberIdentityCard = this.proForm.identityCard;
|
|
|
|
form.memberIdentityCard = this.proForm.identityCard;
|
|
|
|
console.log( this.openProText )
|
|
|
|
console.log( this.openProText )
|
|
|
|
if (this.openProText == 0) {
|
|
|
|
if (this.openProText == 0) { //转入
|
|
|
|
(form.priceMember * form.minumumTimes).toFixed(2) * 1;
|
|
|
|
(form.priceMember * form.minumumTimes).toFixed(2) * 1;
|
|
|
|
form.prices = form.priceMember
|
|
|
|
form.prices = form.priceMember
|
|
|
|
form.changeInTime = 0;
|
|
|
|
form.changeInTime = 0;
|
|
|
|
@ -548,7 +559,8 @@ export default {
|
|
|
|
form.changeInMoneyShow = false;
|
|
|
|
form.changeInMoneyShow = false;
|
|
|
|
form.debtMoneyShow = false;
|
|
|
|
form.debtMoneyShow = false;
|
|
|
|
form.changeInCaseTimeShow = false;
|
|
|
|
form.changeInCaseTimeShow = false;
|
|
|
|
form.deductionRate = ((( form.prices/form.priceMember )*100).toFixed(2)*1 + '%')
|
|
|
|
form.deductionRate = ((( form.prices/form.priceMember )*100).toFixed(2)*1 + '%'),
|
|
|
|
|
|
|
|
form.anotherName = form.courseProjectName
|
|
|
|
if (this.inList.length < 1) {
|
|
|
|
if (this.inList.length < 1) {
|
|
|
|
this.inList.push(form);
|
|
|
|
this.inList.push(form);
|
|
|
|
this.inMoneys = 0;
|
|
|
|
this.inMoneys = 0;
|
|
|
|
@ -562,7 +574,7 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (this.openProText == 1) {
|
|
|
|
if (this.openProText == 1) { //转出
|
|
|
|
form.unitMoney =
|
|
|
|
form.unitMoney =
|
|
|
|
(form.courseProjectMoney / form.courseCount).toFixed(2) * 1;project
|
|
|
|
(form.courseProjectMoney / form.courseCount).toFixed(2) * 1;project
|
|
|
|
form.changeOutMoney = 0;
|
|
|
|
form.changeOutMoney = 0;
|
|
|
|
@ -574,6 +586,7 @@ export default {
|
|
|
|
form.cardCommissionAmount=rows[0].cardCommissionAmount
|
|
|
|
form.cardCommissionAmount=rows[0].cardCommissionAmount
|
|
|
|
form.cardSalesAchievement=rows[0].cardSalesAchievement
|
|
|
|
form.cardSalesAchievement=rows[0].cardSalesAchievement
|
|
|
|
form.cardSalesCommission=rows[0].cardSalesCommission
|
|
|
|
form.cardSalesCommission=rows[0].cardSalesCommission
|
|
|
|
|
|
|
|
form.anotherName = form.courseProjectName
|
|
|
|
let index = this.outList.findIndex(item=>item.id == form.id)
|
|
|
|
let index = this.outList.findIndex(item=>item.id == form.id)
|
|
|
|
if(index == -1){
|
|
|
|
if(index == -1){
|
|
|
|
this.outList.push(form);
|
|
|
|
this.outList.push(form);
|
|
|
|
|