ERP-admin/build/admin/assets/adoptTow.23bca27e.js

2 lines
4.6 KiB
JavaScript
Raw Normal View History

2024-05-30 16:04:01 +08:00
import{Y as I,a2 as S,Z as A,a3 as T,C as U,b as z,T as L}from"./element-plus.681b9893.js";import{o as N}from"./quote.35fd51ff.js";import{t as v,d as j}from"./index.0c8416f0.js";import{d as w,r as R,Z,M as q,o as s,c as x,U as l,L as r,T as G,a9 as K,u as F,K as p,a as e,S as a,R as c,Q as M,bl as O,bk as Q}from"./@vue.18505fe0.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.a6528143.js";import"./@babel.16688d44.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./lodash.466e9fe4.js";import"./axios.4905d81f.js";import"./jspdf.54afd842.js";import"./fflate.fca59393.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.29b71fa4.js";import"./color.87d313dc.js";import"./clone.a63396d9.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./vue-plugin-hiprint.a2d84e76.js";import"./jquery.c3f97e49.js";import"./jsbarcode.39151b53.js";import"./socket.io-client.0b5a7289.js";import"./engine.io-client.81030771.js";import"./engine.io-parser.c748e159.js";import"./@socket.io.77accf6a.js";import"./debug.b392f131.js";import"./socket.io-parser.b7256298.js";import"./html2canvas.0f5947bc.js";import"./canvg.a673c4b2.js";import"./core-js.97b94d69.js";import"./raf.407ad6ad.js";import"./performance-now.a710f6e4.js";import"./rgbcolor.20c71161.js";import"./svg-pathdata.eba17832.js";import"./stackblur-canvas.0fb5df18.js";import"./nprogress.3461658b.js";import"./vue-clipboard3.c63182fd.js";import"./clipboard.dd2c63d0.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const E=i=>(O("data-v-d2bc8c6e"),i=i(),Q(),i),Y={class:"quote-list not-btn","infinite-scroll-distance":1e3,"infinite-scroll-delay":500,"infinite-scroll-immediate":!1,style:{overflow:"auto"}},H={class:"flex justify-between"},J={style:{color:"#f56c6c"}},P={class:"flex justify-between mt-4"},W={class:"flex",style:{"align-items":"center",position:"relative"}},X=E(()=>e("span",{class:"mr-2"},"\u63D0\u4F9B\u6570\u91CF: ",-1)),$={style:{position:"absolute",right:"0",top:"0",bottom:"0",width:"100px"}},tt={class:"flex",style:{"align-items":"center"}},et=E(()=>e("span",{class:"mr-2"},"\u4EA7\u54C1\u62A5\u4EF7: ",-1)),ot={class:"flex justify-end mt-4"},st={class:"mx-1",style:{color:"#f56c6c"}},at=w({name:"adopt0"}),it=w({...at,props:{date:{type:String,default:""}},setup(i,{expose:b}){const _=i,n=R([]),o=Z({page_no:1,page_size:30,loading:!1,loadend:!1}),f=(h=!1)=>{h&&(n.value=[],o.page_no=1,o.loadend=!1,o.loading=!1),!(o.loading||o.loadend)&&(o.loading=!0,N({start_time:v(new Date(_.date),"yyyy-mm-dd"),end_time:v(new Date(_.date),"yyyy-mm-dd")+" 23:59:59",type:2,page_no:o.page_no,page_size:o.page_size}).then(d=>{n.value=[...n.value,...d.lists],d.lists.length<o.page_size&&(o.loadend=!0),o.page_no++,o.loading=!1}))};return b({getLists:f}),(h,d)=>{const y=U,m=z,C=L,g=I,V=S,k=A,B=T;return q((s(),x("div",Y,[l(k,{gutter:20,style:{width:"100%"}},{default:r(()=>[(s(!0),x(G,null,K(F(n),(t,D)=>(s(),p(g,{span:8,key:D},{default:r(()=>[l(C,{class:"mb-4"},{default:r(()=>[e("div",H,[e("div",null,"\u540D\u79F0: "+a(t.goods_name),1),e("div",null,[c(" \u9700\u6C42\u91CF: "),e("span",J,a(t.need_num),1),c(" "+a(t.unit_name),1)])]),e("div",P,[e("div",W,[X,l(y,{modelValue:t.nums,"onUpdate:modelValue":u=>t.nums=u,placeholder:"\u8BF7\u8F93\u5165\u53EF\u63D0\u4F9B\u6570\u91CF",style:{flex:"1"},readonly:""},null,8,["modelValue","onUpdate:modelValue"]),e("div",$,[t.is_adopt==1?(s(),p(m,{key:0,src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/274ad202405111523222891.png"})):t.is_adopt==2?(s(),p(m,{key:1,src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/739c3202405071458553459.png"})):(s(),p(m,{key:2,src:"https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/04c2c202405071501462462