|
|
@@ -182,6 +182,26 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
+ <el-col :span="12">
|
|
|
+ <el-form-item label="公司类型" prop="revBankCardNum">
|
|
|
+ <el-select
|
|
|
+ v-model="formData.businessQuality"
|
|
|
+ filterable
|
|
|
+ placeholder=""
|
|
|
+ clearable
|
|
|
+ value-key="bankCardNum"
|
|
|
+ @change="companyChange"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="(item, index) in companyTypeList"
|
|
|
+ :key="index"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.id"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="开票员" prop="biller">
|
|
|
<el-input
|
|
|
@@ -191,6 +211,8 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="开票金额" prop="invoiceMoney">
|
|
|
<el-input-number
|
|
|
@@ -201,8 +223,6 @@
|
|
|
></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="发票数" prop="invoiceNum">
|
|
|
<el-input-number
|
|
|
@@ -213,6 +233,8 @@
|
|
|
></el-input-number>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
<el-col class="invoic" :span="12">
|
|
|
<el-form-item label="开票科目" prop="invoiceSubjectsValue">
|
|
|
<el-input
|
|
|
@@ -226,8 +248,6 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="发票类型" prop="invoiceType">
|
|
|
<el-select
|
|
|
@@ -246,6 +266,8 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="开票日期" prop="invoiceTime">
|
|
|
<el-date-picker
|
|
|
@@ -257,8 +279,6 @@
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="对方单位" prop="otherUnit">
|
|
|
<el-select
|
|
|
@@ -279,6 +299,8 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="支出卡号" prop="outBankCardNum">
|
|
|
<el-input
|
|
|
@@ -288,8 +310,6 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="税率(%)" prop="rate">
|
|
|
<el-input-number
|
|
|
@@ -544,6 +564,7 @@ export default {
|
|
|
{ prop: "invoiceId", label: "发票号码", type: "text", minWidth: 160 },
|
|
|
{ prop: "invoiceNum", label: "发票数", type: "text", minWidth: 60 },
|
|
|
{ prop: "invoiceBy", label: "开票方", type: "text", minWidth: 360 },
|
|
|
+ { prop: "businessQuality", label: "公司类型", type: "text", minWidth: 80 },
|
|
|
{
|
|
|
prop: "otherUnit",
|
|
|
label: "对方单位名称",
|
|
|
@@ -683,6 +704,18 @@ export default {
|
|
|
],
|
|
|
},
|
|
|
collectionData: [], //所有内部账户信息列表
|
|
|
+ companyTypeList: [
|
|
|
+ {
|
|
|
+ id: 1,
|
|
|
+ name: '个体户'
|
|
|
+ },{
|
|
|
+ id: 2,
|
|
|
+ name: '小规模'
|
|
|
+ },{
|
|
|
+ id: 3,
|
|
|
+ name: '一般纳税'
|
|
|
+ },
|
|
|
+ ], //公司类型
|
|
|
allCollectionData: [], //所有账户信息列表
|
|
|
formDataId: "", //编辑数据id
|
|
|
profitObj: {},
|
|
|
@@ -976,12 +1009,12 @@ export default {
|
|
|
//选择开票方change事件
|
|
|
companyChange(item) {
|
|
|
if(item.accountName=="太原天勤保险代理有限公司"){
|
|
|
- this.formData.invoiceSubjects1 ='经纪代理服务'
|
|
|
- this.formData.invoiceSubjects2 ='保险代理手续费'
|
|
|
+ this.formData.invoiceSubjects1 ='经纪代理服务'
|
|
|
+ this.formData.invoiceSubjects2 ='保险代理手续费'
|
|
|
}
|
|
|
// else{
|
|
|
- // this.formData.invoiceSubjects1 =''
|
|
|
- // this.formData.invoiceSubjects2 =''
|
|
|
+ // this.formData.invoiceSubjects1 =''
|
|
|
+ // this.formData.invoiceSubjects2 =''
|
|
|
// }
|
|
|
this.formData.revBankCardNum = item.bankCardNum;
|
|
|
this.formData.biller = item.biller;
|