维护必填修改

This commit is contained in:
zyx.net
2023-03-25 19:46:43 +08:00
parent 3636bd1160
commit e672895374
2 changed files with 23 additions and 22 deletions
@@ -164,7 +164,7 @@ import ImportFile from '@/components/ImportFileData/index'
} }
}, },
mounted() { mounted() {
this.getList() // this.getList()
this.getData() this.getData()
}, },
methods: { methods: {
@@ -180,9 +180,10 @@ import ImportFile from '@/components/ImportFileData/index'
getAction('/ota/otaBaCxAqcs/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{ getAction('/ota/otaBaCxAqcs/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
if(res.code == 200){ if(res.code == 200){
this.dataSource[0].info = Number(res.result.bhjz) this.dataSource[0].info = Number(res.result.bhjz)
this.dataSource[1].info =Number(res.result.fsxjz) this.dataSource[1].info =Number(res.result.fsxjz)
this.dataSource[2].info= Number(res.result.sjsbcs) this.dataSource[2].info= Number(res.result.sjsbcs)
this.dataSource[3].info=Number(res.result.xxaqjz) this.dataSource[3].info=Number(res.result.xxaqjz)
this.loading = false
} }
}) })
@@ -14,11 +14,11 @@
<a-col :span="24"> <a-col :span="24">
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text"> <div class="title-text">
<!-- <span class="Required">*</span>--> <span class="Required">*</span>
<span class="title-text-text" :title="$t('recordstatus')"> <span class="title-text-text" :title="$t('recordstatus')">
{{$t('recordstatus')}}</span> {{$t('recordstatus')}}</span>
</div> </div>
<a-form-model-item class="itemModel" prop="recordstatus"> <a-form-model-item class="itemModel" prop="bazt">
<j-dict-select-tag class="box-input" v-model="formInline.bazt" <j-dict-select-tag class="box-input" v-model="formInline.bazt"
:placeholder="$t('PleaseSelect')+$t('recordstatus')" :placeholder="$t('PleaseSelect')+$t('recordstatus')"
:type="'select'" :type="'select'"
@@ -29,11 +29,11 @@
<a-col :span="24"> <a-col :span="24">
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text"> <div class="title-text">
<!-- <span class="Required">*</span>--> <span class="Required">*</span>
<span class="title-text-text" :title="$t('filingtime')"> <span class="title-text-text" :title="$t('filingtime')">
{{$t('filingtime')}}</span> {{$t('filingtime')}}</span>
</div> </div>
<a-form-model-item class="itemModel" prop="filingtime"> <a-form-model-item class="itemModel" prop="batjsj">
<a-date-picker class="box-input" <a-date-picker class="box-input"
:placeholder="$t('PleaseSelect')+$t('filingtime')" :placeholder="$t('PleaseSelect')+$t('filingtime')"
@change="dateChange({db_field_name:'batjsj'})" @change="dateChange({db_field_name:'batjsj'})"
@@ -80,20 +80,20 @@ export default {
bz:'', bz:'',
}, },
rules: { rules: {
// listConfirmation: [ bazt: [
// { {
// required: true, required: true,
// message: this.$t('confirmationOfRegulationsList') + this.$t('cannotEmpty'), message: this.$t('recordstatus') + this.$t('cannotEmpty'),
// trigger: 'change' trigger: 'change'
// } }
// ], ],
// legalTaskConfirmation: [ batjsj: [
// { {
// required: true, required: true,
// message: this.$t('regulatoryTaskConfirmation') + this.$t('cannotEmpty'), message: this.$t('filingtime') + this.$t('cannotEmpty'),
// trigger: 'change' trigger: 'change'
// } }
// ], ],
// designDeadline: [ // designDeadline: [
// { // {
// required: true, // required: true,