Commit c33aff69 authored by 黄奎's avatar 黄奎

11

parent bef46f95
......@@ -477,11 +477,13 @@
</el-form-item>
</td>
<td>
<el-form-item :label="$t('objFill.dandijcb')">
<el-input v-model="teamPrice.SingleDMCPrice" @keyup.native="checkInteger(teamPrice,'SingleDMCPrice')"
@change="getchange()" class="w70">
</el-input>
</el-form-item>
<template v-if="teamPrice&&teamPrice.SingleDMCPrice">
<el-form-item :label="$t('objFill.dandijcb')">
<el-input v-model="teamPrice.SingleDMCPrice" @keyup.native="checkInteger(teamPrice,'SingleDMCPrice')"
@change="getchange()" class="w70">
</el-input>
</el-form-item>
</template>
</td>
<td colspan="2">
<el-form-item :label="$t('salesModule.DJNum')" class="custom-label-color">
......@@ -1325,9 +1327,11 @@
tempPrice = Number(that.getLocalMoney(x.PeopleNumber));
});
}
this.teamPrice.SingleDMCPrice = tempPrice.toFixed(0);
if (this.teamPrice.SingleDMCPrice <= 0 || (type && type == 1)) {
//this.teamPrice.SingleDMCPrice = tempPrice.toFixed(0);
if (this.teamPrice) {
this.teamPrice.SingleDMCPrice = tempPrice.toFixed(0);
if (this.teamPrice.SingleDMCPrice <= 0 || (type && type == 1)) {
//this.teamPrice.SingleDMCPrice = tempPrice.toFixed(0);
}
}
this.getSubMoney();
},
......
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