index-6b00c1b0.js 1.5 KB

1
  1. import{d as a}from"./index-baf74db8.js";import{l as y}from"./index-8b254714.js";import"./settingColumns.vue_vue_type_style_index_0_scoped_176f68a0_lang-69d091fd.js";import{u as k}from"./vue-router-21ddb934.js";import{a as t,W as f,X as o,Y as n,m as b,Z as s,u as r,E as c,$ as h,a0 as m,a3 as l}from"./vue-2274f357.js";import"./fullScreen-080a6df3.js";const x={key:1},g={key:2},R={__name:"index",setup(T){k();const i=t();let u=t([]);t([]);let p=t([{label:"类型",key:"type",type:"select",dataSource:[{remarks:"发货",value:"发货"},{remarks:"退货",value:"退货"}]},{label:"时间范围",key:"dateRange",type:"datepickerRange",objKeys:["begindate","enddate"],defaultData:[a.date.yearStart,a.date.yearEnd]},{label:"搜索",key:"condition",type:"input"}]),d=t({content:{pageNumber:1,pageSize:20,sort:[{sortname:"默认",sorted:1,sortid:138,reversed:0}],where:{condition:""}},id:20230626104003});return(v,N)=>{const _=f("router-link");return o(),n("div",null,[b(y,{ref_key:"list",ref:i,columns:r(u),param:r(d),tableName:"mxTable",searchType:r(p)},{operation:s(()=>[c(" 工厂发退明细 ")]),tb_cell:s(({data:e})=>[e.column.dataIndex==="sonum"?(o(),h(_,{key:0,to:{path:"/agent_orderDetails",query:{id:e.record.sa_orderid}}},{default:s(()=>[c(m(e.record.sonum),1)]),_:2},1032,["to"])):l("",!0),e.column.dataIndex==="amount"?(o(),n("span",x,m(r(a).formatAmount(e.record.amount)),1)):l("",!0),e.column.dataIndex==="price"?(o(),n("span",g,m(r(a).formatAmount(e.record.price)),1)):l("",!0)]),_:1},8,["columns","param","searchType"])])}}};export{R as default};