|
@@ -38,7 +38,7 @@
|
|
|
</el-tabs>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
-
|
|
|
+
|
|
|
<el-dialog title="Excel文件" v-if="openFileList" v-model="openFileList" width="60%">
|
|
|
<ExcelFile></ExcelFile>
|
|
|
<template #footer>
|
|
@@ -226,6 +226,32 @@ const clickPrint = (row) => {
|
|
|
activeName.value = "sku";
|
|
|
rowData.value = row;
|
|
|
openPrint.value = true;
|
|
|
+ if (row.idGroupConcat) {
|
|
|
+ proxy.post("/statementOfAccount/getOrderClassifyTotalCount", row.idGroupConcat.split(",")).then((res) => {
|
|
|
+ cardList.value = [
|
|
|
+ {
|
|
|
+ dictKey: 1,
|
|
|
+ dictValue: "万里牛订单(" + res.wlnOrderCount + ")",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ dictKey: 2,
|
|
|
+ dictValue: "采购订单(" + res.purchaseOrderCount + ")",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ dictKey: 3,
|
|
|
+ dictValue: "委外订单(" + res.outsourceOrderCount + ")",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ dictKey: 4,
|
|
|
+ dictValue: "售后订单(" + res.afterSaleOrderCount + ")",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ dictKey: 5,
|
|
|
+ dictValue: "无理由订单(" + res.noReasonOrderCount + ")",
|
|
|
+ },
|
|
|
+ ];
|
|
|
+ });
|
|
|
+ }
|
|
|
};
|
|
|
const openFileList = ref(false);
|
|
|
const clickCancel = (status) => {
|