1 |
- import{aq as d,bo as f,aW as m,_ as h,z as D,F,B as _,w as B,x as C,C as i,D as t,P as r,a1 as g}from"./index.c8ee992c.js";import{P as y}from"./page-content.acf087ac.js";import{u as E,P as b}from"./use-page-search.fb0563c9.js";import{c as P,d as k}from"./index.9e818034.js";import{p as W,s as v}from"./configs.40b3dcc9.js";import"./index.d931afb6.js";import"./responseHandle.e5944b12.js";import"./hooks.521a585e.js";import"./use-response-handle.1e253cfc.js";const w=[{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:"\u4F9B\u5E94\u5546\u7F16\u53F7",prop:"supplierNo",minWidth:180,align:"left"},{label:"\u4E1A\u52A1\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:180},{label:"\u672C\u6B21\u4ED8\u6B3E\u91D1\u989D",prop:"dpay_fee",minWidth:180,align:"left"},{label:"\u5DF2\u4ED8\u6B3E\u91D1\u989D",prop:"apay_fee",minWidth:180,align:"left"},{label:"\u5F85\u4ED8\u6B3E\u91D1\u989D",prop:"wpay_fee",minWidth:180,align:"left"},{label:"\u5DF2\u56DE\u7968\u91D1\u989D",prop:"ainv_fee",minWidth:180,align:"left"},{label:"\u672A\u56DE\u7968\u91D1\u989D",prop:"winv_fee",minWidth:180,align:"left"},{label:"\u72B6\u6001",prop:"dstatus",minWidth:120,cellRenderer:({row:e,props:u})=>d(f,{size:u.size},{default:()=>{var a;return(a=W.find(o=>e.dstatus===o.value))==null?void 0:a.label}})},{label:"\u7533\u8BF7\u65F6\u95F4",minWidth:180,prop:"createTime",formatter:({addtime:e})=>m(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],x={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:w,deleteProp:"dzNo",apis:{httpList:P,httpDelete:k},powers:["001","002","003","004","005","006","007","008"]},N={formItems:[{field:"supplierNo",type:"input",placeholder:"\u4F9B\u5E94\u5546\u7F16\u53F7"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u53F7"},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startPlaceholder:"\u5F00\u59CB\u65E5\u671F",endPlaceholder:"\u7ED3\u675F\u65E5\u671F"}},{field:"status",type:"select",placeholder:"\u5BA1\u6838\u72B6\u6001",options:v}]},R={class:"main role"},z=g("\u65B0\u5EFA"),A={name:"purchPay"},S=D({...A,setup(e){const{pageContentRef:u,handleSearchClick:a,handleResetClick:o}=E(),{push:n}=F();function p(){n("/purchase/purchPayDetail")}function s(l){n({path:"/purchase/purchPayDetail",query:{id:l.dzNo}})}return(l,Y)=>{const c=_("el-button");return B(),C("div",R,[i(t(b),{ref_key:"pageContentRef",ref:u,"form-config":t(N),onSearchBtnClick:t(a),onResetBtnClick:t(o)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),i(t(y),{ref_key:"pageContentRef",ref:u,"content-config":t(x),onPreviewBtnClick:s},{create:r(()=>[i(c,{type:"primary",onClick:p},{default:r(()=>[z]),_:1})]),_:1},8,["content-config"])])}}});var G=h(S,[["__file","D:/work/accout-vue3-ui/src/views/purchase/purchPay/index.vue"]]);export{G as default};
|