|
|
|
@ -5,7 +5,7 @@ |
|
|
|
:close-on-click-modal="false"> |
|
|
|
<el-form ref="form" :model="form" :rules="rules" :label-width="$i18n.locale === 'zh_CN' ? '120px' : '170px'" |
|
|
|
v-if="open"> |
|
|
|
<div class="sbzdtcma"> <input type="text"> <input type="password" show-password> </div> |
|
|
|
<div class="sbzdtcma"> <input type="text"> <input type="password" show-password> </div> |
|
|
|
<div :style="isBatch ? 'display:block' : 'display:none'"> |
|
|
|
<el-row style="margin:10px 0px;"> |
|
|
|
<el-col :span="24"> |
|
|
|
@ -35,12 +35,9 @@ |
|
|
|
<BusinessSelect v-model="scope.row.zytj" dictType="business_zytj"></BusinessSelect> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column :label="$t('page.business.resource.mjy.ckmz')" align="center" width="250px"> |
|
|
|
<el-table-column :label="$t('page.business.resource.mjy.ckmz')" align="center" width="400px"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input type="text" v-model="scope.row.ckmz" maxlength="50" |
|
|
|
:placeholder="$t('form.placeholderInput')"><template slot="append">{{ scope.row.ckmzdw |
|
|
|
}}</template> |
|
|
|
</el-input> |
|
|
|
<SelectBalanceValue v-model="scope.row.ckmz" :dw="scope.row.ckmzdw" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column :label="$t('page.business.resource.mjy.md')" align="center" width="250px"> |
|
|
|
@ -88,7 +85,7 @@ |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.nd')"> |
|
|
|
<el-input type="text" v-model="form.nd" maxlength="50" disabled> <template slot="append">{{ form.nddw |
|
|
|
}}</template> |
|
|
|
}}</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -109,7 +106,7 @@ |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.ckjz')"> |
|
|
|
<el-input type="text" v-model="form.ckl" maxlength="50" disabled> <template slot="append">{{ form.ckldw |
|
|
|
}}</template> |
|
|
|
}}</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -127,9 +124,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.ckmz')" prop="ckmz"> |
|
|
|
<el-input type="number" v-model="form.ckmz" maxlength="20" :placeholder="$t('form.placeholderInput')"> |
|
|
|
<template slot="append">{{ form.ckmzdw }}</template> |
|
|
|
</el-input> |
|
|
|
<SelectBalanceValue v-model="form.ckmz" :dw="form.ckmzdw" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -152,7 +147,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.lqr1') + $t('form.password')" prop="lqr1mm"> |
|
|
|
<el-input type="password" show-password v-model="form.lqr1mm" maxlength="20" |
|
|
|
<el-input type="password" show-password v-model="form.lqr1mm" maxlength="20" |
|
|
|
:placeholder="$t('form.placeholderInput')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -165,7 +160,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.lqr2') + $t('form.password')" prop="lqr2mm"> |
|
|
|
<el-input type="password" show-password v-model="form.lqr2mm" maxlength="20" |
|
|
|
<el-input type="password" show-password v-model="form.lqr2mm" maxlength="20" |
|
|
|
:placeholder="$t('form.placeholderInput')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -179,7 +174,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.ffr1') + $t('form.password')" prop="ffr1mm"> |
|
|
|
<el-input type="password" show-password v-model="form.ffr1mm" maxlength="20" |
|
|
|
<el-input type="password" show-password v-model="form.ffr1mm" maxlength="20" |
|
|
|
:placeholder="$t('form.placeholderInput')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -192,7 +187,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.ffr2') + $t('form.password')" prop="ffr2mm"> |
|
|
|
<el-input type="password" show-password v-model="form.ffr2mm" maxlength="20" |
|
|
|
<el-input type="password" show-password v-model="form.ffr2mm" maxlength="20" |
|
|
|
:placeholder="$t('form.placeholderInput')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -207,7 +202,8 @@ |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
<el-button type="primary" @click="save" :disabled="isBatch && selectList.length == 0">{{ $t('form.confirm') }}</el-button> |
|
|
|
<el-button type="primary" @click="save" :disabled="isBatch && selectList.length == 0">{{ $t('form.confirm') |
|
|
|
}}</el-button> |
|
|
|
<el-button @click="cancel">{{ $t('form.cancel') }}</el-button> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
@ -221,10 +217,11 @@ import SelectList from "./SelectList"; |
|
|
|
import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser'; |
|
|
|
import SelectStudy from '@/views/business/comps/select/SelectStudy'; |
|
|
|
import BusinessSelect from '@/views/business/comps/select/BusinessSelect'; |
|
|
|
import SelectBalanceValue from '@/views/business/comps/select/SelectBalanceValue'; |
|
|
|
|
|
|
|
export default { |
|
|
|
name: "Ff", |
|
|
|
components: { SelectList, SelectDeptUser, SelectStudy, BusinessSelect }, |
|
|
|
components: { SelectList, SelectDeptUser, SelectStudy, BusinessSelect, SelectBalanceValue }, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
isBatch: false, |
|
|
|
@ -312,6 +309,9 @@ export default { |
|
|
|
created() { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getTpValue() { |
|
|
|
alert('todo') |
|
|
|
}, |
|
|
|
selectStudyChange(val) { |
|
|
|
this.form.mdMcs = val.name |
|
|
|
this.form.mdOther = val.mdOther |
|
|
|
@ -407,8 +407,8 @@ export default { |
|
|
|
this.form.nddw = row.nddw |
|
|
|
this.form.cctj = row.cctj |
|
|
|
this.form.ccwz = row.ccwz |
|
|
|
this.form.ckl = row.ckl |
|
|
|
this.form.ckldw = row.ckldw |
|
|
|
this.form.ckl = row.kc |
|
|
|
this.form.ckldw = row.kcdw |
|
|
|
this.open = true |
|
|
|
}, |
|
|
|
save() { |
|
|
|
|