1 |
- import{b as p}from"./index-3c5e3fcc.js";import{l as k}from"./index-0e5b961f.js";import{u as f}from"./vue-router-e674635e.js";import{a as r,U as b,V as t,W as a,j as h,X as n,u as o,G as s,a4 as l,a5 as c,F as g,a3 as m}from"./vue-f0dec34d.js";import"./base-673b2791.js";import"./_plugin-vue_export-helper-c27b6911.js";const x={key:0},T={key:1},j={__name:"dispatchAndReturnMxAgent",setup(N){f();const u=r();let d=r([]);r([]);let y=r([{label:"类型",key:"type",type:"select",dataSource:[{remarks:"发货",value:"发货"},{remarks:"退货",value:"退货"}]},{label:"出库时间",key:"dateRange",type:"datepickerRange",objKeys:["begindate","enddate"]},{label:"搜索",key:"condition",type:"input"}]),_=r({content:{pageNumber:1,pageSize:20,where:{condition:""}},id:20230626104003});return(v,A)=>{const i=b("router-link");return t(),a("div",null,[h(k,{ref_key:"list",ref:u,columns:o(d),param:o(_),tableName:"dispatchMxTable",searchType:o(y)},{operation:n(()=>[s(" 发退货明细 ")]),tb_cell:n(({data:e})=>[e.column.dataIndex==="price"?(t(),a("span",x,l(o(p).formatAmount(e.record.price)),1)):c("",!0),e.column.dataIndex==="amount"?(t(),a("span",T,l(o(p).formatAmount(e.record.amount)),1)):c("",!0),e.column.dataIndex==="billno"?(t(),a(g,{key:2},[e.record.type=="发货"?(t(),m(i,{key:0,to:{path:"/dispatchdetail_agent",query:{id:e.record.id}}},{default:n(()=>[s(l(e.record.billno),1)]),_:2},1032,["to"])):(t(),m(i,{key:1,to:{path:"/aftersalesBillDetail",query:{id:e.record.id}}},{default:n(()=>[s(l(e.record.billno),1)]),_:2},1032,["to"]))],64)):c("",!0)]),_:1},8,["columns","param","searchType"])])}}};export{j as default};
|