mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
课酬基准
This commit is contained in:
@@ -389,7 +389,7 @@
|
||||
课酬基准
|
||||
</template>
|
||||
<a-input-number v-model:value="formParam.levelPay" placeholder="自动键入系统基准(可手动更改)" :max="99999999"
|
||||
:controls="false" :min="0" :precision="0" @change="clearlevelPayNumber" allowClear showSearch
|
||||
:controls="false" :min="0" :precision="2" @change="clearlevelPayNumber" allowClear showSearch
|
||||
class="draitem">
|
||||
</a-input-number>
|
||||
</a-form-item>
|
||||
@@ -1549,7 +1549,7 @@ export default {
|
||||
const clearlevelPayNumber = () => {
|
||||
// state.formParam.levelPay = state.formParam.levelPay?.replace(/\D/g, '');
|
||||
// state.formParam.levelPay = state.formParam.levelPay?.slice(0,8);
|
||||
state.formParam.levelPay == 0 && (state.formParam.levelPay = null);
|
||||
// state.formParam.levelPay == 0;
|
||||
state.formParam.levelPay && state.formParam.teachingTime && (state.formParam.expense = (state.formParam.levelPay * (state.formParam.teachingTime / 60)).toFixed(2))
|
||||
state.formParam.levelPay && state.formParam.teachingTime && (state.formParam.payableExpense = (state.formParam.levelPay * (state.formParam.teachingTime / 60)).toFixed(2))
|
||||
state.formParam.levelPay && (state.formParam.levelPay = String(state.formParam.levelPay))
|
||||
|
||||
Reference in New Issue
Block a user