新增账簿来源字段

main
mo 1 year ago
parent 20d82f8639
commit c0c2611b32

@ -237,43 +237,58 @@
append-to-body append-to-body
> >
<el-form ref="form" :model="form" :rules="rules" label-width="90px"> <el-form ref="form" :model="form" :rules="rules" label-width="90px">
<el-form-item label="业务实体" prop="company"> <el-row>
<el-select <el-col :span="8">
v-model="form.company" <el-form-item label="业务实体" prop="company">
placeholder="请选择业务实体" <el-select
value-key="id" v-model="form.company"
@change="handleCompanyChange" placeholder="请选择业务实体"
> value-key="id"
<el-option @change="handleCompanyChange"
v-for="item in organizationList" >
:key="item.id" <el-option
:value="item" v-for="item in organizationList"
:label="item.organizationName" :key="item.id"
> :value="item"
</el-option> :label="item.organizationName"
</el-select> >
</el-form-item> </el-option>
<el-form-item label="会计年度" prop="year"> </el-select>
<el-date-picker </el-form-item>
format="yyyy年" </el-col>
v-model="form.year" <el-col :span="8">
value-format="yyyy" <el-form-item label="账簿来源" prop="source">
type="year" <el-input v-model="form.source" placeholder="请输入账簿来源" />
placeholder="请选择会计年度" </el-form-item>
> </el-col>
</el-date-picker> </el-row>
</el-form-item> <el-row>
<el-form-item label="会计期间" prop="period"> <el-col :span="8">
<el-date-picker <el-form-item label="会计年度" prop="year">
popper-class="due_month" <el-date-picker
v-model="form.period" format="yyyy年"
format="M月" v-model="form.year"
value-format="M" value-format="yyyy"
type="month" type="year"
placeholder="请选择会计期间" placeholder="请选择会计年度"
> >
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="会计期间" prop="period">
<el-date-picker
popper-class="due_month"
v-model="form.period"
format="M月"
value-format="M"
type="month"
placeholder="请选择会计期间"
>
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
</el-form> </el-form>
<table id="table_order" v-if="optType == 'add'"> <table id="table_order" v-if="optType == 'add'">
@ -528,6 +543,7 @@ export default {
company: undefined, company: undefined,
year: undefined, year: undefined,
period: undefined, period: undefined,
source: undefined,
}; };
this.resetForm("form"); this.resetForm("form");
this.fileList = []; this.fileList = [];

Loading…
Cancel
Save