yusheng 1 anno fa
parent
commit
44ac5f5eba

+ 13 - 8
src/views/financialManage/invoiceManage/components/addOrEditDialog.vue

@@ -21,7 +21,7 @@
       :rules="rules"
       class="el-form-box"
       :model="form"
-      label-width="120px"
+      label-width="140px"
     >
       <headerTitle title="基本信息"></headerTitle>
       <el-row :gutter="12">
@@ -175,6 +175,12 @@
             </el-select>
           </el-form-item>
         </el-col>
+        <el-col :span="12">
+          <el-form-item label="发票类型" prop="category">
+            <el-radio v-model="form.category" :label="2">增值税普通发票</el-radio>
+            <el-radio v-model="form.category" :label="1">增值税专用发票</el-radio>
+          </el-form-item>
+        </el-col>
         <el-col :span="12">
           <el-form-item
             label="统一社会信用代码"
@@ -184,8 +190,7 @@
             <el-input v-model="form.companyUsc"></el-input>
           </el-form-item>
         </el-col>
-      </el-row>
-      <el-row :gutter="12">
+
         <el-col :span="12">
           <el-form-item label="开户银行" prop="companyBankBranchNo">
             <el-input v-model="form.companyBankBranchNo"></el-input>
@@ -196,9 +201,7 @@
             <el-input v-model="form.companyBankAccount"></el-input>
           </el-form-item>
         </el-col>
-      </el-row>
 
-      <el-row :gutter="12">
         <el-col :span="12">
           <el-form-item label="单位地址" prop="companyAddress">
             <el-input v-model="form.companyAddress"></el-input>
@@ -331,14 +334,14 @@
   import { enterprisePage } from '@/api/contractManage/contractBook';
   import { contactDetail } from '@/api/saleManage/contact';
   import fileMain from '@/components/addDoc/index.vue';
-  import {updateContractStatus } from '@/api/contractManage/contractBook';
+  import { updateContractStatus } from '@/api/contractManage/contractBook';
 
   const defForm = {
     accountingSubjectCode: '',
     accountingSubjectId: '',
     accountingSubjectName: '',
     amount: undefined,
-
+    contactId: '',
     companyAddress: '',
     companyBankAccount: '',
     companyUsc: '',
@@ -361,7 +364,8 @@
     invoiceAmount: 0,
     getAccountData: '',
     sourceId: '',
-    sourceCode: ''
+    sourceCode: '',
+    category: 1
   };
   export default {
     name: 'add-or-edit-dialog',
@@ -520,6 +524,7 @@
         if (!id) {
           return;
         }
+        this.form.contactId = id;
         const { base, other, bankList, linkList } = await contactDetail(id);
         if (this.form.type == 2) {
           this.form.companyName = data.partbName || base.name;

+ 1 - 1
src/views/purchasingManage/purchaseOrder/invoice/components/addInvoiceDialog.vue

@@ -151,7 +151,7 @@
 
     </el-form>
 
-    <headerTitle title="品清单" style="margin-top: 30px"></headerTitle>
+    <headerTitle title="品清单" style="margin-top: 30px"></headerTitle>
     <inventoryTable
       :pricingWay="form.pricingWay"
       :sourceType="form.sourceType"

+ 1 - 1
src/views/purchasingManage/purchaseOrder/invoice/components/detailDialog.vue

@@ -151,7 +151,7 @@
         </el-row>
       </el-form>
 
-      <headerTitle title="品清单"></headerTitle>
+      <headerTitle title="品清单"></headerTitle>
       <ele-pro-table
         ref="table"
         :needPage="false"

+ 1 - 1
src/views/purchasingManage/purchaseOrder/outSourceSend/components/addOrEditDialog.vue

@@ -106,7 +106,7 @@
       </el-row>
     </el-form>
 
-    <headerTitle title="品清单" style="margin-top: 30px"></headerTitle>
+    <headerTitle title="品清单" style="margin-top: 30px"></headerTitle>
     <inventoryTable
       :pricingWay="form.pricingWay"
       ref="inventoryTableref"

+ 1 - 1
src/views/purchasingManage/purchaseOrder/outSourceSend/components/detailDialog.vue

@@ -128,7 +128,7 @@
         </el-row>
       </el-form>
 
-      <headerTitle title="品清单"></headerTitle>
+      <headerTitle title="品清单"></headerTitle>
       <ele-pro-table
         ref="table"
         :needPage="false"

+ 1 - 1
src/views/purchasingManage/purchaseOrder/returnGoods/components/addReturnGoodsDialog.vue

@@ -100,7 +100,7 @@
           </el-form-item> -->
         </el-col>
       </el-row>
-      <headerTitle title="品清单" style="margin-top: 30px"></headerTitle>
+      <headerTitle title="品清单" style="margin-top: 30px"></headerTitle>
       <inventoryTable
         :pricingWay="form.pricingWay"
         :returnSourceType="form.returnSourceType"

+ 1 - 1
src/views/purchasingManage/purchaseOrder/returnGoods/components/detailDialog.vue

@@ -166,7 +166,7 @@
         </el-row>
       </el-form>
 
-      <headerTitle title="品清单"></headerTitle>
+      <headerTitle title="品清单"></headerTitle>
       <ele-pro-table
         ref="table"
         :needPage="false"