index.7cc991.js 3.3 KB

1
  1. import{am as p,aR as n,ae as _,_ as g,d as y,p as E,r as i,o as m,G as B,D as F,l as b,m as r,bd as w}from"./index.js";import{h as v}from"./index.bebe9f17.js";import{i as a,p as d,t as C}from"./_options.31f08d77.js";const P=[{type:"selection",width:40,align:"center",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\u7801",prop:"payNo",width:150,align:"left"},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u7801",prop:"companyNo",width:150,align:"left"},{label:"\u603B\u989D\u6B3E",prop:"total_fee",width:110,align:"total_fee"},{label:"\u56DE\u7968\u72B6\u6001",width:110,transform:e=>{var t;return(t=a.find(u=>u.value===e))==null?void 0:t.label},cellRenderer:({row:e})=>p(n,null,{default:()=>{var t;return(t=a.find(u=>u.value===String(e.inv_status)))==null?void 0:t.label}})},{label:"\u5DF2\u56DE\u7968\u91D1\u989D",prop:"ainv_fee",width:110,align:"left"},{label:"\u56DE\u7968\u4E2D",prop:"inv_fee",width:110},{label:"\u56DE\u7968\u6807\u7B7E\u91D1\u989D",prop:"inv_tag_fee",width:110,align:"left"},{label:"\u672A\u56DE\u7968\u91D1\u989D",prop:"winv_fee",width:110,align:"left"},{label:"\u4ED8\u6B3E\u72B6\u6001",width:110,cellRenderer:({row:e})=>p(n,null,{default:()=>{var t;return(t=d.find(u=>u.value===String(e.pay_status)))==null?void 0:t.label}})},{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",width:110,align:"left"},{label:"\u4ED8\u6B3E\u4E2D\u91D1\u989D",prop:"pay_fee",width:110,align:"left"},{label:"\u4ED8\u6B3E\u6807\u7B7E\u91D1\u989D",prop:"pay_tag_fee",width:110,align:"left"},{label:"\u672A\u4ED8\u6B3E\u91D1\u989D",prop:"wpay_fee",width:110,align:"left"},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:80,align:"left"},{label:"\u7533\u8BF7\u65F6\u95F4",width:160,prop:"addtime",formatter:({addtime:e})=>_(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:120,slot:"operation"}],N={title:"\u8BA2\u5355\u5BF9\u8D26\u67E5\u8BE2",columns:P,deleteProp:"payNo",superUserNoAction:!0,apis:{httpList:v},payProps:{prop:"payNo",type:"1"},returnProps:{prop:"payNo",type:"2"}},s={formItems:[{field:"companyNo",type:"input",placeholder:"\u4E70\u65B9\u516C\u53F8\u7F16\u7801"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u7801"},{field:"tag_id",type:"select",placeholder:"\u6807\u7B7E\u7C7B\u578B",options:C},{field:"inv_status",type:"select",placeholder:"\u56DE\u7968\u72B6\u6001",options:a},{field:"pay_status",type:"select",placeholder:"\u4ED8\u6B3E\u72B6\u6001",options:d},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"startTime",endProp:"endTime",startPlaceholder:"\u5F00\u59CB\u65E5\u671F",endPlaceholder:"\u7ED3\u675F\u65E5\u671F"}}]},x=y({__name:"index",setup(e){const t="supplyOrderRecordQuery",u="/supply/supplyOrderRecordDetail",{push:l}=E(),c={pageSearchHook:()=>w(void 0,void 0,s)},f={content:{preview:({payNo:o})=>l(`${u}?id=${o}&isQuery=1`),create:()=>l(u)}};return(o,A)=>{const h=i("PageContainer"),D=i("PageAuth");return m(),B(D,{pageName:t},{default:F(()=>[b(h,{hooks:c,events:f,"content-config":r(N),"search-config":r(s)},null,8,["content-config","search-config"])]),_:1})}}});var S=g(x,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/supply/orderRecordQuery/index.vue"]]);export{S as default};