Commit f6c1e1af authored by 许珑标's avatar 许珑标

增加小数点保留位字段

parent 44823374
...@@ -284,6 +284,21 @@ ...@@ -284,6 +284,21 @@
</el-radio-group> </el-radio-group>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="10" style="margin-top: 25px;">
<el-col :span="2">
<div class="projectTitle">工资小数位</div>
</el-col>
<el-col :span="5">
<el-select style="width: 100%" v-model="formData.wagesPoint" placeholder="请选择工资保留小数位">
<el-option :label="0" :value="0"></el-option>
<el-option :label="1" :value="1"></el-option>
<el-option :label="2" :value="2"></el-option>
</el-select>
</el-col>
<el-col :span="1">
<span style="line-height: 32px">位</span>
</el-col>
</el-row>
</div> </div>
</el-card> </el-card>
...@@ -312,6 +327,7 @@ export default { ...@@ -312,6 +327,7 @@ export default {
groupName: null, groupName: null,
groupCode: null, groupCode: null,
sybxBase: 0, sybxBase: 0,
wagesPoint: 2,
sybxCompanyRate: 0, sybxCompanyRate: 0,
sybxPersonalRate: 0, sybxPersonalRate: 0,
ylbxBase: 0, ylbxBase: 0,
...@@ -424,11 +440,15 @@ export default { ...@@ -424,11 +440,15 @@ export default {
}, },
created() { created() {
},
updated() {
// this.reset()
}, },
mounted() { mounted() {
this.reset()
if (this.$route.query.id) { if (this.$route.query.id) {
this.getOutContractFN(this.$route.query.id) this.getOutContractFN(this.$route.query.id)
} else {
this.reset()
} }
this.getPayerCompanyList() this.getPayerCompanyList()
}, },
...@@ -728,6 +748,7 @@ export default { ...@@ -728,6 +748,7 @@ export default {
// 表单重置方法 // 表单重置方法
reset() { reset() {
this.formData = { this.formData = {
wagesPoint: 2,
contractName: null, contractName: null,
contractCode: null, contractCode: null,
groupName: null, groupName: null,
......
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