1 |
- import{aj as l,aL as p,aM as r,ah as m,_ as g,d as _,A as B,x as o,o as F,N as y,K as b,y as v,u as s}from"./index.743f0c80.js";import{h as C}from"./index.1cc1c1da.js";import{u as W}from"./use-page-search.a895acdb.js";const c=[{value:"1",label:"\u672A\u4ED8\u6B3E"},{value:"2",label:"\u90E8\u5206\u4ED8\u6B3E"},{value:"3",label:"\u5DF2\u4ED8\u6B3E"}],a=[{value:"1",label:"\u672A\u56DE\u7968"},{value:"2",label:"\u90E8\u5206\u56DE\u7968"},{value:"3",label:"\u5DF2\u56DE\u7968"}],x=[{value:"1",label:"\u56DE\u7968\u6807\u7B7E"},{value:"2",label:"\u4ED8\u6B3E\u6807\u7B7E"},{value:"3",label:"\u4ED8\u6B3E\u56DE\u7968\u6700\u5C11\u6709\u4E00\u4E2A"},{value:"4",label:"\u4ED8\u6B3E\u56DE\u7968\u90FD\u6709"}],N=[{type:"selection",minWidth:55,align:"left",hide:({checkList:e})=>!e.includes("\u52FE\u9009\u5217")},{label:"\u5E8F\u53F7",type:"index",minWidth:60,align:"left",hide:({checkList:e})=>!e.includes("\u5E8F\u53F7\u5217")},{label:"\u5BF9\u8D26\u7F16\u53F7",prop:"payNo",minWidth:180,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u7F16\u53F7",prop:"supplierNo",minWidth:180,align:"left"},{label:"\u5356\u65B9\u516C\u53F8\u540D\u79F0",prop:"supplierName",minWidth:180,align:"left"},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u53F7",prop:"companyNo",minWidth:180,align:"left"},{label:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180,align:"left"},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:120,align:"total_fee"},{label:"\u56DE\u7968\u72B6\u6001",width:110,transform:e=>{var u;return(u=a.find(t=>t.value===e))==null?void 0:u.label},cellRenderer:({row:e})=>l(p,null,{default:()=>{var u;return(u=a.find(t=>t.value===String(e.inv_status)))==null?void 0:u.label}})},{label:"\u5DF2\u56DE\u7968\u91D1\u989D",prop:"ainv_fee",minWidth:110,align:"left"},{label:"\u56DE\u7968\u4E2D",prop:"inv_fee",minWidth:110},{label:"\u56DE\u7968\u6807\u7B7E\u91D1\u989D",prop:"inv_tag_fee",minWidth:110,align:"left"},{label:"\u56DE\u7968\u6807\u7B7E\u56FE\u7247",width:"120px",cellRenderer({row:e}){return e.inv_tag_img?l(r,{src:e.inv_tag_img,previewSrcList:[e.inv_tag_img],previewTeleported:!0,style:{height:"20px",width:"20px"}}):null}},{label:"\u56DE\u7968\u6807\u7B7E\u6807\u6CE8",width:"120px",prop:"inv_tag_remark"},{label:"\u672A\u56DE\u7968\u91D1\u989D",prop:"winv_fee",minWidth:110,align:"left"},{label:"\u4ED8\u6B3E\u72B6\u6001",width:110,cellRenderer:({row:e})=>l(p,null,{default:()=>{var u;return(u=c.find(t=>t.value===String(e.pay_status)))==null?void 0:u.label}})},{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",minWidth:110,align:"left"},{label:"\u4ED8\u6B3E\u4E2D\u91D1\u989D",prop:"pay_fee",minWidth:110,align:"left"},{label:"\u4ED8\u6B3E\u6807\u7B7E\u91D1\u989D",prop:"pay_tag_fee",minWidth:110,align:"left"},{label:"\u4ED8\u6B3E\u6807\u7B7E\u56FE\u7247",width:"120px",cellRenderer({row:e}){return e.pay_tag_img?l(r,{src:e.pay_tag_img,previewSrcList:[e.pay_tag_img],previewTeleported:!0,style:{height:"20px",width:"20px"}}):null}},{label:"\u672A\u4ED8\u6B3E\u91D1\u989D",prop:"wpay_fee",minWidth:110,align:"left"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:80,align:"left"},{label:"\u7533\u8BF7\u65F6\u95F4",minWidth:160,prop:"addtime",formatter:({addtime:e})=>m(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:140,slot:"operation"}],w={title:"\u8BA2\u5355\u5BF9\u8D26\u67E5\u8BE2",columns:N,deleteProp:"payNo",superUserNoAction:!0,apis:{httpList:C},payProps:{prop:"payNo",type:"1"},returnProps:{prop:"payNo",type:"2"}},d={formItems:[{field:"supplierNo",type:"input",placeholder:"\u5356\u65B9\u516C\u53F8\u7F16\u53F7"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u53F7"},{field:"tag_id",type:"select",placeholder:"\u6807\u7B7E\u7C7B\u578B",options:x},{field:"inv_status",type:"select",placeholder:"\u56DE\u7968\u72B6\u6001",options:a},{field:"pay_status",type:"select",placeholder:"\u4ED8\u6B3E\u72B6\u6001",options:c},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"startTime",endProp:"endTime",startPlaceholder:"\u5F00\u59CB\u65E5\u671F",endPlaceholder:"\u7ED3\u675F\u65E5\u671F"}}]},P=_({__name:"index",setup(e){const u="orderRecordQuery",t="/purchase/orderRecordDetail",{push:i}=B(),E={pageSearchHook:()=>W(void 0,void 0,d)},D={content:{preview:({payNo:n})=>i(`${t}?id=${n}&isQuery=1`),create:()=>i(t)}};return(n,A)=>{const f=o("PageContainer"),h=o("PageAuth");return F(),y(h,{pageName:u},{default:b(()=>[v(f,{hooks:E,events:D,contentConfig:s(w),"search-config":s(d)},null,8,["contentConfig","search-config"])]),_:1})}}});var T=g(P,[["__file","D:/work/accout-vue3-ui/src/views/purchase/orderRecordQuery/index.vue"]]);export{T as default};
|