|
@@ -5,8 +5,11 @@ import { h } from "vue";
|
|
|
import { ElTable, ElTableColumn, ElTag } from "element-plus";
|
|
|
import { DescriptionColumns } from "/@/components/BasicDescriptions";
|
|
|
import { createTooltip } from "../tootip";
|
|
|
-import { invoiceTypeList } from "../status";
|
|
|
-
|
|
|
+import {
|
|
|
+ invoiceTypeList,
|
|
|
+ seller_check_type,
|
|
|
+ buyer_check_type
|
|
|
+} from "../status";
|
|
|
export const INV_TYPE = [
|
|
|
{ value: "1", label: "纸质专用发票", type: "primary" },
|
|
|
{ value: "2", label: "纸质普通发票", type: "success" },
|
|
@@ -37,19 +40,44 @@ export const INV_OPEN_COLUMNS: DescriptionColumns = [
|
|
|
label: "发票编号",
|
|
|
labelWidth: "100px"
|
|
|
},
|
|
|
+
|
|
|
{
|
|
|
- field: "seller_title",
|
|
|
- label: "开票业务公司",
|
|
|
- render: (seller_title, { inv_out }) =>
|
|
|
- createTooltip(seller_title, "业务公司编号 : " + inv_out, 300)
|
|
|
+ field: "inv_value",
|
|
|
+ label: "发票金额"
|
|
|
},
|
|
|
{
|
|
|
- field: "inv_in",
|
|
|
- label: "客户公司"
|
|
|
+ label: "购买方抬头状态",
|
|
|
+ field: "seller_check",
|
|
|
+ render(data) {
|
|
|
+ return h(
|
|
|
+ ElTag,
|
|
|
+ {
|
|
|
+ type: seller_check_type.find(s => s.value === String(data))
|
|
|
+ ?.type as any
|
|
|
+ },
|
|
|
+ {
|
|
|
+ default: () =>
|
|
|
+ seller_check_type.find(s => s.value === String(data))?.label || "--"
|
|
|
+ }
|
|
|
+ );
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
- field: "inv_value",
|
|
|
- label: "发票金额"
|
|
|
+ label: "销售方抬头状态",
|
|
|
+ field: "buyer_check",
|
|
|
+ render(data) {
|
|
|
+ return h(
|
|
|
+ ElTag,
|
|
|
+ {
|
|
|
+ type: buyer_check_type.find(s => s.value === String(data))
|
|
|
+ ?.type as any
|
|
|
+ },
|
|
|
+ {
|
|
|
+ default: () =>
|
|
|
+ buyer_check_type.find(s => s.value === String(data))?.label || "--"
|
|
|
+ }
|
|
|
+ );
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
field: "apply_name",
|
|
@@ -127,49 +155,73 @@ export const INV_OPEN_COLUMNS: DescriptionColumns = [
|
|
|
field: "post_fee",
|
|
|
label: "快递费"
|
|
|
},
|
|
|
+ {
|
|
|
+ field: "seller_title",
|
|
|
+ label: "买方抬头",
|
|
|
+ span: 12,
|
|
|
+ render: (seller_title, { inv_out }) =>
|
|
|
+ createTooltip(seller_title, "业务公司编号 : " + inv_out, 300)
|
|
|
+ },
|
|
|
+
|
|
|
{
|
|
|
field: "buyer_title",
|
|
|
- label: "买方抬头"
|
|
|
+ label: "买方抬头",
|
|
|
+ span: 12
|
|
|
},
|
|
|
+ // {
|
|
|
+ // field: "inv_in",
|
|
|
+ // label: "客户公司",
|
|
|
+ // span: 12
|
|
|
+ // },
|
|
|
{
|
|
|
field: "buyer_code",
|
|
|
- label: "买方纳税识别号"
|
|
|
+ label: "买方纳税识别号",
|
|
|
+ span: 12
|
|
|
},
|
|
|
{
|
|
|
field: "buyer_addr",
|
|
|
- label: "买方注册地址"
|
|
|
+ label: "买方注册地址",
|
|
|
+ span: 12
|
|
|
},
|
|
|
{
|
|
|
field: "buyer_mobile",
|
|
|
- label: "买方联系方式"
|
|
|
+ label: "买方联系方式",
|
|
|
+ span: 12
|
|
|
},
|
|
|
{
|
|
|
field: "buyer_bank",
|
|
|
- label: "买方银行"
|
|
|
+ label: "买方银行",
|
|
|
+ span: 12
|
|
|
},
|
|
|
{
|
|
|
field: "seller_title",
|
|
|
- label: "销售方抬头"
|
|
|
+ label: "销售方抬头",
|
|
|
+ span: 12
|
|
|
},
|
|
|
{
|
|
|
field: "seller_code",
|
|
|
- label: "销售方纳税识别号"
|
|
|
+ label: "销售方纳税识别号",
|
|
|
+ span: 12
|
|
|
},
|
|
|
{
|
|
|
field: "seller_addr",
|
|
|
- label: "销售方地址"
|
|
|
+ label: "销售方地址",
|
|
|
+ span: 12
|
|
|
},
|
|
|
{
|
|
|
field: "seller_mobile",
|
|
|
- label: "销售方联系方式"
|
|
|
+ label: "销售方联系方式",
|
|
|
+ span: 12
|
|
|
},
|
|
|
{
|
|
|
field: "seller_bank",
|
|
|
- label: "销售方银行"
|
|
|
+ label: "销售方银行",
|
|
|
+ span: 12
|
|
|
},
|
|
|
{
|
|
|
field: "seller_bankNo",
|
|
|
- label: "销售方账户"
|
|
|
+ label: "销售方账户",
|
|
|
+ span: 12
|
|
|
},
|
|
|
{
|
|
|
field: "voider",
|
|
@@ -195,7 +247,7 @@ export const INV_OPEN_COLUMNS: DescriptionColumns = [
|
|
|
{
|
|
|
field: "remark",
|
|
|
label: "发票备注",
|
|
|
- span: 6
|
|
|
+ span: 24
|
|
|
},
|
|
|
{
|
|
|
field: "cancel_fee",
|
|
@@ -284,10 +336,10 @@ export const ORDER_COLUMNS = [
|
|
|
render: (buyer_title, { inv_out }) =>
|
|
|
createTooltip(buyer_title, "开票公司编号 : " + inv_out, 360)
|
|
|
},
|
|
|
- {
|
|
|
- field: "buyer_title",
|
|
|
- label: "客户公司"
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // field: "buyer_title",
|
|
|
+ // label: "客户公司"
|
|
|
+ // },
|
|
|
{
|
|
|
field: "apply_name",
|
|
|
label: "申请人"
|
|
@@ -343,6 +395,7 @@ export const ORDER_COLUMNS = [
|
|
|
},
|
|
|
{
|
|
|
field: "exam_remark",
|
|
|
+ // span: 12,
|
|
|
label: "审核备注"
|
|
|
},
|
|
|
{
|