|
@@ -123,7 +123,7 @@
|
|
|
<a-input style="width: 70%" :maxLength="30" placeholder="请输入开户行" v-decorator="['bankAddr', {initialValue:'招商银行'}]" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="6" :sm="8" :lg="8" v-if="isAttendance=='0'||isAttendance==0">
|
|
|
+ <a-col :md="6" :sm="8" :lg="8" >
|
|
|
<a-form-item label="上班类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
<j-dict-select-tag style="width: 70%" v-decorator="['type', {initialValue:2,rules: [{ required: true, message: '请选择类型'}]}]" :triggerChange="true" placeholder="请选择上班类型"
|
|
|
dictCode="type" />
|
|
@@ -242,7 +242,7 @@
|
|
|
<a-row>
|
|
|
<a-col :md="6" :sm="8" :lg="8">
|
|
|
<a-form-item label="是否打卡" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
|
|
- <a-select style="width: 70%" @change="isAttes" v-decorator="['isAttendance',{initialValue:'0'}]" placeholder="请选择"
|
|
|
+ <a-select style="width: 70%" v-decorator="['isAttendance',{initialValue:'0'}]" placeholder="请选择"
|
|
|
:getPopupContainer="(target) => target.parentNode">
|
|
|
<a-select-option value="0">是</a-select-option>
|
|
|
<a-select-option value="1">否</a-select-option>
|
|
@@ -613,14 +613,7 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- isAttes(e){
|
|
|
- this.isAttendance=e;
|
|
|
- if(e==0){
|
|
|
- this.form.setFieldsValue({
|
|
|
- type: 2
|
|
|
- })
|
|
|
- }
|
|
|
- },
|
|
|
+
|
|
|
zwOk() {
|
|
|
console.log(this.selectedRowKeys)
|
|
|
if (this.selectionRows != null && this.selectionRows.length > 0) {
|
|
@@ -1059,8 +1052,6 @@
|
|
|
}
|
|
|
if (formData.trialEndDate != null) {
|
|
|
formData.trialEndDate = moment(formData.trialEndDate).format('YYYY-MM-DD');
|
|
|
- }if(formData.isAttendance==1||formData.isAttendance=='1'){
|
|
|
- formData.type="";
|
|
|
}if(this.isEdit){
|
|
|
formData.workMoth=this.worMoth;
|
|
|
}
|