ソースを参照

私有手续费结算记录增加关联开票按钮

@dongkboy 3 ヶ月 前
コミット
467a6e43c2

+ 4 - 1
src/views/receivable/handingFee/invoiceRecord.vue

@@ -219,7 +219,10 @@ const reset = () => {
   size.value = 10
   initList()
 }
-
+const invoiceId = route.query.invoiceId
+  if(invoiceId){
+    form.value.recordId = invoiceId
+  }
 let countShow = ref(false)
 let countForm = ref({})
 let countRules = ref({

+ 9 - 0
src/views/receivable/handingFee/report.vue

@@ -162,6 +162,7 @@
           <el-table-column label="操作" width="200" align="center" fixed="right">
             <template #default="scope">
               <el-button link type="primary" @click="handleDetail(scope.row)">删除</el-button>
+              <el-button link type="primary" @click="handleAssociateInvoice(scope.row)">关联发票</el-button>
             </template>
           </el-table-column>
         </el-table>
@@ -768,6 +769,14 @@ const handleDetail = (type) => {
     .catch(() => {
     })
 }
+const handleAssociateInvoice = (row) => {
+  router.push({
+    path: '/receivable/private/invoiceRecord',
+    query: {
+      invoiceId: row.invoiceId
+    }
+  })
+}
 const handleOrderDetail = (type: any) => {
   router.push({
     path: '/insurancePolicy/order/insurancePolicyOrderDetail',