Browse Source

dd

shibei_master
13176889840 3 years ago
parent
commit
666d5c61bc
  1. 27
      src/views/modules/plugins/change/verifyForm.vue

27
src/views/modules/plugins/change/verifyForm.vue

@ -3,7 +3,7 @@
<div v-loading="loadingForm" class="dialog-h-content scroll-h"> <div v-loading="loadingForm" class="dialog-h-content scroll-h">
<el-form :model="detailInfo" :disabled="btnType == 'detail'"> <el-form :model="detailInfo" :disabled="btnType == 'detail'">
<el-form-item <el-form-item
label="迁出人姓名:" label="移除人姓名:"
label-width="150px" label-width="150px"
> >
<span>{{ detailInfo.name }}</span> <span>{{ detailInfo.name }}</span>
@ -35,7 +35,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-divider></el-divider> <el-divider></el-divider>
<el-form-item <!-- <el-form-item
label="迁出类型:" label="迁出类型:"
label-width="150px" label-width="150px"
> >
@ -62,15 +62,15 @@
label-width="150px" label-width="150px"
> >
<span>{{ detailInfo.xxdz }}</span> <span>{{ detailInfo.xxdz }}</span>
</el-form-item> </el-form-item> -->
<el-form-item <el-form-item
label="迁出时间:" label="移除时间:"
label-width="150px" label-width="150px"
> >
<span>{{ detailInfo.moveOutDate }}</span> <span>{{ detailInfo.moveOutDate }}</span>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
label="迁出原因:" label="移除原因:"
label-width="150px" label-width="150px"
> >
<span> <span>
@ -167,10 +167,10 @@
style="display: block" style="display: block"
> >
<el-radio-group v-model="dataForm.type"> <el-radio-group v-model="dataForm.type">
<el-radio v-if="dataForm.type == 'in'" :label="'in'">{{ <el-radio :label="'in'">{{
'迁往' + rootAgency.organizationName + '内其他区域' '迁往' + rootAgency.organizationName + '内其他区域'
}}</el-radio> }}</el-radio>
<el-radio v-else :label="'out'">其他</el-radio> <el-radio :label="'out'">其他</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
@ -437,10 +437,10 @@ export default {
this.dataForm.customerId = this.customerId this.dataForm.customerId = this.customerId
this.dataForm.idCard = row.idCard this.dataForm.idCard = row.idCard
this.dataForm.mobile = row.mobile this.dataForm.mobile = row.mobile
this.dataForm.type = row.outType // this.dataForm.type = row.outType
this.dataForm.outOfTime = row.moveOutDate // this.dataForm.outOfTime = row.moveOutDate
this.dataForm.reason = row.deleteReason this.dataForm.reason = row.deleteReason
this.dataForm.address = row.xxdz // this.dataForm.address = row.xxdz
// await this.loadHouseInfo(row.HOME_ID_VALUE) // await this.loadHouseInfo(row.HOME_ID_VALUE)
this.dataForm.name = row.name this.dataForm.name = row.name
@ -450,7 +450,7 @@ export default {
this.confirmResult = (row.confirmResult == '1' || row.confirmResult == '2') ? row.confirmResult : '' this.confirmResult = (row.confirmResult == '1' || row.confirmResult == '2') ? row.confirmResult : ''
} else this.confirmResult = '1' } else this.confirmResult = '1'
this.reason = row.reason // this.reason = row.reason
await this.loadRootAgency() await this.loadRootAgency()
await this.getAgencylist() await this.getAgencylist()
@ -665,7 +665,8 @@ export default {
}, 2000) }, 2000)
this.$refs['ref_form'].validate((valid, messageObj) => { this.$refs['ref_form'].validate((valid, messageObj) => {
if (!valid) { if (!valid) {
app.util.validateRule(messageObj) // app.util.validateRule(messageObj)
console.log('submit error')
} else { } else {
if (this.dataForm.type === 'in') { if (this.dataForm.type === 'in') {
if (!this.dataForm.buildId) { if (!this.dataForm.buildId) {
@ -681,7 +682,7 @@ export default {
return false return false
} }
} }
this.saveForm() // this.saveForm()
} }
}) })
}, },

Loading…
Cancel
Save