|
@@ -1,8 +1,8 @@
|
|
import { h } from "vue";
|
|
import { h } from "vue";
|
|
import { ContentConfig } from "/@/components/PageContent";
|
|
import { ContentConfig } from "/@/components/PageContent";
|
|
import { httpList } from "/@/api/InvoiceSales/invoiceApply";
|
|
import { httpList } from "/@/api/InvoiceSales/invoiceApply";
|
|
-import { inv_type_list } from "../status";
|
|
|
|
import { INV_OPEN_STATUS } from "/@/utils/details/inv-open";
|
|
import { INV_OPEN_STATUS } from "/@/utils/details/inv-open";
|
|
|
|
+import { invoiceTypeList } from "/@/utils/status";
|
|
import { ElTag } from "element-plus";
|
|
import { ElTag } from "element-plus";
|
|
import dayjs from "dayjs";
|
|
import dayjs from "dayjs";
|
|
|
|
|
|
@@ -53,8 +53,8 @@ const columns = [
|
|
cellRenderer: ({ row }) => {
|
|
cellRenderer: ({ row }) => {
|
|
return h(ElTag, null, {
|
|
return h(ElTag, null, {
|
|
default: () =>
|
|
default: () =>
|
|
- inv_type_list.find(item => item.value == row.inv_type + "")?.label ||
|
|
|
|
- "--"
|
|
|
|
|
|
+ invoiceTypeList.find(item => item.value == row.inv_type + "")
|
|
|
|
+ ?.label || "--"
|
|
});
|
|
});
|
|
}
|
|
}
|
|
},
|
|
},
|