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