浏览代码

对账人实际开票人下拉框

sangwenwei 1 年之前
父节点
当前提交
5867bc3d6b
共有 2 个文件被更改,包括 14 次插入6 次删除
  1. 7 5
      src/views/cw/invoice/InvoiceFormTask.vue
  2. 7 1
      src/views/cw/invoice/InvoiceList.vue

+ 7 - 5
src/views/cw/invoice/InvoiceFormTask.vue

@@ -402,7 +402,7 @@
                 label: 'name',         // 显示名称
                 children: 'children'    // 子级字段名
               }"
-              :url="`/system-server/sys/user/treeUserDataFinanceOffice?type=2`"
+              :url="`/system-server/sys/user/treeFinanceOffice?type=2`"
               :value="inputForm.billingPeopleReal"
               :clearable="true"
               :accordion="true"
@@ -423,7 +423,7 @@
                 label: 'name',         // 显示名称
                 children: 'children'    // 子级字段名
               }"
-              :url="`/system-server/sys/user/treeUserDataFinanceOffice?type=2`"
+              :url="`/system-server/sys/user/treeFinanceOffice?type=2`"
               :value="inputForm.reconciliationPeople"
               :clearable="true"
               :accordion="true"
@@ -695,7 +695,6 @@
   import SelectTree from '@/components/treeSelect/treeSelect.vue'
   import WorkClientBillingChooseRadio from '@/views/cw/workClientInfo/WorkClientBillingChooseRadio'
   import XEUtils from 'xe-utils'
-
   export default {
     props: {
       businessId: {
@@ -765,7 +764,7 @@
           isMultiple: '',
           billingId: '',
 			reportType:'',
-
+			tenantId:''
         },
         programRow: '',
         bankList: [],
@@ -801,7 +800,7 @@
         },
         set (val) {
           this.businessId = val
-        }
+        },
       }
     },
     watch: {
@@ -877,6 +876,7 @@
 				isMultiple: '',
 				billingId: '',
 				reportType: '',
+				tenantId:''
 			}
 			// if (method === 'add') {
 			//   this.title = `新建发票`
@@ -889,6 +889,8 @@
 			this.visible = true
 			this.loading = false
 			this.$nextTick(() => {
+				var user=this.$TOOL.data.get("USER_INFO")
+				this.inputForm.tenantId=user.tenantDTO.id
 				this.$refs.inputForm.resetFields()
 				this.loading = true
 				financeInvoiceService.queryById(this.inputForm.id).then((data) => {

+ 7 - 1
src/views/cw/invoice/InvoiceList.vue

@@ -1,6 +1,12 @@
 <template>
   <div class="page">
-    <el-form :inline="true" class="query-form m-b-10" v-if="searchVisible" ref="searchForm" :model="searchForm" @keyup.enter.native="refreshList()" @submit.native.prevent>
+    <el-form :inline="true"
+			 class="query-form m-b-10"
+			 v-if="searchVisible"
+			 ref="searchForm"
+			 :model="searchForm"
+			 @keyup.enter.native="refreshList()"
+			 @submit.native.prevent>
       <!-- 搜索框-->
       <el-row :gutter="0">
         <el-form-item prop="no" label="发票申请编号">