1 |
- import{ao as m,aL as h,ah as f,_ as F,d as y,A as g,x as n,o as _,N as B,K as C,y as P,u as i}from"./index.1bd4a40a.js";import{c as D,d as E}from"./index.8b69d571.js";import{p as s}from"./status.c5a3efde.js";import{u as N}from"./use-page-search.a438c70f.js";const b=[{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:"\u4E70\u65B9\u516C\u53F8\u540D\u79F0",prop:"companyName",minWidth:180},{label:"\u4E70\u65B9\u516C\u53F8\u7F16\u53F7",prop:"companyNo",minWidth:180},{label:"\u603B\u989D\u6B3E",prop:"total_fee",minWidth:110},{label:"\u672C\u6B21\u4ED8\u6B3E\u91D1\u989D",prop:"dpay_fee",minWidth:110,align:"left"},{label:"\u72B6\u6001",prop:"dstatus",minWidth:120,cellRenderer:({row:e,props:o})=>m(h,{size:o.size},{default:()=>{var t;return(t=s.find(u=>String(e.dstatus)===u.value))==null?void 0:t.label}})},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90,align:"left"},{label:"\u7533\u8BF7\u65F6\u95F4",minWidth:180,prop:"addtime",formatter:({addtime:e})=>f(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],W={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:b,deleteProp:"dzNo",showDelete:({dstatus:e})=>Number(e)!==3,companyProp:"supplierNo",superUserNoAction:!0,listNoRelation:!0,apis:{httpList:D,httpDelete:E,httpAdd:!0}},p={formItems:[{field:"companyNo",type:"input",placeholder:"\u4E70\u65B9\u516C\u53F8\u7F16\u53F7"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u53F7"},{field:"companyNo",type:"business-query"},{field:"timer",type:"date_picker",otherOptions:{type:"daterange",startProp:"startTime",endProp:"endTime",startPlaceholder:"\u5F00\u59CB\u65E5\u671F",endPlaceholder:"\u7ED3\u675F\u65E5\u671F"}},{field:"status",type:"select",placeholder:"\u5BA1\u6838\u72B6\u6001",options:s}]},v=y({__name:"index",setup(e){const o="supplyPurchPay",t="/supply/supplyPurchPayDetail",{push:u}=g(),l={pageSearchHook:()=>N(void 0,void 0,p)},r={content:{preview:({dzNo:a})=>u(`${t}?id=${a}`),create:()=>u(t)}};return(a,x)=>{const c=n("PageContainer"),d=n("PageAuth");return _(),B(d,{pageName:o},{default:C(()=>[P(c,{hooks:l,events:r,contentConfig:i(W),"search-config":i(p)},null,8,["contentConfig","search-config"])]),_:1})}}});var Y=F(v,[["__file","/Users/apple/Desktop/Company Projects/accout-vue3-ui/src/views/supply/purchPay/index.vue"]]);export{Y as default};
|