snow 9 months ago
parent
commit
f6046f981f

BIN
dist-zip/build.zip


+ 2 - 2
src/utils/btnList.ts

@@ -58,7 +58,7 @@ const btnList = [
 
 
   { code: "055", name: "解除采购对账付款标签" },
-  { code: "056", name: "解除采购对账回票标签" }
-
+  { code: "056", name: "解除采购对账回票标签" },
+  { code: "057", name: "资金信息导出" }
 ];
 export default btnList;

+ 20 - 3
src/views/InvoiceSales/capitalClaim/index.vue

@@ -86,9 +86,19 @@ async function onDownloadOpenInv() {
     onStart: () => (loading.value = true),
     onSuccess: () => (loading.value = false),
     onFail: () => (loading.value = false),
-    params: {
-      ...pageContentRef.value.getBasicParams()
-    }
+    params: {...pageContentRef.value.getBasicParams()}
+  });
+}
+
+
+async function onDownloadCapitalInfo() {
+  await httpRequsetExport({
+    url: "orderPay/exportTrade",
+    name: "资金认领数据表",
+    onStart: () => (loading.value = true),
+    onSuccess: () => (loading.value = false),
+    onFail: () => (loading.value = false),
+    params: { ...pageContentRef.value.getBasicParams()}
   });
 }
 </script>
@@ -106,6 +116,13 @@ async function onDownloadOpenInv() {
             <el-button :loading="loading" @click="() => onDownloadOpenInv()">
               资金认领数据导出
             </el-button>
+            <el-button 
+              v-if="hasPermissionWithCode('057')"
+              @click="() => onDownloadCapitalInfo()"
+              :loading="loading" 
+              >
+              资金信息导出
+            </el-button>
             <el-button
               v-if="!isSuperUser && hasPermissionWithCode('029')"
               @click="onDownloadTemplate"

+ 5 - 0
src/views/purchase/porder/config/content.config.ts

@@ -29,6 +29,11 @@ const columns = [
     prop: "cxCode",
     width: "150px"
   },
+  {
+    label: "对账编号",
+    prop: "payNo",
+    width: "150px"
+  },
   {
     label: "原采购单号",
     prop: "mainCode",

+ 1 - 0
src/views/purchase/porder/config/search.config.ts

@@ -20,6 +20,7 @@ const searchFormConfig: FormConfig = {
         inputGroupOptions: [
           { value: "sequenceNo", label: "采购单编码" },
           { value: "cxCode", label: "采购主单编码" },
+          { value: "payNo", label: "对账编号" },
           { value: "qrdCode", label: "销售订单编码" },
           { value: "goodNo", label: "商品编码" },
           { value: "goodName", label: "商品名称" },