|
@@ -47,17 +47,17 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item prop="invoiceNo" label="发票号">
|
|
|
|
|
- <el-input disabled v-model="dataForm.invoiceNo"></el-input>
|
|
|
|
|
|
|
+ <el-form-item prop="invoiceNos" label="发票号">
|
|
|
|
|
+ <el-input disabled v-model="dataForm.invoiceNos"></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
|
- <el-form-item prop="category" label="发票种类">
|
|
|
|
|
|
|
+ <el-form-item prop="invoiceCategory" label="发票种类">
|
|
|
<el-select
|
|
<el-select
|
|
|
:disabled="true"
|
|
:disabled="true"
|
|
|
clearable
|
|
clearable
|
|
|
class="ele-block"
|
|
class="ele-block"
|
|
|
- v-model="dataForm.category"
|
|
|
|
|
|
|
+ v-model="dataForm.invoiceCategory"
|
|
|
placeholder="请选择"
|
|
placeholder="请选择"
|
|
|
>
|
|
>
|
|
|
<el-option label="增值税专用发票" :value="1"></el-option>
|
|
<el-option label="增值税专用发票" :value="1"></el-option>
|
|
@@ -90,6 +90,7 @@
|
|
|
<el-option label="采购收货单" :value="6" />
|
|
<el-option label="采购收货单" :value="6" />
|
|
|
<el-option label="付款计划单" :value="8" />
|
|
<el-option label="付款计划单" :value="8" />
|
|
|
<el-option label="其他" :value="99" />
|
|
<el-option label="其他" :value="99" />
|
|
|
|
|
+ <el-option label="其他" :value="9" />
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
@@ -235,7 +236,7 @@
|
|
|
async getInfo(id) {
|
|
async getInfo(id) {
|
|
|
await this.getClassifyList(24, 'accountingSubjectList');
|
|
await this.getClassifyList(24, 'accountingSubjectList');
|
|
|
let data = await getFinReceivableInfoAPI(id);
|
|
let data = await getFinReceivableInfoAPI(id);
|
|
|
-
|
|
|
|
|
|
|
+ data.invoiceCategory = Number(data.invoiceCategory);
|
|
|
this.dataForm = {
|
|
this.dataForm = {
|
|
|
...this.dataForm,
|
|
...this.dataForm,
|
|
|
...data
|
|
...data
|