1 |
- import{am as m,d9 as l,aR as f,bb as r,ae as F,_ as D,d as y,p as _,r as s,o as g,G as E,D as B,l as b,m as p,bd as N}from"./index.js";import{c as C,i as P}from"./index.5f728d54.js";const w=[{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\u4ED8\u6B3E\u7F16\u7801",prop:"dzNo",width:150,align:"left"},{label:"\u5BF9\u8D26\u7F16\u7801",prop:"payNo",width:150},{label:"\u72B6\u6001",prop:"dstatus",width:130,cellRenderer:({row:e,props:a})=>m(f,{size:a.size},{default:()=>{var t;return(t=l.find(u=>String(e.dstatus)===u.value))==null?void 0:t.label}})},{label:"\u672C\u6B21\u4ED8\u6B3E\u91D1\u989D",prop:"dpay_fee",width:110,align:"left"},{label:"\u603B\u989D\u6B3E",prop:"total_fee",width:110},{label:"\u7269\u6D41\u4F9B\u5E94\u5546",prop:"supplierName",minWidth:180,...r("supplierNo","supplierName","\u7269\u6D41\u4F9B\u5E94\u5546\u7F16\u7801:")},{label:"\u4E1A\u52A1\u516C\u53F8",prop:"companyName",minWidth:180,...r("companyNo","companyName","\u4E1A\u52A1\u516C\u53F8\u540D\u79F0:")},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",width:90,align:"left"},{label:"\u56DE\u6267\u65F6\u95F4",width:140,prop:"return_time"},{label:"\u7533\u8BF7\u65F6\u95F4",width:140,prop:"addtime",formatter:({addtime:e})=>F(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],A={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:w,deleteProp:"dzNo",showDelete:({dstatus:e})=>Number(e)!==3,superUserNoAction:!0,listNoRelation:!0,companyProp:"supplierNo",apis:{httpList:e=>C({...e,pay_type:"2"}),httpAdd:!0,httpDelete:P}},n={formItems:[{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:l},{field:"companyNo",type:"business-query",placeholder:"\u4E1A\u52A1\u516C\u53F8"},{field:"dzNo",type:"input",placeholder:"\u5BF9\u8D26\u4ED8\u6B3E\u7F16\u7801"},{field:"payNo",type:"input",placeholder:"\u5BF9\u8D26\u7F16\u7801"}]},v=y({__name:"index",setup(e){const a="supSendOrderPay",t="/supplierOrder/supSendOrderPayDetail",{push:u}=_(),i={pageSearchHook:()=>N(void 0,void 0,n)},d={content:{preview:({dzNo:o})=>u(`${t}?id=${o}`),create:()=>u(t)}};return(o,x)=>{const c=s("PageContainer"),h=s("PageAuth");return g(),E(h,{pageName:a},{default:B(()=>[b(c,{hooks:i,events:d,contentConfig:p(A),"search-config":p(n)},null,8,["contentConfig","search-config"])]),_:1})}}});var S=D(v,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/supplierOrder/sendOrderPay/index.vue"]]);export{S as default};
|