|
|
|
@ -4,7 +4,7 @@ |
|
|
|
<el-dialog :title="$t('page.business.resource.mjy.guihuan')" :visible.sync="open" width="800px" append-to-body |
|
|
|
:close-on-click-modal="false"> |
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="120px" 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> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.mc')"> |
|
|
|
@ -27,20 +27,20 @@ |
|
|
|
<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> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.cctj')"> |
|
|
|
<el-input type="text" v-model="form.cctj" maxlength="50" disabled /> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.ccwz')"> |
|
|
|
<el-input type="text" v-model="form.ccwz" maxlength="50" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.ccwz')"> |
|
|
|
<el-input type="text" v-model="form.ccwz" maxlength="50" disabled /> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.cctj')"> |
|
|
|
<el-input type="text" v-model="form.cctj" maxlength="50" disabled /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
@ -48,7 +48,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> |
|
|
|
@ -63,7 +63,7 @@ |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.ckmz')"> |
|
|
|
<el-input type="text" v-model="form.ckmz" maxlength="50" disabled> <template slot="append">{{ form.ckmzdw |
|
|
|
}}</template> |
|
|
|
}}</template> |
|
|
|
</el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -78,7 +78,7 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.rkwz')" prop="rkwz"> |
|
|
|
<BusinessSelect v-model="form.rkwz" dictType="business_ccwz"></BusinessSelect> |
|
|
|
<BusinessSelect v-model="form.rkwz" dictType="business_ccwz" @change="rkwzChange" ></BusinessSelect> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
@ -138,7 +138,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.ghr1Id') + $t('form.password')" prop="ghr1mm"> |
|
|
|
<el-input type="password" show-password v-model="form.ghr1mm" maxlength="20" |
|
|
|
<el-input type="password" show-password v-model="form.ghr1mm" maxlength="20" |
|
|
|
:placeholder="$t('form.placeholderInput')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -151,21 +151,21 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.ghr2Id') + $t('form.password')" prop="ghr2mm"> |
|
|
|
<el-input type="password" show-password v-model="form.ghr2mm" maxlength="20" |
|
|
|
<el-input type="password" show-password v-model="form.ghr2mm" maxlength="20" |
|
|
|
:placeholder="$t('form.placeholderInput')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.jsr1Id')" > |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.jsr1Id')"> |
|
|
|
<el-input type="text" v-model="nickName" maxlength="50" disabled |
|
|
|
:placeholder="$t('form.placeholderInput')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.jsr1Id') + $t('form.password')" prop="jsr1mm"> |
|
|
|
<el-input type="password" show-password v-model="form.jsr1mm" maxlength="20" |
|
|
|
<el-input type="password" show-password v-model="form.jsr1mm" maxlength="20" |
|
|
|
:placeholder="$t('form.placeholderInput')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -178,7 +178,7 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item :label="$t('page.business.resource.mjy.jsr2Id') + $t('form.password')" prop="jsr2mm"> |
|
|
|
<el-input type="password" show-password v-model="form.jsr2mm" maxlength="20" |
|
|
|
<el-input type="password" show-password v-model="form.jsr2mm" maxlength="20" |
|
|
|
:placeholder="$t('form.placeholderInput')" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
@ -299,6 +299,9 @@ export default { |
|
|
|
created() { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
rkwzChange(val) { |
|
|
|
this.form.rktj = val.wc |
|
|
|
}, |
|
|
|
rklChange() { |
|
|
|
if (!isNaN(this.form.rkmz)) { |
|
|
|
this.form.jsl = _.subtract(parseFloat(this.form.ckmz), parseFloat(this.form.rkmz)) |
|
|
|
|