invoice-f64ec395.js 6.54 KB
var P=Object.defineProperty,k=Object.defineProperties;var v=Object.getOwnPropertyDescriptors;var w=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var f=(t,e,s)=>e in t?P(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,i=(t,e)=>{for(var s in e||(e={}))A.call(e,s)&&f(t,s,e[s]);if(w)for(var s of w(e))h.call(e,s)&&f(t,s,e[s]);return t},g=(t,e)=>k(t,v(e));var r=(t,e,s)=>new Promise((n,a)=>{var p=c=>{try{l(s.next(c))}catch(u){a(u)}},y=c=>{try{l(s.throw(c))}catch(u){a(u)}},l=c=>c.done?n(c.value):Promise.resolve(c.value).then(p,y);l((s=s.apply(t,e)).next())});import{k as D}from"./vue-5a35c3f5.js";import{u as d}from"./order-eff5d778.js";import{d as o}from"./index.js";const U=(t,e)=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/invoice_bill/get_back_refund_date",params:t})}),j=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/invoice_bill/create",params:t})}),x=t=>r(void 0,null,function*(){const e=yield o.post({url:"/order/erp/invoice_bill/list_by_page",params:t}),s=e.records.map(a=>i({},a)),n=d();return n.setTotal(e.total),n.setQueryVO(t),new Promise(a=>{a({items:s,total:e.total})})}),O=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/invoice_bill/list_base_order_info_by",params:t})}),R=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/invoice_bill/list_analysis_by",params:t})}),E=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/invoice_bill/update_deduct_info",params:t})}),T=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/invoice_bill/update_amount_info",params:t})}),C=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/invoice_bill/delete_by_id",params:t})}),Q=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/invoice_bill/commit_apply",params:t})}),V=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/create",params:t})}),L=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/get_payed_date",params:t})}),N=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/update_deduct_info",params:t})}),H=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/update_amount_info",params:t})}),J=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/commit_apply",params:t})}),q=(t,e)=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/delete_by_id",params:t})}),z=t=>r(void 0,null,function*(){const e=yield o.post({url:"/order/erp/check_bill/list_by_page",params:t}),s=e.records.map(a=>{var p,y,l,c,u,_,m,b;return g(i({},a),{actualPayedAmount1:(p=a.actualPayedAmount1)==null?void 0:p.toFixed(2),actualPayedAmount2:(y=a.actualPayedAmount2)==null?void 0:y.toFixed(2),actualPayedAmount3:(l=a.actualPayedAmount3)==null?void 0:l.toFixed(2),actualPayedAmount:(c=a.actualPayedAmount)==null?void 0:c.toFixed(2),deductAmount:(u=a.deductAmount)==null?void 0:u.toFixed(2),unPayedAmount:(_=a.unPayedAmount)==null?void 0:_.toFixed(2),totalActualPayedAmount:(m=a.totalActualPayedAmount)==null?void 0:m.toFixed(2),totalProductionAmount:(b=a.totalProductionAmount)==null?void 0:b.toFixed(2)})});return d().setTotal(e.total),new Promise(a=>{a({items:s,total:e.total})})}),G=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/list_base_order_info_by",params:t})}),K=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/list_analysis_by",params:t})}),M=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/update_invoice_info",params:t})}),W=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/invoice_bill/getDeductUrl_by_id",params:t})}),X=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/getDeductUrl_by_id",params:t})}),Y=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/getInvoiceUrl_by_id",params:t})}),Z=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/invoice_bill/reUploadBgUrl",params:t})}),$=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/invoice_bill/setBackRefundDate",params:t})}),tt=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/setPayedDate",params:t})}),et=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/invoice_bill/notes",params:t})}),rt=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/notes",params:t})}),ot=t=>r(void 0,null,function*(){const e=yield o.post({url:"/order/cost/BusinessProfitDetail/listByPage",params:t}),s=e.records.map(a=>i({},a)),n=d();return n.setTotal(e.total),n.setQueryVO(t),new Promise(a=>{a({items:s,total:e.total})})}),at=t=>r(void 0,null,function*(){const e=yield o.post({url:"/order/cost/InnerProfitDetail/listByPage",params:t}),s=e.records.map(a=>i({},a)),n=d();return n.setTotal(e.total),n.setQueryVO(t),new Promise(a=>{a({items:s,total:e.total})})}),st=t=>r(void 0,null,function*(){return yield o.post({url:"/order/cost/edit",params:t})}),nt=t=>r(void 0,null,function*(){return yield o.post({url:"/order/cost/applyEditFileds",params:t})}),ct=t=>r(void 0,null,function*(){const e=yield o.post({url:"/project/BusinessProfitInfo/listByPage",params:t}),s=e.records.map(a=>i({},a)),n=d();return n.setTotal(e.total),n.setQueryVO(t),new Promise(a=>{a({items:s,total:e.total})})}),it=t=>r(void 0,null,function*(){const e=yield o.post({url:"/project/InnerProfitInfo/listByPage",params:t}),s=e.records.map(a=>i({},a)),n=d();return n.setTotal(e.total),n.setQueryVO(t),new Promise(a=>{a({items:s,total:e.total})})}),lt=t=>r(void 0,null,function*(){return yield o.post({url:"/project/edit",params:t})}),ut=t=>r(void 0,null,function*(){return yield o.post({url:"/project/applyEditFileds",params:t})}),dt=t=>r(void 0,null,function*(){const e=D();return e.value=yield o.post({url:"/project/pageProjectLockFieldApply",params:t}),e.value.data.records.forEach(s=>{const n=JSON.parse(s==null?void 0:s.fields);n&&(s.fields=n)}),e.value.data.records}),pt=t=>r(void 0,null,function*(){return yield o.post({url:"/project/audit",params:t})}),yt=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/invoice_bill/deleteDeductUrl_by_id",params:t})}),_t=t=>r(void 0,null,function*(){return yield o.post({url:"/order/erp/check_bill/deleteDeductUrl_by_id",params:t})});export{U as A,j as B,L as C,V as D,nt as E,st as F,at as G,it as H,ot as I,ut as J,lt as K,ct as L,z as M,yt as a,_t as b,q as c,C as d,dt as e,pt as f,x as g,E as h,R as i,O as j,W as k,Q as l,$ as m,et as n,N as o,H as p,M as q,Z as r,G as s,K as t,T as u,X as v,Y as w,J as x,tt as y,rt as z};