Commit c33aff69 authored by 黄奎's avatar 黄奎

11

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