1 |
- import{ah as _,aE as F,aX as C,_ as B,q as g,a2 as y,x as E,C as D,aQ as P,r as b,o as k,n as w,t as u,H as i,p as N,v as t,bw as v,S}from"./index.413ee8cb.js";import{P as x}from"./page-content.f28f89ee.js";import{u as W,P as R}from"./use-page-search.4f9e3dd3.js";import{c as A,d as T}from"./index.65e44545.js";import{P as c}from"./purchPay.bad0fc98.js";import"./index.bef541ea.js";import"./responseHandle.6d0667d8.js";import"./hooks.217daa00.js";import"./use-response-handle.9aced8b8.js";import"./basic-form.1f1ab9b1.js";import"./global.9ad647c8.js";const M=[{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: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})=>_(F,{size:o.size},{default:()=>{var a;return(a=c.find(n=>e.dstatus===n.value))==null?void 0:a.label}})},{label:"\u7533\u8BF7\u4EBA",prop:"apply_name",minWidth:90,align:"left"},{label:"\u7533\u8BF7\u65F6\u95F4",minWidth:180,prop:"createTime",formatter:({addtime:e})=>C(e).format("YYYY-MM-DD HH:mm:ss")},{label:"\u64CD\u4F5C",fixed:"right",width:100,slot:"operation"}],p={title:"\u91C7\u8D2D\u4ED8\u6B3E",columns:M,deleteProp:"dzNo",apis:{httpList:A,httpDelete:T},showDelete:({dstatus:e})=>Number(e)!==3,powers:["001","002","003","004","005","006","007","008"]},Y={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:c}]},z={class:"main role"},H={"w-full":""},V=S("\u65B0\u5EFA"),q={name:"purchPay"},U=g({...q,setup(e){const{pageContentRef:o,handleSearchClick:a,handleResetClick:n}=W(),r=y(()=>p),{push:l}=E();function d(){l("/purchase/purchPayDetail")}function f(s){l({path:"/purchase/purchPayDetail",query:{id:s.dzNo}})}return D(()=>p.powers=P().getMenuActions("purchPay")),(s,j)=>{const h=b("el-button");return k(),w("div",z,[u(v,{isShow:t(r).powers.some(m=>m==="001")},{default:i(()=>[N("div",H,[u(t(R),{ref_key:"pageContentRef",ref:o,"form-config":t(Y),onSearchBtnClick:t(a),onResetBtnClick:t(n)},null,8,["form-config","onSearchBtnClick","onResetBtnClick"]),u(t(x),{ref_key:"pageContentRef",ref:o,"content-config":t(r),onPreviewBtnClick:f},{create:i(()=>[u(h,{type:"primary",onClick:d},{default:i(()=>[V]),_:1})]),_:1},8,["content-config"])])]),_:1},8,["isShow"])])}}});var te=B(U,[["__file","D:/work/accout-vue3-ui/src/views/purchase/purchPay/index.vue"]]);export{te as default};
|