123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- import { FormConfig } from "/@/components/PageSearch";
- import { useTypeOptions } from "/@/utils/status";
- export const USE_STATUS = [
- {
- value: "0",
- label: "未对账"
- },
- {
- value: "1",
- label: "参与对账"
- },
- {
- value: "2",
- label: "参与核销对账"
- }
- ];
- export const inv_open_status = [
- {
- value: "1",
- label: "未开票"
- },
- {
- value: "2",
- label: "部分开票"
- },
- {
- value: "3",
- label: "已开票"
- }
- ];
- export const retrun_status = [
- {
- value: "1",
- label: "未回款"
- },
- {
- value: "2",
- label: "部分回款"
- },
- {
- value: "3",
- label: "已回款"
- }
- ];
- export const good_type = [
- {
- value: "1",
- label: "库存品"
- },
- {
- value: "2",
- label: "非库存"
- },
- {
- value: "3",
- label: "咨询"
- }
- ];
- export const good_source = [
- {
- value: "1",
- label: "直接下单"
- },
- {
- value: "2",
- label: "咨询"
- },
- {
- value: "3",
- label: "项目"
- },
- {
- value: "4",
- label: "平台"
- },
- {
- value: "5",
- label: "有赞"
- },
- {
- value: "6",
- label: "售后补换货"
- },
- { value: "7", label: "报备转单" },
- { value: "8", label: "支付渠道" }
- ];
- export const seend_type = [
- {
- value: "1",
- label: "未发货"
- },
- {
- value: "2",
- label: "部分发货"
- },
- {
- value: "3",
- label: "已发货"
- }
- ];
- export const cat_status = [
- {
- value: "0",
- label: "未设置"
- },
- {
- value: "1",
- label: "已设置"
- }
- ];
- const tag_type = [
- {
- value: "1",
- label: "开票标签"
- },
- {
- value: "2",
- label: "回款标签"
- },
- {
- value: "3",
- label: "开票或回款标签最少有一个"
- },
- {
- value: "4",
- label: "开票和回款标签同时有"
- }
- ];
- const searchFormConfig: FormConfig = {
- formItems: [
- {
- field: "order_timer",
- type: "date_picker",
- otherOptions: {
- type: "daterange",
- startProp: "start",
- endProp: "end",
- startPlaceholder: "下单起始时间",
- endPlaceholder: "下单结束时间"
- }
- },
- {
- field: "qrdsource",
- type: "select",
- placeholder: "订单来源",
- options: good_source,
- span: 4
- },
- {
- field: "qrdtype",
- type: "select",
- placeholder: "商品类型",
- options: good_type,
- span: 4
- },
- {
- field: "inv_status",
- type: "select",
- placeholder: "开票状态",
- options: inv_open_status,
- span: 4
- },
- {
- field: "pay_status",
- type: "select",
- placeholder: "回款状态",
- options: retrun_status,
- span: 4
- },
- {
- field: "group",
- type_field: "group_type",
- type: "input_group",
- span: 8,
- otherOptions: {
- inputGroupOptions: [
- { value: "sequenceNo", label: "订单编码" },
- { value: "cxCode", label: "销售订单主编码" },
- { value: "customerNo", label: "客户编码" },
- { value: "customer", label: "客户名称" },
- { value: "platName", label: "平台名称" },
- { value: "department", label: "部门" },
- { value: "saler", label: "销售员" }
- ]
- }
- },
- {
- field: "sendstatus",
- type: "select",
- placeholder: "发货状态",
- options: seend_type,
- span: 4
- },
- {
- field: "cat_status",
- type: "select",
- placeholder: "是否设置类目",
- options: cat_status,
- span: 4
- },
- {
- field: "platform_type",
- type: "select",
- placeholder: "平台类型",
- options: useTypeOptions,
- span: 4
- },
- {
- field: "tag_id",
- type: "select",
- placeholder: "标签类型",
- options: tag_type,
- span: 4
- }
- ]
- };
- export default searchFormConfig;
|