tableData-2b1605a5.js
25.7 KB
var h=(l,e,t)=>new Promise((n,o)=>{var a=i=>{try{d(t.next(i))}catch(p){o(p)}},r=i=>{try{d(t.throw(i))}catch(p){o(p)}},d=i=>i.done?n(i.value):Promise.resolve(i.value).then(a,r);d((t=t.apply(l,e)).next())});import{k as w}from"./vue-5a35c3f5.js";import{R as c}from"./type.d-d84bce65.js";import{u as v,q as k}from"./order-eff5d778.js";import{u as D}from"./order-007d1b19.js";import{ac as s}from"./index.js";import"./message-c4c6f446.js";import"./antd-6b087f69.js";const x=w([]),C=w([]);v();const H=["projectNo","customerCode","productionDepartment","innerNo","poColor","cnColor","productStyle","outboundType","packetType","ideaSource","manualPreform1","manualPreform2","midCheckResult","endCheckResult"],u=[{title:"客户编码",width:150,dataIndex:"customerCode"},{title:"项目号",width:150,dataIndex:"projectNo"},{title:"Invoice编号",width:150,dataIndex:"invoiceNo"},{title:"生产科对账单号",width:150,dataIndex:"checkNo"},{title:"生产科",width:150,dataIndex:"productionDepartment"},{title:"内部编号",width:150,dataIndex:"innerNo"},{title:"客户po号",width:150,dataIndex:"customerPo"},{title:"客户STYLE",width:150,dataIndex:"customerStyle"},{title:"Model(REFERENCE)",width:150,dataIndex:"modeleLo"},{title:"COLLECTION (style description)",width:150,dataIndex:"collection"},{title:"PO COLOR",width:150,dataIndex:"poColor"},{title:"颜色中文",width:150,dataIndex:"cnColor"},{title:"图片",width:150,dataIndex:"picUrl"},{title:"产品意见",width:400,dataIndex:"productionComment"},{title:"数量",width:150,dataIndex:"orderCount"},{title:"订单成分",width:150,dataIndex:"orderComposition"},{title:"款式类型",width:150,dataIndex:"productStyle"},{title:"生产科拖货时间",width:150,dataIndex:"productionDepartmentConsignTime",customRender:l=>{const{record:e}=l||{};return s(e==null?void 0:e.productionDepartmentConsignTime)}},{title:"订单上HOD时间",width:150,dataIndex:"orderHodTime",customRender:l=>{const{record:e}=l||{};return s(e==null?void 0:e.orderHodTime)}},{title:"出库类型",width:150,dataIndex:"outboundType"},{title:"包装类型",width:150,dataIndex:"packetType"},{title:"业务员",width:150,dataIndex:"businessPerson"},{field:"returnOrder",component:"Select",labelWidth:150,label:"是否返单",rules:[{required:!0}],componentProps:{options:[{label:"是",value:"1"},{label:"否",value:"0"}]}}],R=[{title:"项目完成报告信息",width:150,dataIndex:"reportInfo",children:[{title:"想法来源",width:150,dataIndex:"ideaSource",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.reportInfo)==null?void 0:t.ideaSource}},{title:"想法来源占比",width:150,dataIndex:"ideaSourceRate",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.reportInfo)==null?void 0:t.ideaSourceRate}},{title:"手工初型1",width:150,dataIndex:"manualPreform1",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.reportInfo)==null?void 0:t.manualPreform1}},{title:"手工初型1占比",width:150,dataIndex:"manualPreform1Rate",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.reportInfo)==null?void 0:t.manualPreform1Rate}},{title:"手工初型2",width:150,dataIndex:"manualPreform2",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.reportInfo)==null?void 0:t.manualPreform2}},{title:"手工初型2占比",width:150,dataIndex:"manualPreform2Rate",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.reportInfo)==null?void 0:t.manualPreform2Rate}}]}],I=[{title:"利润分析信息",width:150,dataIndex:"profitAnalysisInfo",children:[{title:"客户单价$",width:150,dataIndex:"customerPrice",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.profitAnalysisInfo)==null?void 0:t.customerPrice}},{title:"客户单价¥",width:150,dataIndex:"customerRmbPrice",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.profitAnalysisInfo)==null?void 0:t.customerRmbPrice}},{title:"客户总金额$",width:150,dataIndex:"customerTotalPrice",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.profitAnalysisInfo)==null?void 0:t.customerTotalPrice}},{title:"客户总金额¥",width:150,dataIndex:"customerRmbTotalPrice",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.profitAnalysisInfo)==null?void 0:t.customerRmbTotalPrice}},{title:"生产科单价¥",width:150,dataIndex:"productionDepartmentPrice",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.profitAnalysisInfo)==null?void 0:t.productionDepartmentPrice}},{title:"生产科总价¥",width:150,dataIndex:"productionDepartmentTotalPrice",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.profitAnalysisInfo)==null?void 0:t.productionDepartmentTotalPrice}},{title:"包装费用$",width:150,dataIndex:"packetPrice",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.profitAnalysisInfo)==null?void 0:t.packetPrice}},{title:"包装费用合计$",width:150,dataIndex:"packetTotalPrice",customRender:l=>{var t,n;const{record:e}=l||{};return((t=e==null?void 0:e.profitAnalysisInfo)==null?void 0:t.packetTotalPrice)!==void 0?(n=e==null?void 0:e.profitAnalysisInfo)==null?void 0:n.packetTotalPrice.toFixed(2):""}},{title:"汇率",width:150,dataIndex:"exchangeRate",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.profitAnalysisInfo)==null?void 0:t.exchangeRate}},{title:"利润率",width:150,dataIndex:"profitRate",customRender:l=>{var t,n;const{record:e}=l||{};return((t=e==null?void 0:e.profitAnalysisInfo)==null?void 0:t.profitRate)!==void 0?(((n=e==null?void 0:e.profitAnalysisInfo)==null?void 0:n.profitRate)*100).toFixed(2)+"%":""}},{title:"利润率计算方式",width:150,dataIndex:"profitType",customRender:l=>{var t,n;const{record:e}=l||{};return((t=e==null?void 0:e.profitAnalysisInfo)==null?void 0:t.profitType)==="0"?"方式1":((n=e==null?void 0:e.profitAnalysisInfo)==null?void 0:n.profitType)==="1"?"方式2":""}}]}];function S(l,e){let t=e.split(" ")[0];t+=" ";const n=l.indexOf(".");return n!==-1?`${l.slice(0,n+1)}${t}${l.slice(n+1)}`:l}const m=[{title:"跟单信息",width:150,dataIndex:"trackStageInfo",children:[{title:"pp date",width:150,dataIndex:"ppTime",customRender:l=>{var t;const{record:e}=l||{};return s((t=e==null?void 0:e.trackStageInfo)==null?void 0:t.ppTime)}},{title:"pp样品确认意见",width:180,dataIndex:"ppConfirmResult",customRender:l=>{var t,n,o,a,r;const{record:e}=l||{};if(((t=e==null?void 0:e.trackStageInfo)==null?void 0:t.ppConfirmResult)!==void 0&&((n=e==null?void 0:e.trackStageInfo)==null?void 0:n.ppConfirmTime)!==void 0){const d=(o=e==null?void 0:e.trackStageInfo)==null?void 0:o.ppConfirmResult,i=(a=e==null?void 0:e.trackStageInfo)==null?void 0:a.ppConfirmTime;return S(d,i)}else return(r=e==null?void 0:e.trackStageInfo)==null?void 0:r.ppConfirmResult}},{title:"EXTRA,SHOWROOM,ONLINE sample发送时间",width:250,dataIndex:"esoSampleSendTime",customRender:l=>{var t;const{record:e}=l||{};return s((t=e==null?void 0:e.trackStageInfo)==null?void 0:t.esoSampleSendTime)}},{title:"shippment sample 发送时间",width:150,dataIndex:"shippmentSampleSendTime",customRender:l=>{var t;const{record:e}=l||{};return s((t=e==null?void 0:e.trackStageInfo)==null?void 0:t.shippmentSampleSendTime)}},{title:"shipment sample确认意见",width:150,dataIndex:"shippmentSampleConfirmResult",customRender:l=>{var t,n,o,a,r;const{record:e}=l||{};if(((t=e==null?void 0:e.trackStageInfo)==null?void 0:t.shippmentSampleConfirmResult)!==void 0&&((n=e==null?void 0:e.trackStageInfo)==null?void 0:n.shippmentSampleConfirmTime)!==void 0){const d=(o=e==null?void 0:e.trackStageInfo)==null?void 0:o.shippmentSampleConfirmResult,i=(a=e==null?void 0:e.trackStageInfo)==null?void 0:a.shippmentSampleConfirmTime;return S(d,i)}else return(r=e==null?void 0:e.trackStageInfo)==null?void 0:r.shippmentSampleConfirmResult}},{title:"自测通过时间",width:150,dataIndex:"selfTestPassTime",customRender:l=>{var t;const{record:e}=l||{};return s((t=e==null?void 0:e.trackStageInfo)==null?void 0:t.selfTestPassTime)}},{title:"Aitex测试发送时间",width:150,dataIndex:"aitexTestSendTime",customRender:l=>{var t;const{record:e}=l||{};return s((t=e==null?void 0:e.trackStageInfo)==null?void 0:t.aitexTestSendTime)}},{title:"Aitex测试结果",width:150,dataIndex:"aitexTestFinishResult",customRender:l=>{var t,n,o,a,r;const{record:e}=l||{};if(((t=e==null?void 0:e.trackStageInfo)==null?void 0:t.aitexTestFinishResult)!==void 0&&((n=e==null?void 0:e.trackStageInfo)==null?void 0:n.aitexTestFinishTime)!==void 0){const d=(o=e==null?void 0:e.trackStageInfo)==null?void 0:o.aitexTestFinishResult,i=(a=e==null?void 0:e.trackStageInfo)==null?void 0:a.aitexTestFinishTime;return S(d,i)}else return(r=e==null?void 0:e.trackStageInfo)==null?void 0:r.aitexTestFinishResult}},{title:"SGS测试发送时间",width:150,dataIndex:"sgsTestSendTime",customRender:l=>{var t;const{record:e}=l||{};return s((t=e==null?void 0:e.trackStageInfo)==null?void 0:t.sgsTestSendTime)}},{title:"SGS测试结果",width:150,dataIndex:"sgsTestFinishResult",customRender:l=>{var t,n,o,a,r;const{record:e}=l||{};if(((t=e==null?void 0:e.trackStageInfo)==null?void 0:t.sgsTestFinishResult)!==void 0&&((n=e==null?void 0:e.trackStageInfo)==null?void 0:n.sgsTestFinishTime)!==void 0){const d=(o=e==null?void 0:e.trackStageInfo)==null?void 0:o.sgsTestFinishResult,i=(a=e==null?void 0:e.trackStageInfo)==null?void 0:a.sgsTestFinishTime;return S(d,i)}else return(r=e==null?void 0:e.trackStageInfo)==null?void 0:r.sgsTestFinishResult}},{title:"Barcode sticker arrival time",width:150,dataIndex:"barcodeStickerArrivalTime",customRender:l=>{var t;const{record:e}=l||{};return s((t=e==null?void 0:e.trackStageInfo)==null?void 0:t.barcodeStickerArrivalTime)}},{title:"最晚包材到货时间",width:150,dataIndex:"latestArrivalTime",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.trackStageInfo)==null?void 0:t.latestArrivalTime}},{title:"最晚订舱+报关资料时间",width:150,dataIndex:"latestBkTime",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.trackStageInfo)==null?void 0:t.latestBkTime}}]}],f=[{title:"质检信息",width:150,dataIndex:"inspectionStageInfo",children:[{title:"中期验货申请时间",width:150,dataIndex:"midCheckApplyTime",customRender:l=>{var t;const{record:e}=l||{};return s((t=e==null?void 0:e.inspectionStageInfo)==null?void 0:t.midCheckApplyTime)}},{title:"中期验货(功能性-拉力/跌落等、外观性-颜色/规格等、耐久性-烤厅等)",width:300,dataIndex:"midCheckComment",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.inspectionStageInfo)==null?void 0:t.midCheckComment}},{title:"中期验货结果PASS / FAIL",width:150,dataIndex:"midCheckResult",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.inspectionStageInfo)==null?void 0:t.midCheckResult}},{title:"尾期验货申请时间",width:150,dataIndex:"endCheckApplyTime",customRender:l=>{var t;const{record:e}=l||{};return s((t=e==null?void 0:e.inspectionStageInfo)==null?void 0:t.endCheckApplyTime)}},{title:"长度/规格",width:150,dataIndex:"specification",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.inspectionStageInfo)==null?void 0:t.specification}},{title:"功能性不良",width:150,dataIndex:"functionality",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.inspectionStageInfo)==null?void 0:t.functionality}},{title:"电镀不良",width:150,dataIndex:"electroplate",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.inspectionStageInfo)==null?void 0:t.electroplate}},{title:"不良1",width:150,dataIndex:"value1",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.inspectionStageInfo)==null?void 0:t.value1}},{title:"不良2",width:150,dataIndex:"value2",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.inspectionStageInfo)==null?void 0:t.value2}},{title:"其他不良3",width:150,dataIndex:"value3",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.inspectionStageInfo)==null?void 0:t.value3}},{title:"包装:卡片、条码、箱贴,箱单 ",width:150,dataIndex:"boxPacket",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.inspectionStageInfo)==null?void 0:t.boxPacket}},{title:"尾期验货结果PASS / FAIL",width:150,dataIndex:"endCheckResult",customRender:l=>{var t;const{record:e}=l||{};return(t=e==null?void 0:e.inspectionStageInfo)==null?void 0:t.endCheckResult}}]}],b=[{title:"进度条",width:100,dataIndex:"schedule"}];function j(l){return l===c.ADMIN?[...u,...I,...R,...m,...f,...b]:l===c.FINANCE?[...u,...I,...R,...m,...f,...b]:l===c.BUSINESS?[...u,...I,...R,...m,...f,...b]:l===c.TRACKER?[...u,...I.map(e=>{const t=e.children.filter(n=>n.dataIndex==="customerPrice"||n.dataIndex==="productionDepartmentPrice"||n.dataIndex==="productionDepartmentTotalPrice");return e.children=t,e}),...m,...f,...b]:l===c.INSPECT?[...u,...m,...f,...b]:l===c.DATA_REPORT_USER?[...u,...m,...f,...b]:l===c.PRODUCE?[...u.filter(e=>e.dataIndex!=="orderHodTime"&&e.dataIndex!=="businessPerson"),...I.map(e=>{const t=e.children.filter(n=>n.dataIndex==="productionDepartmentPrice"||n.dataIndex==="productionDepartmentTotalPrice");return e.children=t,e}),...m,...f,...b]:[]}const $=[{field:"customerCode",component:"Select",labelWidth:150,label:"客户编码",rules:[{required:!0}]},{field:"projectNo",component:"Input",labelWidth:150,label:"项目号",rules:[{required:!0}]},{field:"productionDepartment",component:"Select",labelWidth:150,label:"生产科",rules:[{required:!0}]},{field:"innerNo",component:"Input",labelWidth:150,label:"内部编号",rules:[{required:!0},{validator:(l,e)=>h(void 0,null,function*(){return e.includes(" ")?Promise.reject():Promise.resolve()}),message:"内容存在空格,请检查",trigger:["change","blur"]}]},{field:"customerPo",component:"Input",labelWidth:150,label:"客户po号",rules:[{required:!0}]},{field:"customerStyle",component:"Input",labelWidth:150,label:"客户STYLE",rules:[{required:!0},{validator:(l,e)=>h(void 0,null,function*(){return e.includes(" ")?Promise.reject():Promise.resolve()}),message:"内容存在空格,请检查",trigger:["change","blur"]}]},{field:"modeleLo",component:"Input",labelWidth:150,label:"Model(REFERENCE)",rules:[{required:!0}]},{field:"collection",component:"Input",labelWidth:250,label:"COLLECTION (style description)",rules:[{required:!0}]},{field:"poColor",component:"Select",labelWidth:150,label:"PO COLOR",rules:[{required:!0}]},{field:"cnColor",component:"Select",labelWidth:150,label:"颜色中文",rules:[{required:!0}]},{field:"picUrl",component:"FieldUpload",labelWidth:150,label:"图片",rules:[{required:!0}]},{field:"productionComment",component:"InputTextArea",rules:[{required:!0}],labelWidth:150,label:"产品意见"},{field:"orderCount",component:"InputNumber",rules:[{required:!0}],labelWidth:150,label:"数量"},{field:"orderComposition",component:"Input",rules:[{required:!0}],labelWidth:150,label:"订单成分"},{field:"productStyle",component:"Select",rules:[{required:!0}],labelWidth:150,label:"款式类型"},{field:"productionDepartmentConsignTime",component:"DatePicker",labelWidth:150,label:"生产科拖货时间",rules:[{required:!0}]},{field:"orderHodTime",component:"DatePicker",labelWidth:150,label:"订单上HOD时间",rules:[{required:!0}]},{field:"outboundType",component:"Select",labelWidth:150,label:"出库类型",rules:[{required:!0}]},{field:"packetType",component:"Select",labelWidth:150,label:"包装类型",rules:[{required:!0}]},{field:"businessPerson",component:"Select",labelWidth:150,label:"业务员",rules:[{required:!0}]},{field:"returnOrder",component:"Select",labelWidth:150,label:"是否返单",rules:[{required:!0}],componentProps:{options:[{label:"是",value:"1"},{label:"否",value:"0"}]}}],B=[{field:"ideaSource",component:"Select",optionField:"ideaSource",labelWidth:150,label:"想法来源",rules:[{required:!0}]},{field:"ideaSourceRate",component:"InputNumber",optionField:"ideaSourceRate",labelWidth:150,label:"想法来源占比",componentProps:{precision:2},rules:[{required:!0}]},{field:"manualPreform1",component:"Select",optionField:"manualPreform1",labelWidth:150,label:"手工初型1",rules:[{required:!0}]},{field:"manualPreform1Rate",component:"InputNumber",labelWidth:150,label:"手工初型1占比",componentProps:{precision:2},rules:[{required:!0}]},{field:"manualPreform2",component:"Select",labelWidth:150,label:"手工初型2",rules:[{required:!0}]},{field:"manualPreform2Rate",component:"InputNumber",labelWidth:150,label:"手工初型2占比",componentProps:{precision:2},rules:[{required:!0}]}],G=[{field:"ppTime",component:"DatePicker",label:"pp date"},{field:"ppConfirmResult",component:"Select",componentProps:{options:[{label:"1.1st ok",value:"1.1st ok"},{label:"1.1st Fail",value:"1.1st Fail"},{label:"2.2nd ok",value:"2.2nd ok"},{label:"2.2nd Fail",value:"2.2nd Fail"},{label:"3.3rd ok",value:"3.3rd ok"},{label:"3.3rd Fail",value:"3.3rd Fail"}]},default:"请选择",label:"pp样品确认意见 "},{field:"esoSampleSendTime",component:"DatePicker",label:"EXTRA,SHOWROOM,ONLINE sample发送时间",labelWidth:350},{field:"shippmentSampleSendTime",component:"DatePicker",label:"shippment sample 发送时间",labelWidth:250},{field:"shippmentSampleConfirmResult",component:"Select",componentProps:{options:[{label:"1.1st ok",value:"1.1st ok"},{label:"1.1st Fail",value:"1.1st Fail"},{label:"2.2nd ok",value:"2.2nd ok"},{label:"2.2nd Fail",value:"2.2nd Fail"},{label:"3.3rd ok",value:"3.3rd ok"},{label:"3.3rd Fail",value:"3.3rd Fail"}]},default:"请选择",label:"shipment sample确认意见",labelWidth:250},{field:"selfTestPassTime",component:"DatePicker",label:"自测通过时间"},{field:"aitexTestSendTime",component:"DatePicker",label:"Aitex测试发送时间"},{field:"aitexTestFinishResult",label:"Aitex测试结果",component:"Select",componentProps:{options:[{label:"1.1st ok",value:"1.1st ok"},{label:"1.1st Fail",value:"1.1st Fail"},{label:"2.2nd ok",value:"2.2nd ok"},{label:"2.2nd Fail",value:"2.2nd Fail"},{label:"3.3rd ok",value:"3.3rd ok"},{label:"3.3rd Fail",value:"3.3rd Fail"}]},default:"请选择"},{field:"sgsTestSendTime",component:"DatePicker",label:"SGS测试发送时间"},{field:"sgsTestFinishResult",label:"SGS测试结果",component:"Select",componentProps:{options:[{label:"1.1st ok",value:"1.1st ok"},{label:"1.1st Fail",value:"1.1st Fail"},{label:"2.2nd ok",value:"2.2nd ok"},{label:"2.2nd Fail",value:"2.2nd Fail"},{label:"3.3rd ok",value:"3.3rd ok"},{label:"3.3rd Fail",value:"3.3rd Fail"}]},default:"请选择"},{field:"barcodeStickerArrivalTime",component:"DatePicker",label:"Barcode sticker arrival time",labelWidth:250,componentProps:{options:[{label:"ok",value:"ok"}]}},{field:"latestArrivalTime",component:"DatePicker",label:"最晚包材到货时间",labelWidth:250},{field:"latestBkTime",component:"DatePicker",label:"最晚订舱+报关资料时间",labelWidth:250}],M=[{field:"customerPrice",component:"InputNumber",label:"客户单价$",rules:[{required:!0}],componentProps:{precision:2}},{field:"customerRmbPrice",component:"InputNumber",label:"客户单价¥",componentProps:{precision:2},rules:[{required:!0}]},{field:"productionDepartmentPrice",component:"InputNumber",label:"生产科单价¥",componentProps:{precision:2},rules:[{required:!0}]},{label:"计算利润方式",component:"Select",field:"profitType",componentProps:{defaultValue:"0",options:[{label:"公式1:1 -(LOCAL总金额 / 汇率 + 包装总金额)/ 客户总金额",value:"0"},{label:"公式2:1 -(LOCAL总金额 / 汇率 / (客户总金额 - 包装费用总金额)",value:"1"}]}},{label:"利润率",component:"InputNumber",field:"profitRate",componentProps:{precision:2}},{label:"包装费用$",component:"InputNumber",field:"packetPrice",componentProps:{precision:2}},{label:"汇率",component:"InputNumber",field:"exchangeRate",componentProps:{precision:2}}],K=[{field:"midCheckApplyTime",component:"DatePicker",label:"中期验货申请时间"},{field:"midCheckComment",component:"Input",label:"中期验货(功能性-拉力/跌落等、外观性-颜色/规格等、耐久性-烤厅等)",labelWidth:400},{field:"midCheckResult",component:"Select",optionField:"midCheckResult",label:"中期验货结果PASS / FAIL",labelWidth:400},{field:"endCheckApplyTime",component:"DatePicker",label:"尾期验货申请时间"},{field:"specification",component:"Input",label:"长度/规格"},{field:"functionality",component:"Input",label:"功能性不良"},{field:"electroplate",component:"Input",label:"电镀不良"},{field:"value1",component:"Input",label:"不良1"},{field:"value2",component:"Input",label:"不良2"},{field:"value3",component:"Input",label:"其他不良3"},{field:"boxPacket",component:"Input",label:"包装:卡片、条码、箱贴,箱单",labelWidth:300},{field:"endCheckResult",component:"Select",labelWidth:250,label:"尾期验货结果PASS / FAIL",optionField:"endCheckResult"}];function X(l){const e=v(),{customerCode:t,projectNo:n,productionDepartment:o,innerNo:a,poColor:r,cnColor:d,productStyle:i,outboundType:p,packetType:E,ideaSource:F,manualPreform:T,midCheckResult:g,endCheckResult:W}=D(e);return{labelWidth:100,schemas:[{field:"createStartTime",label:"生成开始时间",component:"DatePicker",width:"100%",style:{width:"100%"},colProps:{span:6},labelWidth:150},{field:"createEndTime",label:"生成结束时间",component:"DatePicker",colProps:{span:6},labelWidth:150},{field:"orderStatus",label:"单据状态",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{mode:"multiple",options:[{label:"订单创建完成",value:0},{label:"利润分析表待审核",value:10},{label:"利润分析表审核通过",value:11},{label:"利润分析表审核驳回",value:12},{label:"项目报告书待审核",value:20},{label:"项目报告书审核通过",value:21},{label:"项目报告书审核驳回",value:22},{label:"跟单中",value:30},{label:"跟单完成",value:31},{label:"质检中",value:40},{label:"质检完成",value:41},{label:"订单完成",value:50}]}},{field:"commitUserName",label:"提交人名称",component:"Input",colProps:{span:6},labelWidth:150},{field:"commitUserPhone",label:"提交人手机号码",component:"Input",colProps:{span:6},labelWidth:150},{field:"customerCode",label:"客户编码",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{options:t,showSearch:!0,mode:"multiple"}},{field:"projectNo",label:"项目号",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{options:C,showSearch:!0,mode:"multiple",onSearch:P=>h(this,null,function*(){C.value=yield k("projectNo",P)})}},{field:"innerNo",label:"内部编号",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{options:x,showSearch:!0,mode:"multiple",onSearch:P=>h(this,null,function*(){x.value=yield k("innerNo",P)})}},{field:"productionDepartment",label:"生产科",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{mode:"multiple",options:o,showSearch:!0}},{field:"productionDepartmentConsignStartTime",label:"生产科拖货开始时间",component:"DatePicker",colProps:{span:6},labelWidth:150},{field:"productionDepartmentConsignEndTime",label:"生产科拖货结束时间",component:"DatePicker",colProps:{span:6},labelWidth:150,componentProps:{options:t}},{field:"orderHodStartTime",label:"订单上HOD开始时间",component:"DatePicker",colProps:{span:6},labelWidth:150},{field:"orderHodEndTime",label:"订单上HOD结束时间",component:"DatePicker",colProps:{span:6},labelWidth:150},{field:"profitRateLqt",label:"最小利润率",component:"InputNumber",colProps:{span:6},labelWidth:150},{field:"profitRateGqt",label:"最大利润率",component:"InputNumber",colProps:{span:6},labelWidth:150},{field:"ideaSource",label:"想法来源",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{mode:"multiple",options:F,showSearch:!0}},{field:"manualPreform1",label:"手工初型1",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{options:T,showSearch:!0,mode:"multiple"}},{field:"manualPreform2",label:"手工初型2",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{mode:"multiple",options:T,showSearch:!0}},{field:"ppConfirmResult",label:"pp样品确认意见",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{mode:"multiple",options:[{label:"1.1st ok",value:"1.1st ok"},{label:"1.1st Fail",value:"1.1st Fail"},{label:"2.2nd ok",value:"2.2nd ok"},{label:"2.2nd Fail",value:"2.2nd Fail"},{label:"3.3rd ok",value:"3.3rd ok"},{label:"3.3rd Fail",value:"3.3rd Fail"}]}},{field:"selfTestPassStartTime",label:"自测通过开始时间",component:"DatePicker",colProps:{span:6},labelWidth:150},{field:"selfTestPassEndTime",label:"自测通过结束时间",component:"DatePicker",colProps:{span:6},labelWidth:150,componentProps:{options:t}},{field:"midCheckResult",label:"中期验货结果",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{mode:"multiple",options:g,showSearch:!0}},{field:"endCheckResult",label:"尾期验货结果",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{mode:"multiple",showSearch:!0,options:W}},{field:"businessPerson",label:"业务员",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{mode:"multiple",showSearch:!0,options:l}},{field:"invoiceNo",label:"发票单号",component:"Input",colProps:{span:6},labelWidth:150},{field:"invoiceStatus",label:"发票状态",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{options:[{label:"未创建",value:-1},{label:"未收款",value:0},{label:"已收款",value:10}]}},{field:"checkNoStatus",label:"对账单号状态",component:"Select",colProps:{span:6},labelWidth:150,componentProps:{options:[{label:"未创建",value:-1},{label:"未收款",value:0},{label:"已收款",value:10}]}}]}}export{$ as FIELDS_BASE_INFO,K as FIELDS_INSPECTION_INFO,M as FIELDS_PROFIT_INFO,B as FIELDS_REPORT_INFO,G as FIELDS_TRACK_STAGE_INFO,u as ORDER_LIST_BASE_FIELDS,f as ORDER_LIST_INSPECT_FIELDS,I as ORDER_LIST_PROFIT_FIELDS,R as ORDER_LIST_REPORT_FIELDS,m as ORDER_LIST_TRACK_FIELDS,H as SELECT_FIELD_COLUMNS,X as getFormConfig,j as getOrderColumns};