|
|
|
@ -219,12 +219,12 @@ |
|
|
|
style="width: 100px; height: 80px"/></span> |
|
|
|
</div> |
|
|
|
<div v-else-if=" (item.columnProp === 'wagesRate')"> |
|
|
|
<el-input v-model="scope.row.wagesRate" type="number" @change="changeSum(scope.row)" |
|
|
|
<el-input v-model="scope.row.wagesRate" @change="changeSum(scope.row)" |
|
|
|
placeholder="请输入工作时间" |
|
|
|
style="width:98%"></el-input> |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<el-input v-model="scope.row.workTime" type="number" @change="changeSum(scope.row)" placeholder="请输入工资系数" |
|
|
|
<el-input v-model="scope.row.workTime" @change="changeSum(scope.row)" placeholder="请输入工资系数" |
|
|
|
style="width:98%"></el-input> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
@ -598,7 +598,8 @@ |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
saveDetail(){ |
|
|
|
async saveDetail(){ |
|
|
|
await this.changeSum(); |
|
|
|
if(this.detailData.workDate===""||this.detailData.workDate==null){ |
|
|
|
this.$alert("请先选择日期", '错误', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
|