From e840d1443ef2ad6c24fbf0147b775c2b5f0517f2 Mon Sep 17 00:00:00 2001 From: wurong <953969641@qq.com> Date: Mon, 11 Dec 2023 17:18:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E5=91=98=E4=BD=99=E9=A2=9D=E5=8F=98?= =?UTF-8?q?=E5=8A=A8=E9=A1=B5=E9=9D=A2=E6=97=B6=E9=97=B4=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=8C=E9=A1=B5=E9=9D=A2=E8=BE=B9=E8=B7=9D?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B0=83=E6=95=B4=EF=BC=8C=E9=94=AE=E7=9B=98?= =?UTF-8?q?=E6=94=B6=E8=B5=B7=E4=BC=98=E5=8C=96=E6=9B=B4=E6=94=B9=EF=BC=9B?= =?UTF-8?q?=20=E6=96=B0=E5=A2=9E=EF=BC=9A=E5=BA=97=E9=93=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=BC=80=E5=90=AF=E5=85=B3=E9=97=AD=E6=97=B6=E9=97=B4?= =?UTF-8?q?=EF=BC=8C=E9=A2=84=E7=BA=A6=E4=BF=A1=E6=81=AF=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=EF=BC=8C=E7=A1=AE=E8=AE=A4=E6=89=A3=E6=AC=BE=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=EF=BC=9B=20=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8=E5=AE=9E?= =?UTF-8?q?=E4=BD=93=E7=B1=BB=E6=9B=B4=E6=94=B9=EF=BC=9B=20=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E9=80=89=E6=8B=A9=E5=99=A8=E9=80=82=E9=85=8D?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=EF=BC=9B=20=E6=96=B0=E5=A2=9E=E9=A2=84?= =?UTF-8?q?=E7=BA=A6/=E9=A2=84=E5=94=AE=E9=A1=B5=E9=9D=A2=EF=BC=9B=20?= =?UTF-8?q?=E5=9C=A8=E5=94=AE=E9=A1=B5=E9=9D=A2=E5=95=86=E5=93=81=E5=88=97?= =?UTF-8?q?=E8=A1=A8ui=E6=9B=B4=E6=94=B9=EF=BC=9B=20=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=96=B0=E5=A2=9E=E7=A1=AE=E8=AE=A4=E6=89=A3?= =?UTF-8?q?=E6=AC=BE=E6=8C=89=E9=92=AE=EF=BC=8C=E6=96=B0=E5=A2=9E=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E6=89=A3=E6=AC=BE=E6=8F=90=E7=A4=BA=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=EF=BC=9B=20=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E9=80=89=E6=8B=A9=E5=99=A8=E4=BC=98=E5=8C=96=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=EF=BC=9B=20=E7=A5=A8=E5=88=B8=E5=88=97=E8=A1=A8?= =?UTF-8?q?=EF=BC=8C=E7=A5=A8=E5=88=B8=E8=AE=B0=E5=BD=95=E9=87=91=E9=A2=9D?= =?UTF-8?q?ui=E6=9B=B4=E6=94=B9=EF=BC=9B=20=E7=A5=A8=E5=88=B8=E6=9D=BF?= =?UTF-8?q?=E5=9D=97=E6=97=A5=E6=9C=9F=E9=80=89=E6=8B=A9=E5=99=A8=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=EF=BC=9B=20=E7=94=9F=E6=84=8F=E6=80=BB=E8=A7=88?= =?UTF-8?q?=EF=BC=9A=E5=95=86=E5=93=81=EF=BC=8C=E6=80=BB=E8=A7=88=EF=BC=8C?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E9=A1=B5=E9=9D=A2=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E9=80=89=E6=8B=A9=E5=99=A8=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=EF=BC=9B=20app-=E6=88=91=E7=9A=84-=E4=B8=AA=E4=BA=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E9=A1=B5=E9=9D=A2=EF=BC=8C=E6=9B=B4=E6=94=B9=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=BF=A1=E6=81=AF=E6=97=B6=EF=BC=8C=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E5=A4=B1=E8=B4=A5=E6=96=B0=E5=A2=9E=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E6=8F=90=E7=A4=BA=EF=BC=9B=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=BA=97=E9=93=BA=E4=BF=A1=E6=81=AF=E5=BC=80=E5=90=AF=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E6=97=B6=E9=97=B4=E5=AE=9E=E4=BD=93=E7=B1=BB=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/image/2x/bus_close_circle.webp | Bin 0 -> 860 bytes assets/image/2x/bus_time_select.webp | Bin 0 -> 1158 bytes assets/image/2x/bus_time_unSelect.webp | Bin 0 -> 1036 bytes assets/image/2x/reservation_switch.webp | Bin 0 -> 1222 bytes assets/image/2x/reservation_unswitch.webp | Bin 0 -> 1020 bytes assets/image/3x/bus_close_circle.webp | Bin 0 -> 1206 bytes assets/image/3x/bus_time_select.webp | Bin 0 -> 1854 bytes assets/image/3x/bus_time_unSelect.webp | Bin 0 -> 1602 bytes assets/image/3x/reservation_switch.webp | Bin 0 -> 1820 bytes assets/image/3x/reservation_unswitch.webp | Bin 0 -> 1426 bytes assets/image/bus_close_circle.webp | Bin 0 -> 632 bytes assets/image/bus_time_select.webp | Bin 0 -> 720 bytes assets/image/bus_time_unSelect.webp | Bin 0 -> 696 bytes assets/image/reservation_switch.webp | Bin 0 -> 776 bytes assets/image/reservation_unswitch.webp | Bin 0 -> 712 bytes .../date_select/custom_page.dart | 16 +- .../goods/on_sale/on_sale_page.dart | 431 ++++++---- .../goods/reservation_ page.dart | 813 ++++++++++++++++++ .../home/overview/trade_goods.dart | 3 +- .../home/overview/trade_order.dart | 2 +- .../home/overview/trade_summary.dart | 2 +- .../home/vip/balance_change_record.dart | 359 ++++---- lib/business_system/order/order_list.dart | 187 +++- .../order/order_list_page.dart | 2 +- .../order/ticket/ticket_list.dart | 2 +- .../order/ticket/ticket_page.dart | 2 +- .../order/ticket/ticket_records_page.dart | 2 +- lib/main.dart | 5 +- lib/mine/mine_view/mine_item.dart | 1 - lib/mine/user_info_page.dart | 16 +- lib/retrofit/business_api.dart | 13 + lib/retrofit/business_api.g.dart | 64 ++ lib/retrofit/data/business_goods.dart | 290 ++++++- lib/retrofit/data/store_time_info_list.dart | 42 + 34 files changed, 1806 insertions(+), 446 deletions(-) create mode 100644 assets/image/2x/bus_close_circle.webp create mode 100644 assets/image/2x/bus_time_select.webp create mode 100644 assets/image/2x/bus_time_unSelect.webp create mode 100644 assets/image/2x/reservation_switch.webp create mode 100644 assets/image/2x/reservation_unswitch.webp create mode 100644 assets/image/3x/bus_close_circle.webp create mode 100644 assets/image/3x/bus_time_select.webp create mode 100644 assets/image/3x/bus_time_unSelect.webp create mode 100644 assets/image/3x/reservation_switch.webp create mode 100644 assets/image/3x/reservation_unswitch.webp create mode 100644 assets/image/bus_close_circle.webp create mode 100644 assets/image/bus_time_select.webp create mode 100644 assets/image/bus_time_unSelect.webp create mode 100644 assets/image/reservation_switch.webp create mode 100644 assets/image/reservation_unswitch.webp create mode 100644 lib/business_system/goods/reservation_ page.dart create mode 100644 lib/retrofit/data/store_time_info_list.dart diff --git a/assets/image/2x/bus_close_circle.webp b/assets/image/2x/bus_close_circle.webp new file mode 100644 index 0000000000000000000000000000000000000000..21bde57f4c3c32072cb076791d0ff0693c8320be GIT binary patch literal 860 zcmWIYbaM+~W?%?+bqWXzu!!JdU|=u+VtFv~baoCn!3g9sFrEOBEI_H;ypp0IcPE92 z$S4K&2Mmlr2nLDC#RU)+RuZV{+ck*V%eq)q;1}dfNi9wWD)|7!Dn&rcfo>83vPIG% zYz+`Q3BtAkvCB&eN`PttK=2?(*InG6iuTNxN6ZXv`}7BDdI zw=ghlJC6`Ugh@eSQ6ktl79h!#md3#FX*mM}ZzKbQ@C612u4u3vkig+K1)!7+&|UdJ zn9h*HkjkLI;K`83kj$V5WElY?)sVpq7{flPj0_C=@(0)j)ENa@{^tn_X5HSF7`!m} z*cHddgAZ7E8KM?1J;cl;#b7uo_wuzEo7=ngY5$kGf7e}}(dA2g<88B3EyoX6gB*zt zo+j;$6FF(TIa<{-sCKUE+xosqD&>zt-7;@_y}CdB@yAc^RJWey$Yon;m9kFo=emh) zz7g_E-1EvRPB}|WUnsn`r1NLx#9ap(r+?`<{!-8OZ@9bZ&e+}MZ*NTB7LoZyZm*a1 z;(ouhW1jMdn@frphRvV7^OAV4O0mN0P|FaH_a_@(u35PGyy0VA%h}>(-VD7l+UG7E zl8f+mx8a$vd&56T8FdfYij_0j{I1n)I;wlnt5$6938BlY%Vc+WwoloUvou>_eW+KQ zbmlwP7c)b|`!%KP*RI~ibM>jj+S9vD)+{Q$o8!B&%Od2`j?Nz&KmC4GQ1)w4^s(Qs gL~~Yuj9gZ7?@!e3s8a7&-rHH$u0Q?%YbXN)05xy$1ONa4 literal 0 HcmV?d00001 diff --git a/assets/image/2x/bus_time_select.webp b/assets/image/2x/bus_time_select.webp new file mode 100644 index 0000000000000000000000000000000000000000..28990d7972dda333f6ca641adbeb25ba5027635f GIT binary patch literal 1158 zcmWIYbaSg?VPFV%bqWXzu!!JdU|=u+Vs$X`baoCn!3g9sFrEOBEI_H;ypp0IcPE92 z$S4K&2Mmlr2nLDC#RU)+RuZV{+ck*V%eq)q;1}dfNi9wWD)|7!Dn&rcfo>83vPIG% zYz+`Q3BtAkvCB&eN`PttK=2?(*InG6iuTNxN6ZXv`}7BDdI zw=ghlJC6`Ugh@eSQ6ktlU~DijrKK@2d|J-Hz#GZHAbf#=fh!s;2PAN~O#vt+19VqD z5T-NaFr+dlFnBWLF(fnS0a-@CNHt_I1IDmVKNACkzWM=9fp$lQOlALX{}%p}>bd1M zY04J?>3xaTjoDNyvKK;D(Zb@y$C9yTUD;Xu)w%6&31fR2JoT7L#UUtS!*SLPa z$G80EG#Q>Ke&AQMV1l})u#c$k`HbS+N%DW+9l5LYXVt?qo@)(H&OId=DHyq+y-dZu zdQ$CF{o{333;aJ7sNEEim_6rs7{kq;%ac=F6I8w*m0?=p^C@@Xh1>qp_d7xlonctE zZrz_F@{T+qmcc)KH|ZE~%}&=5aS)w!Uf8qui`nyyf)2iuo;UMyJv}R6VU%HSRD0FI z^4G5!`*c5U<(i|oe%+rNJn4)tR$k_st=6+DgYBB>fjc}R5#^IMth}86xSs7w{VaZ2 zfz$5hXWCb0FO2oRcZlyr-n#YYQ*Rf3+@pKtx>$qKvzd;`QqP zU%Er0m;7zo_vvKNpVzB83vPIG% zYz+`Q3BtAkvCB&eN`PttK=2?(*InG6iuTNxN6ZXv`}7BDdI zw=ghlJC6`Ugh@eSQ6ktlU~DijrKK@2d|J-Hz#GZHAbf#=fh!s;2PAN~O#vt+19VqD z5T-NaFr+dlFnBWLF(fnS0a-@CNHt_I1IDnAC=&yNzWM=9fq2IWxtDw1{0q9CaK&uW zk|pgoKDZm-w_Utq;*u5RjpEBDcJ=PQx^1FJdibF~6NH5nZZoU3C+a?P>VIv}`(O4o z&z299<9SrP=JC`?@)`YVj#OxU{k6OC;!|c0Mg|EL2Eh&i28W)M+grBI%e_745A&b= z_lxBnUH;4N$d&e-IrHwlQoi4UlTE%D0VWxvnv{_#xnx86X3phZ{XVi*}1@;;}< zt={&N>4^0FRKMg8EFR|Xn3w8BR@%MlSQ>w&5`^wE&3^c_Pw=tPn}rGUb=O~ zt^(a$cZ1ocnbKx$R~URk0%V0B+@AJq+X|`eDPH;qoOUrLuY4jKbwjK6f$Y!oIu@&! z+~c|7mHJ+6#=C~VmAwsrIbTehHMg*ap*LtXv%a#cYVJv^EleBU?3(L3b2HEWhN_jO z4aWsvOpg+`c>DkLg1cYtf4W^<8oT3jZhA-$!(k)o+1EU{l`EFMxUXS8{nq`Yx`?vg zEwleWxP9sRR>24EpM4g^`)-{TXq%CG>CQ_>jl9=FwS||&G&eY`Uv+ZV@5`%Y5{p+K zyQ(4EF225=bD>G5v0A?SUALuC@B6pe%a$z)^L+K$cIo*>KK>%7U4K-f+`4>qjemTO bzERW|zr|a__V!%4`{!TpnEy>^ItK#)#|BT~ literal 0 HcmV?d00001 diff --git a/assets/image/2x/reservation_switch.webp b/assets/image/2x/reservation_switch.webp new file mode 100644 index 0000000000000000000000000000000000000000..1678e9bdcf43665bef46cd10215e6251fe9c2a04 GIT binary patch literal 1222 zcmWIYbaUIs!oU#j>J$(bU=hK^z`$St#NiAK`V0)7&dvcR7=c^{#uFft1t^u9S5g$@ z?xYYA8KuDffPoPR!5}fYxB$Y!N&;1Vy9QBvSr@Ac{DPb*sl~}aB_DuTr3h#_&`lyh zwn#dJtpQ>uLD)7Rc6mub2~bS{h+PyCD76yiG=MiFvFeykZN(37Rj12~+v@`~WPs&9&jgIx@B`ce{*M$UskpA1mz-8o z^6&1Qzvpix+;N+_82W!K!24P2qD~<|BB00RKoS1ztkU>GPL4ZMtL9tvHoqsTG%(PoFmJlc@<$ zdBnN@9nVz5zu7PP-*v|$H*5hzrur*kSimJD)_(u+>DSB-OmOM))t?v7{Q`yz2spH* z);*r_-IkJsZHgo**%8G zZcO^Dn6&HWtkaLC1|KZnz;P~Y_S=62pZ?iNe!G2kRq4V5C7b3PT)jQ%(sj;s>A8Z& zAn;b=Q*9&IwnUihoFbyZw5e>(AT+bNrjl#XqDyeZIa)KJj7pd>i4bHI3=^c6Y^W zME3sOXnlCuSHs-;@9(NTXXhH8_tKUAkoS`NcT@JmSM@bhe)``PefdE9h;7%p*k?Ca zW;5HJVb1Y*xBHk0yJX+Z0>fMe8SZ^TIqi{6R%QVK% zmh1ho$CKk$gs#)uDrb59_k_6mE7JB~j#+R07@2Q(arXZ!&$9P^ZM{|Hk^gtuwtFGb q@~hWAzxqu+>$mFGzjJTZg=GK#WB=>#nV&~mU(`JMrIc^S$N&IzPP&f( literal 0 HcmV?d00001 diff --git a/assets/image/2x/reservation_unswitch.webp b/assets/image/2x/reservation_unswitch.webp new file mode 100644 index 0000000000000000000000000000000000000000..1dc03811e43b7132bbef9b6d1638c74f577817ca GIT binary patch literal 1020 zcmWIYbaVT{%)k)t>J$(bU=hK^z`$St#NiAK`V0)7&dvcR7=c^{#uFft1t^u9S5g$@ z?xYYA8KuDffPoPR!5}fYxB$Y!N&;1Vy9QBvSr@Ac{DPb*sl~}aB_DuTr3h#_&`lyh zwn#dJtpQ>uLD)7Rc6mub2~bS{h+PyCD76yiG=MiFvFeykZN(39n0wkHz(ij*%EoWfhjbvaDzQDl16%CdH5;)wZ0F;se zx+@Na`dKERhrrT z8r$1$lSI;AznFQm=JVGaY0scJYZs@deLj2L7|1F7u&LPRyhMQk2U|ZE15*P7lS89I z0|%qQ`OUl5ZBC8+^LyV@oAW>Z|NmHf|G&-o%O<|Lx3?{yk})goq~-HOiFZ?iyfs?| zm^7D)I0^7$lvMteR%~4CI#2El*w@RK4@`&3X6J(w;u4y=OH! zZj#)*w6v>FDnCs7bnlJRHF4w3CPk6Iy>{np%{lfgZJOTp-uEqOh1WBW?f*4-P3?Eh z9IF$0i!S_jUY>thA^&c7j_Kz3rw?vV+597LTlP`6&fh=stWL$mgv~o!H+^${;PhQH zOZNv)NSLut?EX}v_8Ozl6DF_U9cEix*k2OzLnHoq_m zw_{h54fDIW9lMjv*yG|Vb}ET`)a?22^N``2j_w^(cQ`-N6S*$;_*egqe|l@``>N+1 zvHgE&-u1%A-5Wjz-1(uKvq#d*j!*i0`&s)#&%6^q@80k;J$(bU=hK^z`$St#QI?5>FgYEf)U7NU_1dLS%6Zxc_l?b?oJ93 zkx>fl4;UDM5DXHNiwhtutRzs?w`&l!mvynKz%R&|l3JV$RPq6cRf>R?1KlJ7WQ(Lj z*cu>q5`=97VwaZ`lmOKPfY?PLLC!#S3XrXlj>JwvVkZ|AfzZ zZ((5Ab{-*y2$O=uqC~K9z}R45N=sv4__UmXfj5$YLHGg#16MRy4oKi|n*vZu2I#JQ zAWUb-VMt|AVDMzfV@PJu1G0>Ok!r|b28>~!15CiE)jz;3u-$P&ZgBnEzkGshm$vcR z{+-X}Fy}xsOM+mB%4-&dBMrN9Z)e@knK^SNlTmX}bl11v`)5`6uT!o6V7=%+&z)_( z!D|lOwOaZ34KK`P1nH$-TfX_+^o$Z1d9<)Aon{=acVL@eC5WYd34B z8&|Kdj_0H$UoNc=Q!Li?TbEf7_~WyOzP*2!WOk*vWWvY98+liy&wi_rkG`F%{#kYW+*R-O6Apgg+x@d^{RN*pec9@> z?RSSiKl75CJ1YJ9yR_Q%=Z@aI@WJ_~*OKb<9~F~7_b=%c_b{F|sq~=Lp7<{oo8z~| zMg8+Cyc=#eXQ3|hLMfN-q*Z#07G%BUP_6yFqIR;0{u2G(G_i9!K|(j41qHoO{Hrl3 z$-8ym!)t3ej?R1-a^EdX$CjGw*-sbPFuov%Twx^ZHA7fhx;F`iF}ono2E}n zy>;TCbC>tb%8Xc1?~5l67rXyff3?PDd!qi!XTmr0-G8SYv)HtzDCon>R7ah^dY_NH zyww?STKb0c)60$bV!gKctHj-knR~9p=ycoVnZ??Z`$~;ZUAh`;t+~fneSWU?8p)7* zFFxE#<=vm8`#)>OWr}^Cx%Ahx?1~QE3F&etXH}>@ zFX5{B(^B4iu(JNu*;tTUoP(Cr9r7TDGm` M|JDEK|GUfp0I~g@Gynhq literal 0 HcmV?d00001 diff --git a/assets/image/3x/bus_time_select.webp b/assets/image/3x/bus_time_select.webp new file mode 100644 index 0000000000000000000000000000000000000000..e0951bfbd889092cf6a927a4771de32ded2285bb GIT binary patch literal 1854 zcmaKpdpz6M8^=$mOR1XDNKwtJiMg}RUZ~JiGM8v2E_KQ37KAY&O+sxtS?y=0bq#f? ztSY1Y5Y;iJE}eF*XwhhjHkHv|P*t~5*<2F8ulBW9_s4#}=X{^%`##U}d7bl|bNmSI z?)GW`1i9gS0(~5VH2?q~L5_L*5%72)0SuY~m|!RFf=aYR7Q@d2hYTivhE$sbFlf9r zN)(g+j{Y%1D%t2et;qTx75_iEJDSRjf+Wk3qZ!cVP)~Xg>&3ofvmK6n$Id%^mPKbl z8lN3zobtm%91XEq?B6)@ZyZHu?C5hKjWaDFd1tR3+d17HYGQyt^jC-62rz*k@Bp}- z^FwpUl6U|(t^uH2@IDt=4nTV*00{B>9QrB%+W!Ke?cw{}`#Ygi7?iim?Si6GObh@k zwE$?50nil!pmF+b4GRCGHzZUtg8E8=Ml47GRDc8okO-oH4MZP9k9q{yLoa;NLj?d^ z%&&VtC{;enLA!BYSc%R~hnfUwIByNI>R}iT+9N>5GXkRJ3DDD;8Yw=5Cgk~br)Ak| zjD56Evo&=EbL4I_?U~@{iIgKxG69M~jGoOvagniXteJBiyK7vqN8imFC8h<0M{;cadr z8eij{|4VU07e6>RJEw%uuz`GZvGp+7u-1fst;&*QVZGmiTu;BC>y`Is^&sb}^7jv- zwQ_w%kZvd?+$C374V)lF_8#}8m0UyaQU5nM4y(gusHpD-yUYQQw9%;jI`fGe%9@>> zFYhfb4s9yf#a|DdwIzKp%+BVZ$7swpU6)>1b9=BtN#`#sZ0X(4&7Nv%I@Xg!YCl}$ z8l?MIN#~_Y{f(J@eU)D3HN}2j=4)SaxqC;7rM?S3uQx)W949>WmbuITTmR~rA`lX> z!v6F;o%>*i(Qfjus@H*^qqSC z6wjOJ9Qi8P>jwhu_n#=Tar@)^1F~Nb_QJ3LcA?A3p9RjA^M=_eS=lV3h265uWM5L$ zeEhJxf4_Ynwt)Vru(XoT?z+?E@5J*=)rmyr-mpE_{@pR%v{$|UY?N{1ZN zcz3>EDtD#an`?xh7hk+3gn#{g;dkcaGEB8(d1%p@se)ayO?9hYJ}68WD>3`(jKra# znvh%B-M_G!;%FhhZ_#{C`x3&(x{u>kQIdQ!i7Z~IHv{}NAiw^4ec^d>)1X}QmEIusEix$Vj4 z&ivX)bPUyp8)Jz?=JoKa$X>=UuNjuPnEpvaTJM2ot?LohHbiD*pjw8>kEbKn9lb{z zHMlkaQF{~-S0=KG*S}C8(gOG3@r<7F%ON;#p89GAY^m&Vx@qkL&=*~>hMedi7a51t zwJo^L%d?t=o3R_oW^WXeC|No_W8L`=?ism3GTp7|e79)@mpPf-DdCLCpH-Lm+ML+^ zT)ivtvf!p_D9KaS^_oX5GUT|DdaDz0CP{tOKDGy1ue3W5V3UaMZk9lsV%T&+O)*;~ zDQDQ*7;jfR`KG%-sU7wo8>>pH=H?@Eo1JAPRXz)k`)yVlTW6Hu#4o?yE0+>dhUe(< zKU9@Wtwy{lK;-!2m84!dcHi0119;PdJ+HAi;g8`03zSvEZxy+^_+sj%BS(swN--$@ zlPRIz!x(vh>X*j`TFBQ%Y_eBQrgp~Z>(@xr*YaXuYdHjS)ui zasO6?tv*Wi4+BNn%Wik{sW`NgrMzlQJ->3H#|hPeAF%v=R&qL2KP&zLgQS0%D4r0R h%ved&ocb3-T#5?$qGwC_4GkgDAI`?p#*kZWehzkaF5M!~6o_;Sqc~Iwqej!*aJDE9PcM|@C=h|hruq6uMQqVG zBcu|%+|s_-|4qgJC#3@dqx>NWA95`kv^mt162wZBE!GpV-xga7IW9UP8q&B3nMQQ8 zgE#R=cjDTy_9ZlD5+ewfe zZpcvoeX^oO_b4znFsyoHP&^~q+f?OzW9jKc1g&o2&$rAACQa)XH#AR^*VYcOml zr7B*Ib==0{=&TowxeHl>*>^|m4ZLO^5UZV+f=%t$UWaJiCZ>ExQ*?UWNcwz-;q?$! zZnn$ey-76(Utvq4-Z~32)B9}_Uz94ony*IDBM`-oDT9mUuKP}*?jD5UlT?8M*t^eF zN)e#4MM3si?}Q<2V&Sl{Zl&>cwV*XB1Gp^i^XX3Hj5CJ9T z#Clwp9WL-@n_2^*@^QJUt0mrr)r2!4y{i7>YD)|rQGIMA6Vp_Rw?ea)`ONY#^Evks zJExwND;;aAuCu)YWR49Shi(&e7M8HS2!PQWl|RRwrb&H97OOdtj)b&4C&y5; z8drWP!XC!sGIjP2Ik(pM>f77&FBC9;7>W@`oO}~IVC0%WF(Ogx`DN8pxy_ms%NzPP z{Rx@PW4QVf^qc0&@IXg_O|xyPZ^kMul2>Zl6LE!8tHg~<6K!DHPj`m z9$e#SY$&xNhBc#I26g0jYs}c1$NTdGuc!5|6O)VzMQ_UwoR@4R!V7#zn&R~La>h+0 zwlqBjV~ilOe`^02g@%dr*r#_&s+S3TA;CJ~w9bj(7j03}%OuT@S)2-fkLOYxPvR^Wn?Hmi8C+H)Qc_v9&fjmAi$ zxeBwE_Y@<$A2$4m>A<0KVa0h8%Bc_7dGmZ6RPi-VUefES^nMH0Kn|w1a+d^g$s;xJcP^`Rb z0<6wbO3SBCMJ}?2@mD>T6StQXT{3<$81~3{&9k>3^?`)*n~}1dyA^}6nr3Cv;9s}!Ve9|^ literal 0 HcmV?d00001 diff --git a/assets/image/3x/reservation_switch.webp b/assets/image/3x/reservation_switch.webp new file mode 100644 index 0000000000000000000000000000000000000000..2167e084744a343cc49f86b743f5133d52b45bdc GIT binary patch literal 1820 zcmaKpdpy%?9LFCbQ6rg9D^ttdXPlavbBJ=O6mwT9W;nTQHkuLgGUUW7m+9tGDY@l# zGKpL&&23^Sj!8FiTT#&@jq_Vx=cPY7eV*6zecsRa`MjRnmtbpU1(yN9b+3iJi@k}P z900%&>Tv*A17K@uY2PXVO@TzKI7&fFLBXL^g0%(G&D{ej^9o2n?Yq2)G|CeFG(s+6 z?~=Di|EG>$CuMy|G$LgA0Cf}i|IS&An&j74Q zUCw!50^m+O0IK}u9O^0n3QPd1yOwjye?sx1dVSwc3W}1xz5skG008C=fKoRAa)-aK zLE(SyhJ=<7(7nh|^8)DCz8tD!g;F##-+U(T^C7ss&Gj=l zjV<`j*OyXJ+2*E_EIKgoQhcImTV;`f%1#ZJL}?dDDI)*O?he;WHCcUSN;h_$xulyU zNOwv_W&qZzlNCJJrTEwPN`|-=o0O;DAKXM*KcTe|Q}FC#A+E@3dXiE%-nGH&9^##k zse0f{LFaLTUGM&J<^u|UrXVwZp(@S3LP`tPy&hN<5lMqfqVFUnXzMed4i0WtAH>hV zZKh1EXI{plw9}qSXynC3QVTKvl}bFGRt~@g55x#ReMXa`6@R5|ZRNOg<(@n1V&*wv zxAZ^khiL3vjppA%$x=3vb=9g!SEi+tj(D z=h5+qt2^zw==vIEjUUNsl%7@u4f`AJ2`jG=hhxpQtK1Md98oJAQS=?jW2X5kJ8>>% zV+2JCt0GBt#lfmJZShGfV0?qG{xDrts8?pTKJgQ08+NkDkb@>S2WgY{ zt#iyZ!ZxHG%KAn~cwX6k0Jj8h9}516bt~*v`0(R5Wfl zHMliD$KJ8#S~b-oWjw)SKsHi7_@Bs-hnrbS!Z+C!=<$Slcl0}lIm_)|9J<~Z}VCptT1vGMU&l@StNK);_OgMKceG;LB%9F%U4K~M0Bb9jeCWupyB G(*FXAI?`MK literal 0 HcmV?d00001 diff --git a/assets/image/3x/reservation_unswitch.webp b/assets/image/3x/reservation_unswitch.webp new file mode 100644 index 0000000000000000000000000000000000000000..3aab18f42e4144c181db2233eef8900b6c3b1010 GIT binary patch literal 1426 zcmWIYbaU%sWnc(*bqWXzu!!JdU|=u+;${X0cLoMeXXk(uj6f~};|UPS0+h$ zTO=LA)&Q}SAZ!~DyS${J1gIte#4ZX6at5+ffNYI)Bz6)KJGr0;q`n8J#wItX6l50& zfPBZ3nim=jq&a|ChM|}t2pBd_ApZmTK#;$Pfx+S{0|WB}gjmu{28Qje3=9&t5Mn9| z7#R3l7#OylM~ET9q#&^<5o{a_kYq|rV_^8SoPmKil7T_^0s{kAG*}Ku;BcD)P)Y{q zu6!U&XUJhlWl&)7WXNMkX3zt&jDV49$Y2JHVV~K|3=I0s2LuJ;4{1zNaW$J$i%rY#ZZe5{`eWb5naj+KLJwb<_kX`@ zTK2n5t7N~|-n#$&)GEEz$DZ!0>z8m5nmKvr=Z?rFGk!l1oa?^Eq4UU{YEx;Ku32Bh zvt7D8c19@&H8APi+~#Zj`)1mlH4^8|9=-XuUE}$uH@EH!{w-JV%(|2FQ0Q9Y8<`Cr zRg8j2AW&!GsZi;&n@>vv-HZk7*lCk(wrXdHlA8+xIA$$+nY6bSm?an(8e)sX-&PsQ zeqGG^Dn27NhM7TO<)dGVLOIq~t3>VtDwuG+B+$#vY3HP=mk-$6oVGtb*-NSA)}ECo z!-^cWADeEUfB)|1?0TEqGIsy|+40T3x#Rz@8uh2_k=^X8&YHx^eb{Io`DWitFxX$- z?fE{iU zEou()iO*9tNwe)umAPhh`h3BMoo_k}rhWY6-WPd)+x{~TPrU!;dt^!B_g%AY-nwaI z+`cr&T1YB;U1;TH?fp8uwkD-Nl@10!zkBHM%1FOhw-%EGt%Vl8RBlsUt( zH*K3@Hs{6NALNyzk16xiHz_)Nk>hgE_L{QKV8x}bn|*8KSnn+B>}rdDBb)p1hVTRV zZjsf}b4ovn^3@pb>SV}^?pM9_U)V-}M()W+H|=h9PH~(WSN?57wW!0QAj{;Yf8{$q zB>b#pY%UHxd}+qbc|EKPZW-vD%}G*Y;GMi9Hz!HC@z`9+X?$jd0u7tJ4_|8ct>I`$ zZag_vFG7J&XcD*Vg2TOhu_Xpen)9zHy1fw4E`7jbRiG|wv4kros(p@A`yH=Vnc()A z=vGs9*=unn5zRq~x_+&up0d}{LL(N3C9aKYx8>&jmREA)a8RPYf3vNx?6)%08;`>h Z*T**-^J~rd8}NXqCn>!##6sAW0RS0R?GXR~ literal 0 HcmV?d00001 diff --git a/assets/image/bus_close_circle.webp b/assets/image/bus_close_circle.webp new file mode 100644 index 0000000000000000000000000000000000000000..aa956f41ab52f7e6518f4bfb3625be58cec484bd GIT binary patch literal 632 zcmWIYbaN|UVqge&bqWXzu!!JdU|=u+Vtz34baoCn!3g9sFrEOBEI_H;ypp0IcPE92 z$S4K&2Mmlr2nLDC#RU)+RuZV{+ck*V%eq)q;1}dfNi9wWD)|7!Dn&rcfo>83vPIG% zYz+`Q3BtAkvCB&eN`PttK=2?(*InG6iuTNxN6ZXv`}761da zg@Iw)d4w1uObQZ<62Zo?07<5_GzNxG%NZDWBN-TkFEB80MT6yl1P-?;0HtJr?#c(k zbcP&;R0ahGPlh~(WClGT%Lo{$h74xF81`ubD%9scz${QMAjoxVTVnES*``dx>^UEf zFfqj(Wjdg8ey_WbQh~~YKcBDL*KarMI3RhD#qC4KgL#Gw#x7stb8nmVY@hXsjiK!F zp(W>EPFLXG!CUdXaY{iJ$(bU=hK^z`$St#KK_Y>FgYEf)U7NU_1dLS%6Zxc_l?b?oJ93 zkx>fl4;UDM5DXHNiwhtutRzs?w`&l!mvynKz%R&|l3JV$RPq6cRf>R?1KlJ7WQ(Lj z*cu>q5`=97VwaZ`lmOKPfY?PLLC!#S3XrXlj>JwvVkZ|AfzZ zZ((5Ab{-*y2$O=uqC~K9EI^VeEscTU({cs|-bi3XTwq|}iU!L82^?-y07}UK-IWi7 z=?pmxsSFAXo(y>m$qafxmJu*g4H?XUG3;{_s8C<{0EaarzW-vu^;VxPhgU6|mD)2SP1V(XS=3XfE!t1+uD&+CbV|6Ws;yq_;jN!{-r{Be E09^#J;{X5v literal 0 HcmV?d00001 diff --git a/assets/image/bus_time_unSelect.webp b/assets/image/bus_time_unSelect.webp new file mode 100644 index 0000000000000000000000000000000000000000..650b415ab14dea8752d8b46c1679901050fc9220 GIT binary patch literal 696 zcmWIYbaUIl#J~{l>J$(bU=hK^z`$St#KK_Y>FgYEf)U7NU_1dLS%6Zxc_l?b?oJ93 zkx>fl4;UDM5DXHNiwhtutRzs?w`&l!mvynKz%R&|l3JV$RPq6cRf>R?1KlJ7WQ(Lj z*cu>q5`=97VwaZ`lmOKPfY?PLLC!#S3XrXlj>JwvVkZ|AfzZ zZ((5Ab{-*y2$O=uqC~K9EI^VeEscTU({cs|-bi3XTwq|}iU!L82^?-y07}UK-IWi7 z=?pmxsSFAXo(y>m$qafxmJu*g4H?XUG3;{)s8C<{0Et=Zb-B5YR5)kAT&oV)EMvsvXmWbFVfdl3u0ja0P!ZFga7~l literal 0 HcmV?d00001 diff --git a/assets/image/reservation_switch.webp b/assets/image/reservation_switch.webp new file mode 100644 index 0000000000000000000000000000000000000000..76e2c202523eaf9e40340b515d200feeb037c739 GIT binary patch literal 776 zcmWIYbaP{1W?%?+bqWXzu!!JdU|=u+Vr>QnaRvrYXXk(uj6f~};|UPS0+h$ zTO=LA)&Q}SAZ!~DyS${J1gIte#4ZX6at5+ffNYI)Bz6)KJGr0;q`n8J#wItX6l50& zfPBZ3nim=jq&a|ChM|}th{2t~3FLnu9|-anF)&zsWnf^QfDlWX$-uC^m4QLx7D7yA z0Rsbn3j@Qp^9V6Sm=q)yC4!A(0g_Bm$qafxmJu*g4H?XUG3+D6$iSeleSlTq{DKt|m#mOZ`LL%Y zf$6_pnYeVW!uClXBuYQ*ICrM;g92-tXpoAHs4zxC3IcB zo4JVb&gOgHn|^(-UzE5{KECG9gnji(Dyn%EIz1XVmKaB`|MJe{xWTRijw+sASI%$Q zQ+wgxT)A`oO&$NV3vRo;tT_Gy7@7^Y`&B$A0a42Pz2D!QR9tt+%C5 zVteBF9_x61mMGf&=1Jld6OTz-)Y`7htN&Rzsjs5z?XE+w^otIyyjgvE_oc&!{+QiX zm|L8&<7R+6_pvH-x!PIhH%OY)W;##Nk=ZTi-MR9BJ$(bU=hK^z`$St#M%rD;tUL)&dvcR7=c^{#uFft1t^u9S5g$@ z?xYYA8KuDffPoPR!5}fYxB$Y!N&;1Vy9QBvSr@Ac{DPb*sl~}aB_DuTr3h#_&`lyh zwn#dJtpQ>uLD)7Rc6mub2~bS{h+PyCD76yiG=MiFvFeykZN(39n0wkHz(ij*%EoWfhjbvaDzQDl16%CdH5;)wZ0F;se zx+@zXrbFQo3`(LZSpS9z~ex~iYQ!;9J)-yD) zc}`OCoW{svrINeS`qpFLTQh^00-i=s+P3UT!#zi?lwZd`zAiGA&Eh^eb))OP-=Ahi zi~N?Kzt=VO%je3d5{;ipafwnKw^iS`B arguments; + + CustomPage({this.arguments}); @override State createState() { @@ -60,9 +63,8 @@ class _CustomPage extends State{ top: 0, right: 0, bottom: 0, - child: SfDateRangePicker( + child: (widget.arguments["beyondDateRange"]) == "1"?SfDateRangePicker( onSelectionChanged: _onSelectionChanged, - maxDate: DateTime.now(), selectionMode: DateRangePickerSelectionMode.range, initialSelectedRange: PickerDateRange( DateTime.now().subtract(const Duration(days: 4)), @@ -70,6 +72,16 @@ class _CustomPage extends State{ startRangeSelectionColor: Color(0xFF30415B), endRangeSelectionColor: Color(0xFF30415B), todayHighlightColor: Color(0xFF30415B), + ):SfDateRangePicker( + onSelectionChanged: _onSelectionChanged, + maxDate: DateTime.now(), + selectionMode: DateRangePickerSelectionMode.range, + initialSelectedRange: PickerDateRange( + DateTime.now().subtract(const Duration(days: 4)), + DateTime.now().add(const Duration(days: 3)),), + startRangeSelectionColor: Color(0xFF30415B), + endRangeSelectionColor: Color(0xFF30415B), + todayHighlightColor: Color(0xFF30415B), ), ) ], diff --git a/lib/business_system/goods/on_sale/on_sale_page.dart b/lib/business_system/goods/on_sale/on_sale_page.dart index cffc8e70..74cf8cdd 100644 --- a/lib/business_system/goods/on_sale/on_sale_page.dart +++ b/lib/business_system/goods/on_sale/on_sale_page.dart @@ -98,8 +98,7 @@ class _OnSalePage extends State { "order": "ascending", "size": 100, "sort": "sort" - }).catchError((error) { - }); + }).catchError((error) {}); if (!mounted) return; if (baseData != null && baseData.isSuccess) { productGroupList = baseData.data; @@ -201,109 +200,120 @@ class _OnSalePage extends State { width: double.infinity, ), Expanded( - child: networkStatus == -1 ? noNetwork() - :Container( - child: Row( - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Container( - width: 100.w, - height: double.infinity, - padding: EdgeInsets.only(bottom: 70.h), - color: Color(0xFFFAFAFA), - child: networkStatus == 0 - ? ListView.builder( - itemCount: 10, - physics: BouncingScrollPhysics(), - shrinkWrap: true, - itemBuilder: (context, position) { - return leftItemSm(); - }, - ) - : ListView.builder( - itemCount: productGroupList?.records?.length ?? 0, - physics: BouncingScrollPhysics(), - shrinkWrap: true, - itemBuilder: (context, position) { - return GestureDetector( - behavior: HitTestBehavior.opaque, - onTap: () { - groupIndex = position; - _pageIndex = 1; - adminProductVoList.clear(); - queryGoodsList( - productGroupList?.records[position].id); - }, - child: leftItem( - productGroupList.records[position], - position), - ); - }, - ), - ), - Container( - width: MediaQuery.of(context).size.width - 100.w, - child: SmartRefresher( - controller: _refreshController, - enablePullDown: true, - enablePullUp: - adminProductVoList.length != 0 ? true : false, - header: MyHeader( - color: Color(0xFF30415B), - ), - physics: BouncingScrollPhysics(), - footer: CustomFooter( - builder: (context, mode) { - return MyFooter(mode); - }, - ), - onLoading: () { - _pageIndex++; - queryGoodsList(groupIndex == -1 - ? "" - : productGroupList?.records[groupIndex].id); - }, - onRefresh: () { - _pageIndex = 1; - adminProductVoList.clear(); - _onRefresh(isShowLoad: false); - }, - child: Container( - color: Colors.white, - child: networkStatus == 0 - ? ListView.builder( - itemCount: 10, - physics: BouncingScrollPhysics(), - shrinkWrap: true, - itemBuilder: (context, position) { - return rightGoodsSm(); + child: networkStatus == -1 + ? noNetwork() + : Container( + child: Row( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + width: 100.w, + height: double.infinity, + padding: EdgeInsets.only(bottom: 70.h), + color: Color(0xFFFAFAFA), + child: networkStatus == 0 + ? ListView.builder( + itemCount: 10, + physics: BouncingScrollPhysics(), + shrinkWrap: true, + itemBuilder: (context, position) { + return leftItemSm(); + }, + ) + : ListView.builder( + itemCount: + productGroupList?.records?.length ?? + 0, + physics: BouncingScrollPhysics(), + shrinkWrap: true, + itemBuilder: (context, position) { + return GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () { + groupIndex = position; + _pageIndex = 1; + adminProductVoList.clear(); + queryGoodsList(productGroupList + ?.records[position].id); + }, + child: leftItem( + productGroupList + .records[position], + position), + ); + }, + ), + ), + Container( + width: MediaQuery.of(context).size.width - 100.w, + child: SmartRefresher( + controller: _refreshController, + enablePullDown: true, + enablePullUp: adminProductVoList.length != 0 + ? true + : false, + header: MyHeader( + color: Color(0xFF30415B), + ), + physics: BouncingScrollPhysics(), + footer: CustomFooter( + builder: (context, mode) { + return MyFooter(mode); }, - ) - : ((adminProductVoList == null || - adminProductVoList.length == 0) - ? NoDataView( - src: - "assets/image/bs_no data_logo.webp", - isShowBtn: false, - text: "该分组暂无添加商品", - fontSize: 16.sp, - margin: EdgeInsets.all(20.h), - ) - : ListView.builder( - itemCount: - adminProductVoList?.length ?? 0, - controller: controller, - physics: BouncingScrollPhysics(), - shrinkWrap: true, - itemBuilder: (context, position) { - return rightGoodsItem( - adminProductVoList[position]); - }, - )))), - ), - ], - ))), + ), + onLoading: () { + _pageIndex++; + queryGoodsList(groupIndex == -1 + ? "" + : productGroupList + ?.records[groupIndex].id); + }, + onRefresh: () { + _pageIndex = 1; + adminProductVoList.clear(); + _onRefresh(isShowLoad: false); + }, + child: Container( + color: Colors.white, + child: networkStatus == 0 + ? ListView.builder( + itemCount: 10, + physics: BouncingScrollPhysics(), + shrinkWrap: true, + itemBuilder: (context, position) { + return rightGoodsSm(); + }, + ) + : ((adminProductVoList == null || + adminProductVoList.length == + 0) + ? NoDataView( + src: + "assets/image/bs_no data_logo.webp", + isShowBtn: false, + text: "该分组暂无添加商品", + fontSize: 16.sp, + margin: EdgeInsets.all(20.h), + ) + : ListView.builder( + itemCount: adminProductVoList + ?.length ?? + 0, + controller: controller, + physics: + BouncingScrollPhysics(), + shrinkWrap: true, + itemBuilder: + (context, position) { + return rightGoodsItem( + adminProductVoList[ + position]); + }, + )))), + ), + ], + ))), ], ), Row( @@ -512,10 +522,20 @@ class _OnSalePage extends State { ); } + ///确收扣款刷新 + suclear() { + _pageIndex = 1; + adminProductVoList.clear(); + queryGoodsList(groupIndex == -1 + ? "" + : productGroupList?.records[groupIndex]?.id ?? ""); + } + Widget rightGoodsItem(AdminProductVoList adminProductVoList) { return Container( margin: EdgeInsets.only(bottom: 21.h, left: 16.w, right: 16.w, top: 10.h), child: Row( + crossAxisAlignment: CrossAxisAlignment.end, children: [ MImage( adminProductVoList?.productImg ?? "", @@ -528,102 +548,143 @@ class _OnSalePage extends State { width: 12.w, ), Expanded( + flex: 2, child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Padding( - padding: EdgeInsets.only(bottom: 11.h, top: 2.h), - child: Text( - adminProductVoList?.productName ?? "", - maxLines: 1, - overflow: TextOverflow.ellipsis, - style: TextStyle( - fontSize: 14.sp, - fontWeight: MyFontWeight.medium, - color: Color(0xFF000000), - ), - ), - ), - Row( + crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text( - "库存${adminProductVoList?.stock ?? 0}", - style: TextStyle( - fontSize: 10.sp, - fontWeight: MyFontWeight.regular, - color: Color(0xFFA29E9E), + Padding( + padding: EdgeInsets.only(bottom: 11.h, top: 2.h), + child: Text( + adminProductVoList?.productName ?? "", + maxLines: 1, + overflow: TextOverflow.ellipsis, + style: TextStyle( + fontSize: 14.sp, + fontWeight: MyFontWeight.medium, + color: Color(0xFF000000), + ), ), ), + Row( + children: [ + Text( + "库存${adminProductVoList?.stock ?? 0}", + style: TextStyle( + fontSize: 10.sp, + fontWeight: MyFontWeight.regular, + color: Color(0xFFA29E9E), + ), + ), + SizedBox( + width: 8.w, + ), + Text( + "销量${adminProductVoList?.sellCount ?? 0}", + style: TextStyle( + fontSize: 10.sp, + fontWeight: MyFontWeight.regular, + color: Color(0xFF999999), + ), + ), + ], + ), SizedBox( - width: 8.w, + height: 7.h, ), - Text( - "销量${adminProductVoList?.sellCount ?? 0}", + Row( + children: [ + Expanded( + child: Text.rich( + TextSpan( + children: [ + TextSpan( + text: "¥", + style: TextStyle( + fontSize: 12.sp, + fontWeight: MyFontWeight.medium, + color: Color(0xFFF4524D), + ), + ), + TextSpan( + text: adminProductVoList?.price ?? "", + style: TextStyle( + fontSize: 18.sp, + fontWeight: MyFontWeight.medium, + color: Color(0xFFF4524D), + ), + ), + ], + ), + )), + ], + ) + ], + )), + Column( + crossAxisAlignment: CrossAxisAlignment.end, + children: [ + GestureDetector( + onTap: () { + Navigator.of(context) + .pushNamed('/router/reservation_page', arguments: { + "storeId": widget.storeId, + "shopId": adminProductVoList.productSkuVOList[0].storeId, + "productId": adminProductVoList.id, + "subscribeParam": adminProductVoList.subscribeParam + }).then((value) { + if (value == 1) + suclear(); + }); + }, + child: Container( + decoration: BoxDecoration( + color: Colors.white, + borderRadius: BorderRadius.circular(33), + border: Border.all( + color: Color(0x29000000), + width: 1, + ), + ), + margin: EdgeInsets.only(bottom: 12.h), + padding: + EdgeInsets.symmetric(vertical: 2.h, horizontal: 12.w), + child: Text( + "预售", style: TextStyle( - fontSize: 10.sp, + fontSize: 12.sp, fontWeight: MyFontWeight.regular, - color: Color(0xFF999999), + color: Color(0x99000000), ), ), - ], - ), - SizedBox( - height: 7.h, + ), ), - Row( - children: [ - Expanded( - child: Text.rich( - TextSpan( - children: [ - TextSpan( - text: "¥", - style: TextStyle( - fontSize: 12.sp, - fontWeight: MyFontWeight.medium, - color: Color(0xFFF4524D), - ), - ), - TextSpan( - text: adminProductVoList?.price ?? "", - style: TextStyle( - fontSize: 18.sp, - fontWeight: MyFontWeight.medium, - color: Color(0xFFF4524D), - ), - ), - ], + GestureDetector( + onTap: () { + showOffShelfDialog(adminProductVoList.id ?? ""); + }, + child: Container( + decoration: BoxDecoration( + color: Colors.white, + borderRadius: BorderRadius.circular(33), + border: Border.all( + color: Color(0xFF30415B), + width: 1, ), - )), - GestureDetector( - onTap: () { - showOffShelfDialog(adminProductVoList.id ?? ""); - }, - child: Container( - decoration: BoxDecoration( - color: Colors.white, - borderRadius: BorderRadius.circular(33), - border: Border.all( - color: Color(0xFF30415B), - width: 1, - ), - ), - padding: - EdgeInsets.symmetric(vertical: 2.h, horizontal: 12.w), - child: Text( - "下架", - style: TextStyle( - fontSize: 12.sp, - fontWeight: MyFontWeight.regular, - color: Color(0xFF30415B), - ), - ), + ), + padding: + EdgeInsets.symmetric(vertical: 2.h, horizontal: 12.w), + child: Text( + "下架", + style: TextStyle( + fontSize: 12.sp, + fontWeight: MyFontWeight.regular, + color: Color(0xFF30415B), ), - ) - ], + ), + ), ) ], - )), + ) ], ), ); diff --git a/lib/business_system/goods/reservation_ page.dart b/lib/business_system/goods/reservation_ page.dart new file mode 100644 index 00000000..8d5f9856 --- /dev/null +++ b/lib/business_system/goods/reservation_ page.dart @@ -0,0 +1,813 @@ +import 'package:dio/dio.dart'; +import 'package:flutter/cupertino.dart'; +import 'package:flutter/material.dart'; +import 'package:flutter_easyloading/flutter_easyloading.dart'; +import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; +import 'package:pull_to_refresh/pull_to_refresh.dart'; +import 'package:flutter_screenutil/flutter_screenutil.dart'; +import '../../../retrofit/business_api.dart'; +import '../../../utils/font_weight.dart'; +import '../../generated/l10n.dart'; +import '../../retrofit/data/base_data.dart'; +import '../../retrofit/data/business_goods.dart'; +import '../../retrofit/data/store_time_info_list.dart'; +import '../../utils/business_instance.dart'; +import '../../utils/flutter_utils.dart'; +import '../../view_widget/my_appbar.dart'; + +class ReservationPage extends StatefulWidget { + final Map arguments; + + ReservationPage({this.arguments}); + + @override + State createState() { + return _ReservationPage(); + } +} + +class _ReservationPage extends State { + final RefreshController _refreshController = RefreshController(); + BusinessApiService businessService; + String networkError = ""; + int networkStatus = 0; + final TextEditingController editingController = TextEditingController(); + final TextEditingController daysAfterController = TextEditingController(); + final TextEditingController daysWithinController = TextEditingController(); + FocusNode _focusNode = FocusNode(); + bool isKeyBoardShow = false; + bool _subscribeSwitch = false; + bool _paySubscribeSwitch = false; + StoreTimeInfoList storeTimeInfoList; + List timeSlots = []; + SubscribeParam subscribeParam; + String selectTimeDate = ""; + + ///离开页面记着销毁和清除 + @override + void dispose() { + super.dispose(); + _refreshController.dispose(); + _focusNode.unfocus(); + } + + @override + void initState() { + super.initState(); + WidgetsBinding.instance.addPostFrameCallback((_) { + setState(() { + print("object: ${MediaQuery.of(context).viewInsets.bottom}"); + if (MediaQuery.of(context).viewInsets.bottom == 0) { + if (isKeyBoardShow) { + isKeyBoardShow = false; + //关闭键盘 软键盘关闭了, 清除输入控件的焦点, 否则重新进入页面会导致软键盘再弹出问题 + FocusScope.of(context).requestFocus(FocusNode()); + } + } else { + isKeyBoardShow = true; + } + }); + }); + subscribeParam = widget.arguments["subscribeParam"]; + queryReservationDetails(widget.arguments["shopId"]); + } + + ///预约时间详情 + queryReservationDetails(shopId) async { + try { + if (subscribeParam != null) + EasyLoading.show( + status: S.current.zhengzaijiazai, + maskType: EasyLoadingMaskType.black); + if (businessService == null) { + businessService = BusinessApiService(Dio(), + context: context, + token: BusinessInstance.instance.businessToken, + tenant: BusinessInstance.instance.businessTenant, + storeId: widget.arguments["storeId"]); + } + BaseData baseData = + await businessService.storeOpenTime(shopId).catchError((error) { + networkStatus = -1; + networkError = AppUtils.dioErrorTypeToString(error.type); + }); + if (baseData != null && baseData.isSuccess) { + storeTimeInfoList = baseData.data; + if (subscribeParam != null) { + timeSlots = subscribeParam.subscribeTimes; + _subscribeSwitch = subscribeParam.isEnableSubscribe; + _paySubscribeSwitch = subscribeParam.isEnableSubscribePay; + universalTypeSelect = subscribeParam.dayOrDate; + + setState(() {}); + } + networkStatus = 1; + } + } finally { + EasyLoading.dismiss(); + } + } + + ///设置间隔的时间段list + List getTimeSlots(String st, String et, int n) { + List tempTimes = []; + try { + DateTime start = DateTime.parse(st); + DateTime end = DateTime.parse(et); + Duration interval = Duration(minutes: n); + + while (start.isBefore(end)) { + DateTime current = start.add(interval); + if (current.isBefore(end)) { + String startTime = start.toString().substring(11, 16); + String endTime = current.toString().substring(11, 16); + tempTimes.add('$startTime-$endTime'); + } else { + String startTime = start.toString().substring(11, 16); + String endTime = end.toString().substring(11, 16); + tempTimes.add('$startTime-$endTime'); + } + start = current; + } + } catch (ex) { + EasyLoading.dismiss(); + } + return tempTimes; + } + + ///预约信息保存 + updateSubscribeInfo() async { + try { + EasyLoading.show( + status: S.current.zhengzaijiazai, + maskType: EasyLoadingMaskType.black); + if (businessService == null) { + businessService = BusinessApiService(Dio(), + context: context, + token: BusinessInstance.instance.businessToken, + tenant: BusinessInstance.instance.businessTenant, + storeId: widget.arguments["storeId"]); + } + BaseData baseData = await businessService.updateSubscribe({ + "productId": widget.arguments["productId"], + "subscribe": { + "isEnableSubscribe": _subscribeSwitch, + "isEnableSubscribePay": _paySubscribeSwitch, + "timePeriod": editingController.text != "" + ? editingController.text + : subscribeParam?.timePeriod ?? "", + "subscribeTimes": timeSlots, + "dayOrDate": (storeTimeInfoList?.posType ?? "") == "FAST_SERVICE" + ? 0 + : universalTypeSelect, + "startAfterDays": daysAfterController?.text ?? "", + "daysValidate": daysWithinController?.text ?? "", + "subscribeStartTime": selectTimeDate == "" + ? "" + : selectTimeDate + .replaceAll("年", "-") + .replaceAll("月", "-") + .replaceAll("日", "") + .substring(0, 19), + "subscribeEndTime": selectTimeDate == "" + ? "" + : selectTimeDate + .replaceAll("年", "-") + .replaceAll("月", "-") + .replaceAll("日", "") + .substring(23, 41), + "stores": [] + } + }).catchError((error) {}); + if (baseData != null && baseData.isSuccess) { + Navigator.of(context).pop(1); + SmartDialog.showToast("预约信息编辑成功", alignment: Alignment.center); + setState(() {}); + } else { + SmartDialog.showToast(baseData.msg, alignment: Alignment.center); + } + } finally { + EasyLoading.dismiss(); + } + } + + @override + Widget build(BuildContext context) { + return Scaffold( + resizeToAvoidBottomInset: false, + appBar: MyAppBar( + title: "预约", + titleColor: Colors.black, + leadingColor: Colors.black, + background: Colors.white, + ), + body: networkStatus == -1 + ? noNetwork() + : Container( + color: Colors.white, + padding: EdgeInsets.symmetric(horizontal: 16.w), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + if (networkStatus == 1) + Row( + children: [ + Text( + "预约开关", + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF0D0D0D), + fontWeight: MyFontWeight.bold), + ), + SizedBox( + width: 24.w, + ), + GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () { + setState(() { + _subscribeSwitch = !_subscribeSwitch; + }); + }, + child: Padding( + padding: EdgeInsets.symmetric(horizontal: 24.w), + child: _subscribeSwitch + ? Image.asset( + "assets/image/reservation_switch.webp", + width: 44.w, + height: 24.h, + fit: BoxFit.fill, + ) + : Image.asset( + "assets/image/reservation_unswitch.webp", + width: 44.w, + height: 24.h, + fit: BoxFit.fill, + ), + ), + ), + ], + ), + if (networkStatus == 1) + Expanded( + child: + (storeTimeInfoList?.posType ?? "") == "FAST_SERVICE" + ? timeIntervalType() + : universalType()), + if (networkStatus == 1) + GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () { + updateSubscribeInfo(); + }, + child: Container( + width: double.infinity, + alignment: Alignment.center, + margin: EdgeInsets.only(bottom: 55.h, top: 15.h), + padding: EdgeInsets.symmetric(vertical: 16.h), + decoration: BoxDecoration( + borderRadius: BorderRadius.circular(27), + color: Color(0xFF30415B)), + child: Text( + S.of(context).baocun, + style: TextStyle( + fontWeight: MyFontWeight.semi_bold, + fontSize: 16.sp, + color: Colors.white, + ), + ), + ), + ) + ], + ), + ), + ); + } + + ///时间间隔预约类型 + Widget timeIntervalType() { + return Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Container( + width: double.infinity, + height: 1.h, + color: Color(0x14000000), + margin: EdgeInsets.symmetric(vertical: 24.h), + ), + Row( + children: [ + Text( + "付费预约开关", + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF0D0D0D), + fontWeight: MyFontWeight.bold), + ), + SizedBox( + width: 24.w, + ), + GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () { + setState(() { + _paySubscribeSwitch = !_paySubscribeSwitch; + }); + }, + child: Padding( + padding: EdgeInsets.symmetric(horizontal: 24.w), + child: _paySubscribeSwitch + ? Image.asset( + "assets/image/reservation_switch.webp", + width: 44.w, + height: 24.h, + fit: BoxFit.fill, + ) + : Image.asset( + "assets/image/reservation_unswitch.webp", + width: 44.w, + height: 24.h, + fit: BoxFit.fill, + ), + ), + ), + ], + ), + Container( + width: double.infinity, + height: 1.h, + color: Color(0x14000000), + margin: EdgeInsets.only(top: 24.h, bottom: 10.h), + ), + Row( + children: [ + Expanded( + child: Text( + "预约间隔时(分钟)", + style: TextStyle( + color: Color(0xFF0D0D0D), + fontSize: 14.sp, + fontWeight: FontWeight.bold, + ), + ), + ), + Expanded( + child: TextField( + controller: editingController, + keyboardType: TextInputType.phone, + onChanged: (value) { + timeSlots = getTimeSlots( + "2023-11-14 ${storeTimeInfoList?.openStartTime ?? ""}", + "2023-11-14 ${storeTimeInfoList?.openEndTime ?? ""}", + int.tryParse(editingController.text) ?? 30); + }, + decoration: InputDecoration( + hintText: subscribeParam != null + ? (subscribeParam?.timePeriod ?? 0).toString() + : "分钟", + hintTextDirection: TextDirection.rtl, + hintStyle: TextStyle( + color: Color(0xFF0D0D0D), + fontSize: 14.sp, + fontWeight: MyFontWeight.semi_bold, + ), + border: InputBorder.none, + contentPadding: EdgeInsets.only(left: 16.w), + ), + textAlign: TextAlign.right, + style: TextStyle( + color: Color(0xFF0D0D0D), + fontSize: 14.sp, + fontWeight: MyFontWeight.semi_bold), + ), + ), + ], + ), + Padding( + padding: EdgeInsets.only(bottom: 16.h, top: 38.h), + child: Text( + "选择预约时间段", + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF0D0D0D), + fontWeight: MyFontWeight.bold), + )), + Expanded( + child: GridView.builder( + itemCount: timeSlots.length, + shrinkWrap: true, + physics: BouncingScrollPhysics(), + gridDelegate: SliverGridDelegateWithFixedCrossAxisCount( + //一行的Widget数量 + crossAxisCount: 3, + //水平子Widget之间间距 + crossAxisSpacing: 14, + //垂直子Widget之间间距 + mainAxisSpacing: 20, + //子Widget宽高比例 + childAspectRatio: 3, + ), + itemBuilder: (context, index) { + return reservationTimeList(index); + }, + )), + ], + ); + } + + ///通用预约类型 + Widget universalType() { + return Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Padding( + padding: EdgeInsets.only(top: 34.h, bottom: 16.h), + child: Text( + "增加有效期", + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF0D0D0D), + fontWeight: MyFontWeight.bold), + )), + Row( + children: [ + Expanded( + child: GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () { + setState(() { + universalTypeSelect = 1; + }); + }, + child: Row( + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + checkView(1), + Text( + "任意时间", + style: TextStyle( + fontSize: 12.sp, + color: Color(0xFF1A1A1A), + fontWeight: MyFontWeight.regular), + ) + ], + ))), + Expanded( + child: GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () { + setState(() { + universalTypeSelect = 3; + }); + }, + child: Row( + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + checkView(3), + Text( + "日期范围", + style: TextStyle( + fontSize: 12.sp, + color: Color(0xFF1A1A1A), + fontWeight: MyFontWeight.regular), + ) + ], + ))), + Expanded( + child: GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () { + setState(() { + universalTypeSelect = 2; + }); + }, + child: Row( + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + checkView(2), + Text( + "可预定的期限", + style: TextStyle( + fontSize: 12.sp, + color: Color(0xFF1A1A1A), + fontWeight: MyFontWeight.regular), + ) + ], + ))), + ], + ), + if ((universalTypeSelect != 0 && universalTypeSelect != 1)) + Expanded( + child: + universalTypeSelect == 2 ? expectedDeadline() : dateRange()), + ], + ); + } + + ///可预订的期限UI + Widget expectedDeadline() { + return Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Padding( + padding: EdgeInsets.only(top: 34.h, bottom: 16.h), + child: Text( + "预约多少天以后", + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF0D0D0D), + fontWeight: MyFontWeight.bold), + )), + Container( + width: 164.w, + margin: EdgeInsets.only(bottom: 8.h), + padding: EdgeInsets.symmetric(vertical: 5.h), + decoration: BoxDecoration( + color: Color(0xFFF8F9FA), + borderRadius: BorderRadius.circular(4), + ), + child: Row( + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Expanded( + child: TextField( + controller: daysAfterController, + keyboardType: TextInputType.phone, + onEditingComplete: () { + FocusScope.of(context).requestFocus(FocusNode()); + }, + decoration: InputDecoration( + border: InputBorder.none, + isCollapsed: true, + hintText: subscribeParam != null + ? (subscribeParam?.startAfterDays ?? "").toString() + : "", + hintStyle: TextStyle( + color: Color(0xFF0D0D0D), + fontSize: 14.sp, + fontWeight: MyFontWeight.regular, + ), + contentPadding: EdgeInsets.only(left: 16.w), + ), + style: TextStyle( + color: Color(0xFF0D0D0D), + fontSize: 14.sp, + fontWeight: MyFontWeight.regular), + ), + ), + Padding( + padding: EdgeInsets.only(right: 13.w), + child: Text( + "天", + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF7B8CA7), + fontWeight: MyFontWeight.medium), + ), + ) + ], + ), + ), + Text( + "*设定预定后整数天后才有效", + style: TextStyle( + fontSize: 12.sp, + color: Color(0xFFFA5151), + fontWeight: MyFontWeight.regular), + ), + Padding( + padding: EdgeInsets.only(top: 25.h, bottom: 16.h), + child: Text( + "预约多少天以内", + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF0D0D0D), + fontWeight: MyFontWeight.bold), + )), + Container( + width: 164.w, + margin: EdgeInsets.only(bottom: 8.h), + padding: EdgeInsets.symmetric(vertical: 5.h), + decoration: BoxDecoration( + color: Color(0xFFF8F9FA), + borderRadius: BorderRadius.circular(4), + ), + child: Row( + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Expanded( + child: TextField( + controller: daysWithinController, + keyboardType: TextInputType.phone, + onEditingComplete: () { + FocusScope.of(context).requestFocus(FocusNode()); + }, + decoration: InputDecoration( + isCollapsed: true, + border: InputBorder.none, + hintText: subscribeParam != null + ? (subscribeParam?.daysValidate ?? "").toString() + : "", + hintStyle: TextStyle( + color: Color(0xFF0D0D0D), + fontSize: 14.sp, + fontWeight: MyFontWeight.regular, + ), + contentPadding: EdgeInsets.only(left: 16.w), + ), + style: TextStyle( + color: Color(0xFF0D0D0D), + fontSize: 14.sp, + fontWeight: MyFontWeight.regular), + ), + ), + Padding( + padding: EdgeInsets.symmetric(horizontal: 13.w), + child: Text( + "天", + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF7B8CA7), + fontWeight: MyFontWeight.medium), + ), + ) + ], + ), + ), + Text( + "*设定预定后整数天内有效", + style: TextStyle( + fontSize: 12.sp, + color: Color(0xFFFA5151), + fontWeight: MyFontWeight.regular), + ) + ], + ); + } + + ///日期范围UI + Widget dateRange() { + return Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Padding( + padding: EdgeInsets.only(top: 34.h, bottom: 16.h), + child: Text( + "日期范围", + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF0D0D0D), + fontWeight: MyFontWeight.bold), + )), + timeSelect(), + ], + ); + } + + ///时间选择 + Widget timeSelect() { + return Container( + color: Colors.white, + child: GestureDetector( + onTap: () { + Navigator.of(context).pushNamed('/router/custom_page', + arguments: {"beyondDateRange": "1"}).then((value) { + setState(() { + selectTimeDate = value; + }); + }); + }, + child: Container( + decoration: BoxDecoration( + color: Color(0xFFF7F8FA), + borderRadius: BorderRadius.circular(2), + ), + padding: EdgeInsets.symmetric(horizontal: 14.w, vertical: 12.h), + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Text( + (selectTimeDate == "" || selectTimeDate == null) + ? (((subscribeParam?.subscribeEndTime ?? "") != "" && + (subscribeParam?.subscribeStartTime ?? "") != "") + ? "${subscribeParam?.subscribeStartTime ?? ""} 至 ${subscribeParam?.subscribeEndTime ?? ""}" + : "选择开始时间 至 结束时间") + : "${selectTimeDate.replaceAll("年", "-").replaceAll("月", "-").replaceAll("日", "").substring(0, 19)} " + "${selectTimeDate.replaceAll("年", "-").replaceAll("月", "-").replaceAll("日", "").substring(20, 41)}", + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF30415B), + fontWeight: MyFontWeight.regular), + ), + ], + ), + ), + ), + ); + } + + var universalTypeSelect = 0; + + Widget checkView(var index) { + return Container( + padding: EdgeInsets.only( + right: 6.w, + ), + alignment: Alignment.center, + child: Image.asset( + universalTypeSelect != index + ? "assets/image/bus_time_unSelect.webp" + : "assets/image/bus_time_select.webp", + width: 20.w, + height: 20.h, + ), + ); + } + + Widget reservationTimeList(int index) { + return Container( + decoration: new BoxDecoration( + color: Color(0xFFEFF5FF), + borderRadius: BorderRadius.circular(2), + ), + child: Row( + crossAxisAlignment: CrossAxisAlignment.center, + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Text( + timeSlots[index], + style: TextStyle( + fontWeight: MyFontWeight.medium, + fontSize: 14.sp, + color: Color(0xFF30415B), + ), + ), + GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () { + timeSlots.removeAt(index); + setState(() {}); + }, + child: Container( + padding: EdgeInsets.all(4), + child: Image.asset( + "assets/image/bus_close_circle.webp", + width: 16.h, + height: 16.h, + fit: BoxFit.fill, + ), + ), + ), + ], + ), + ); + } + + Widget noNetwork() { + return Container( + width: double.infinity, + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Text( + networkError.substring(0, networkError.indexOf(",")), + style: TextStyle( + fontSize: 14.sp, + color: Color(0xFF0D0D0D), + fontWeight: MyFontWeight.bold), + ), + Padding( + padding: EdgeInsets.symmetric(vertical: 10.h), + child: Text( + "请检查网络设置或稍后重试", + style: TextStyle( + fontSize: 12.sp, + color: Color(0xFF7A797F), + fontWeight: MyFontWeight.regular), + ), + ), + GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () { + queryReservationDetails(widget.arguments["shopId"]); + }, + child: Container( + decoration: BoxDecoration( + color: Color(0xFF30415B), + borderRadius: BorderRadius.circular(15), + ), + padding: EdgeInsets.symmetric(horizontal: 12.w, vertical: 3.h), + child: Text( + "重试", + style: TextStyle( + fontSize: 14.sp, + color: Colors.white, + fontWeight: MyFontWeight.regular), + )), + ) + ], + ), + ); + } +} diff --git a/lib/business_system/home/overview/trade_goods.dart b/lib/business_system/home/overview/trade_goods.dart index aa11c726..c0e8629f 100644 --- a/lib/business_system/home/overview/trade_goods.dart +++ b/lib/business_system/home/overview/trade_goods.dart @@ -2,7 +2,6 @@ import 'package:dio/dio.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_easyloading/flutter_easyloading.dart'; -import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; import 'package:huixiang/view_widget/classic_header.dart'; import 'package:huixiang/view_widget/my_footer.dart'; import 'package:intl/intl.dart'; @@ -576,7 +575,7 @@ class _TradeGoods extends State { }); } else if (dateIndex == 3) { Navigator.of(context) - .pushNamed('/router/custom_page') + .pushNamed('/router/custom_page',arguments: {"beyondDateRange": "0"}) .then((value) { customDate = value; querySingleSales( diff --git a/lib/business_system/home/overview/trade_order.dart b/lib/business_system/home/overview/trade_order.dart index 70fa0b59..bd8a656a 100644 --- a/lib/business_system/home/overview/trade_order.dart +++ b/lib/business_system/home/overview/trade_order.dart @@ -505,7 +505,7 @@ class _TradeOrder extends State { }); } else if (dateIndex == 3) { Navigator.of(context) - .pushNamed('/router/custom_page') + .pushNamed('/router/custom_page',arguments: {"beyondDateRange": "0"}) .then((value) { customDate = value; queryBusinessAnalysis( diff --git a/lib/business_system/home/overview/trade_summary.dart b/lib/business_system/home/overview/trade_summary.dart index a715a64a..001f74bf 100644 --- a/lib/business_system/home/overview/trade_summary.dart +++ b/lib/business_system/home/overview/trade_summary.dart @@ -512,7 +512,7 @@ class _TradeSummary extends State { }); } else if (dateIndex == 3) { Navigator.of(context) - .pushNamed('/router/custom_page') + .pushNamed('/router/custom_page',arguments: {"beyondDateRange": "0"}) .then((value) { customDate = value; queryBusinessAnalysis( diff --git a/lib/business_system/home/vip/balance_change_record.dart b/lib/business_system/home/vip/balance_change_record.dart index 724d555e..aa6e71ca 100644 --- a/lib/business_system/home/vip/balance_change_record.dart +++ b/lib/business_system/home/vip/balance_change_record.dart @@ -150,184 +150,189 @@ class _BalanceChangeRecord extends State { @override Widget build(BuildContext context) { - return Stack( - children: [ - Column( - children: [ - Container( - width: double.infinity, - height: 1.h, - color: Color(0xFFD8D8D8), - ), - timeSelect(), - balanceChangeSearch(), - Container( - color: Colors.white, - padding: EdgeInsets.only(left: 19.w, bottom: 12.h), - child: Row( - children: [ - Text( - "记录类型", - style: TextStyle( - fontSize: 15.sp, - fontWeight: MyFontWeight.regular, - color: Color(0xFF808080), + return GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: (){ + FocusScope.of(context).requestFocus(FocusNode());}, + child: Stack( + children: [ + Column( + children: [ + Container( + width: double.infinity, + height: 1.h, + color: Color(0xFFD8D8D8), + ), + timeSelect(), + balanceChangeSearch(), + Container( + color: Colors.white, + padding: EdgeInsets.only(left: 19.w, bottom: 12.h), + child: Row( + children: [ + Text( + "记录类型", + style: TextStyle( + fontSize: 15.sp, + fontWeight: MyFontWeight.regular, + color: Color(0xFF808080), + ), ), - ), - GestureDetector( - behavior: HitTestBehavior.opaque, - onTap: () { - setState(() { - _isShow = !_isShow; - }); + GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () { + setState(() { + _isShow = !_isShow; + }); + }, + child: Container( + padding: EdgeInsets.symmetric(horizontal: 12.w), + child: Icon( + _isShow + ? Icons.keyboard_arrow_up + : Icons.keyboard_arrow_down, + color: Color(0xFF808080), + size: 24, + )), + ), + ], + )), + Expanded( + child: SmartRefresher( + controller: _refreshController, + enablePullDown: true, + enablePullUp: records.length == 0 ? false : true, + header: MyHeader(color: Color(0xFF30415B)), + physics: BouncingScrollPhysics(), + footer: CustomFooter( + builder: (context, mode) { + return MyFooter(mode); }, - child: Container( - padding: EdgeInsets.symmetric(horizontal: 12.w), - child: Icon( - _isShow - ? Icons.keyboard_arrow_up - : Icons.keyboard_arrow_down, - color: Color(0xFF808080), - size: 24, - )), ), - ], - )), - Expanded( - child: SmartRefresher( - controller: _refreshController, - enablePullDown: true, - enablePullUp: records.length == 0 ? false : true, - header: MyHeader(color: Color(0xFF30415B)), - physics: BouncingScrollPhysics(), - footer: CustomFooter( - builder: (context, mode) { - return MyFooter(mode); - }, - ), - onRefresh: () { - _isShow = false; - _current = 1; - records.clear(); - _onRefresh(isShowLoad: false); - }, - onLoading: () { - _isShow = false; - _current++; - _onRefresh(isShowLoad: false); - }, - child: networkStatus == -1 - ? noNetwork() - : ((networkStatus == 0) - ? ListView.builder( - padding: EdgeInsets.zero, - itemCount: 10, - scrollDirection: Axis.vertical, - shrinkWrap: true, + onRefresh: () { + _isShow = false; + _current = 1; + records.clear(); + _onRefresh(isShowLoad: false); + }, + onLoading: () { + _isShow = false; + _current++; + _onRefresh(isShowLoad: false); + }, + child: networkStatus == -1 + ? noNetwork() + : ((networkStatus == 0) + ? ListView.builder( + padding: EdgeInsets.zero, + itemCount: 10, + scrollDirection: Axis.vertical, + shrinkWrap: true, + physics: BouncingScrollPhysics(), + itemBuilder: (context, position) { + return balanceChangeItemSm(); + }, + ) + : ((records == null || records.length == 0) + ? NoDataView( + src: "assets/image/bs_no data_logo.webp", + isShowBtn: false, + text: "暂无数据", + fontSize: 16.sp, + iconHeight: 120.h, + margin: EdgeInsets.all(50.h), + ) + : Padding( + padding: EdgeInsets.only(top: 16.h), + child: Expanded( + child: ListView.builder( + itemCount: records?.length ?? 0, physics: BouncingScrollPhysics(), + shrinkWrap: true, itemBuilder: (context, position) { - return balanceChangeItemSm(); + return GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () { + if (isKeyBoardShow) + FocusScope.of(context) + .requestFocus(FocusNode()); + return; + }, + child: balanceChangeItem( + records[position], position), + ); }, - ) - : ((records == null || records.length == 0) - ? NoDataView( - src: "assets/image/bs_no data_logo.webp", - isShowBtn: false, - text: "暂无数据", - fontSize: 16.sp, - iconHeight: 120.h, - margin: EdgeInsets.all(50.h), - ) - : Padding( - padding: EdgeInsets.only(top: 16.h), - child: Expanded( - child: ListView.builder( - itemCount: records?.length ?? 0, - physics: BouncingScrollPhysics(), - shrinkWrap: true, - itemBuilder: (context, position) { - return GestureDetector( - behavior: HitTestBehavior.opaque, - onTap: () { - if (isKeyBoardShow) - FocusScope.of(context) - .requestFocus(FocusNode()); - return; - }, - child: balanceChangeItem( - records[position], position), - ); - }, - ), - ), - ))), - )), - ], - ), - if (_isShow) - Container( - height: 100.h, - width: 100.w, - decoration: BoxDecoration( - color: Colors.white, - border: Border.all( - color: Color(0x29000000), - width: 0.5.w, - ), - borderRadius: BorderRadius.circular(2), - ), - margin: EdgeInsets.only(top: 149.h, left: 19.w), - padding: EdgeInsets.symmetric(vertical: 8.h), - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - GestureDetector( - behavior: HitTestBehavior.opaque, - onTap: () { - setState(() { - recordType = 0; - _isShow = false; - records.clear(); - _onRefresh(); - }); - }, - child: Container( - width: double.infinity, - padding: EdgeInsets.symmetric( - vertical: 8.h, horizontal: 16.w), - child: Text( - "支出", - style: TextStyle( - color: Color(0xFF808080), - fontSize: 15.sp, - fontWeight: MyFontWeight.regular), - )), + ), + ), + ))), + )), + ], + ), + if (_isShow) + Container( + height: 100.h, + width: 100.w, + decoration: BoxDecoration( + color: Colors.white, + border: Border.all( + color: Color(0x29000000), + width: 0.5.w, ), - GestureDetector( + borderRadius: BorderRadius.circular(2), + ), + margin: EdgeInsets.only(top: 149.h, left: 19.w), + padding: EdgeInsets.symmetric(vertical: 8.h), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + GestureDetector( behavior: HitTestBehavior.opaque, onTap: () { setState(() { - recordType = 1; + recordType = 0; _isShow = false; records.clear(); _onRefresh(); }); }, child: Container( - width: double.infinity, - padding: EdgeInsets.symmetric( - vertical: 8.h, horizontal: 16.w), - child: Text( - "收入", - style: TextStyle( - color: Color(0xFF808080), - fontSize: 15.sp, - fontWeight: MyFontWeight.regular), - ), - )), - ], - )) - ], + width: double.infinity, + padding: EdgeInsets.symmetric( + vertical: 8.h, horizontal: 16.w), + child: Text( + "支出", + style: TextStyle( + color: Color(0xFF808080), + fontSize: 15.sp, + fontWeight: MyFontWeight.regular), + )), + ), + GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () { + setState(() { + recordType = 1; + _isShow = false; + records.clear(); + _onRefresh(); + }); + }, + child: Container( + width: double.infinity, + padding: EdgeInsets.symmetric( + vertical: 8.h, horizontal: 16.w), + child: Text( + "收入", + style: TextStyle( + color: Color(0xFF808080), + fontSize: 15.sp, + fontWeight: MyFontWeight.regular), + ), + )), + ], + )) + ], + ), ); } @@ -391,7 +396,7 @@ class _BalanceChangeRecord extends State { child: GestureDetector( onTap: () { _isShow = false; - Navigator.of(context).pushNamed('/router/custom_page').then((value) { + Navigator.of(context).pushNamed('/router/custom_page',arguments: {"beyondDateRange": "0"}).then((value) { selectTimeDate = value; records.clear(); _onRefresh(); @@ -438,8 +443,8 @@ class _BalanceChangeRecord extends State { children: [ Padding( padding: EdgeInsets.only( - bottom: 12, - left: 12.h, + bottom: 12.h, + left: 12.w, ), child: Row( crossAxisAlignment: CrossAxisAlignment.center, @@ -470,8 +475,8 @@ class _BalanceChangeRecord extends State { ), Padding( padding: EdgeInsets.only( - bottom: 12, - left: 12.h, + bottom: 12.h, + left: 12.w, ), child: Row( children: [ @@ -500,8 +505,8 @@ class _BalanceChangeRecord extends State { ), Padding( padding: EdgeInsets.only( - bottom: 12, - left: 12.h, + bottom: 12.h, + left: 12.w, ), child: Row( children: [ @@ -530,8 +535,8 @@ class _BalanceChangeRecord extends State { ), Padding( padding: EdgeInsets.only( - bottom: 12, - left: 12.h, + bottom: 12.h, + left: 12.w, ), child: Row( children: [ @@ -558,8 +563,8 @@ class _BalanceChangeRecord extends State { ), Padding( padding: EdgeInsets.only( - bottom: 12, - left: 12.h, + bottom: 12.h, + left: 12.w, ), child: Row( children: [ @@ -586,8 +591,8 @@ class _BalanceChangeRecord extends State { ), Padding( padding: EdgeInsets.only( - bottom: 12, - left: 12.h, + bottom: 12.h, + left: 12.w, ), child: Row( children: [ @@ -614,8 +619,8 @@ class _BalanceChangeRecord extends State { ), Padding( padding: EdgeInsets.only( - bottom: 12, - left: 12.h, + bottom: 12.h, + left: 12.w, ), child: Row( children: [ diff --git a/lib/business_system/order/order_list.dart b/lib/business_system/order/order_list.dart index c2858088..f8c4543a 100644 --- a/lib/business_system/order/order_list.dart +++ b/lib/business_system/order/order_list.dart @@ -16,7 +16,10 @@ import '../../retrofit/data/base_data.dart'; import '../../retrofit/data/business_order_list.dart'; import '../../utils/business_instance.dart'; import '../../utils/flutter_utils.dart'; +import '../../view_widget/border_text.dart'; import '../../view_widget/no_data_view.dart'; +import '../../view_widget/round_button.dart'; +import '../../view_widget/settlement_tips_dialog.dart'; class OrderList extends StatefulWidget { final int status; @@ -103,7 +106,7 @@ class _OrderList extends State { "showCancelOrder": 1, "orderType": "" }).catchError((error) { - networkError = AppUtils.dioErrorTypeToString(error.type); + networkError = AppUtils.dioErrorTypeToString(error.type); networkStatus = -1; setState(() {}); _refreshController.refreshFailed(); @@ -134,6 +137,42 @@ class _OrderList extends State { } } + ///确认扣款 + orderBalancePay(String orderCode,String orderId,String payMoney) async { + try { + EasyLoading.show( + status: S.current.zhengzaijiazai, + maskType: EasyLoadingMaskType.black); + if (businessService == null) { + businessService = BusinessApiService(Dio(), + context: context, + token: BusinessInstance.instance.businessToken, + tenant: BusinessInstance.instance.businessTenant, + storeId: widget.storeId); + } + BaseData baseData = await businessService.balancePay({ + "orderId": orderId, + "payMoney": payMoney, + "payChannel": 1 + }).catchError((error) {}); + if (baseData != null && baseData.isSuccess) { + await queryOrderList(queryId: orderCode); + SmartDialog.showToast("扣款成功", alignment: Alignment.center); + setState(() {}); + } else { + SmartDialog.show( + widget: SettlementTips( + () { + }, + text: baseData.msg, + color: Color(0xFF30415B), + )); + } + } finally { + EasyLoading.dismiss(); + } + } + @override Widget build(BuildContext context) { return SmartRefresher( @@ -158,7 +197,7 @@ class _OrderList extends State { }, child: networkStatus == -1 ? noNetwork() - : ((networkStatus==0) + : ((networkStatus == 0) ? ListView.builder( padding: EdgeInsets.zero, itemCount: 10, @@ -326,7 +365,7 @@ class _OrderList extends State { ), ), Text( - adminOrderDtoList?.paySum ?? "", + "¥ ${adminOrderDtoList?.paySum ?? ""}", style: TextStyle( fontSize: 14.sp, color: Color(0xFF181818), @@ -361,10 +400,15 @@ class _OrderList extends State { padding: EdgeInsets.symmetric( vertical: 5.h, horizontal: 26.w), margin: EdgeInsets.only( - right: (adminOrderDtoList.payStatus == 1 && - adminOrderDtoList.refundStatus == 0 && adminOrderDtoList.enableRefundApprover == false) + right: ((adminOrderDtoList.payStatus == 1 && + adminOrderDtoList.refundStatus == 0 && + adminOrderDtoList + .enableRefundApprover == + false) || + adminOrderDtoList.payStatus == 0) ? 20.w - : 0,top: 20.h), + : 0, + top: 20.h), child: Text( "核销", style: TextStyle( @@ -374,8 +418,37 @@ class _OrderList extends State { ), ), ), + if (adminOrderDtoList.payStatus == 0 && + adminOrderDtoList.refundStatus == 0 && adminOrderDtoList.orderType == 6) + GestureDetector( + behavior: HitTestBehavior.opaque, + onTap: () { + showPayDialog(adminOrderDtoList.orderCode,adminOrderDtoList.id,adminOrderDtoList.orderSum); + }, + child: Container( + decoration: BoxDecoration( + color: Colors.white, + borderRadius: BorderRadius.circular(4), + border: Border.all( + color: Color(0xFF30415B), + width: 1, + ), + ), + padding: EdgeInsets.symmetric( + vertical: 5.h, horizontal: 14.w), + margin: EdgeInsets.only(top: 20.h), + child: Text( + "确认扣款", + style: TextStyle( + fontSize: 12.sp, + color: Color(0xFF30415B), + fontWeight: MyFontWeight.regular), + ), + ), + ), if (adminOrderDtoList.payStatus == 1 && - adminOrderDtoList.refundStatus == 0 && adminOrderDtoList.enableRefundApprover == false) + adminOrderDtoList.refundStatus == 0 && + adminOrderDtoList.enableRefundApprover == false) GestureDetector( behavior: HitTestBehavior.opaque, onTap: () { @@ -403,7 +476,7 @@ class _OrderList extends State { ), padding: EdgeInsets.symmetric( vertical: 5.h, horizontal: 14.w), - margin: EdgeInsets.only(top:20.h), + margin: EdgeInsets.only(top: 20.h), child: Text( "申请退款", style: TextStyle( @@ -415,16 +488,19 @@ class _OrderList extends State { ), ], ), - if(adminOrderDtoList.payStatus == 1 && - adminOrderDtoList.refundStatus == 0 && adminOrderDtoList.enableRefundApprover == true) - Padding(padding: EdgeInsets.only(top:15.h), - child: Text( - "备注:暂无退款权限,请前往企业微信联系退款审核人员进行审批", - style: TextStyle( - fontSize: 12.sp, - color: Colors.red, - fontWeight: MyFontWeight.regular), - ),), + if (adminOrderDtoList.payStatus == 1 && + adminOrderDtoList.refundStatus == 0 && + adminOrderDtoList.enableRefundApprover == true) + Padding( + padding: EdgeInsets.only(top: 15.h), + child: Text( + "备注:暂无退款权限,请前往企业微信联系退款审核人员进行审批", + style: TextStyle( + fontSize: 12.sp, + color: Colors.red, + fontWeight: MyFontWeight.regular), + ), + ), ], ), ), @@ -433,6 +509,81 @@ class _OrderList extends State { ); } + ///确认扣款提示弹窗 + showPayDialog(String orderCode,String orderId,String payMoney) { + showDialog( + context: context, + builder: (context) { + return AlertDialog( + content: Container( + width: MediaQuery.of(context).size.width - 84, + height: 120.h, + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Text( + " 确定对该订单进行扣款吗?", + style: TextStyle( + color: Color(0xFFF4524D), + fontSize: 16.sp, + fontWeight: MyFontWeight.regular, + ), + ), + SizedBox( + height: 35.h, + ), + Row( + children: [ + Expanded( + child: InkWell( + child: BorderText( + text: S.of(context).quxiao, + textColor: Color(0xFF30415B), + fontSize: 16.sp, + fontWeight: FontWeight.bold, + borderColor: Color(0xFF30415B), + radius: 4, + padding: EdgeInsets.all(12), + borderWidth: 1, + ), + onTap: () { + Navigator.of(context).pop(); + }, + ), + flex: 1, + ), + SizedBox( + width: 16.w, + ), + Expanded( + child: InkWell( + child: RoundButton( + text: S.of(context).queren, + textColor: Colors.white, + radius: 4, + padding: EdgeInsets.all(12), + backgroup: Color(0xFF30415B), + fontSize: 16.sp, + fontWeight: FontWeight.bold, + ), + onTap: () { + Navigator.of(context).pop(); + orderBalancePay(orderCode,orderId,payMoney); + }, + ), + flex: 1, + ), + ], + ) + ], + ), + ), + ); + }, + ); + } + Widget orderGoodsList(OrderProductList orderProductList) { return Container( margin: EdgeInsets.only(bottom: 13.h), diff --git a/lib/business_system/order/order_list_page.dart b/lib/business_system/order/order_list_page.dart index f86fb352..e7f21744 100644 --- a/lib/business_system/order/order_list_page.dart +++ b/lib/business_system/order/order_list_page.dart @@ -193,7 +193,7 @@ class _OrderListPage extends State { color: Colors.white, child: GestureDetector( onTap: () { - Navigator.of(context).pushNamed('/router/custom_page').then((value) { + Navigator.of(context).pushNamed('/router/custom_page',arguments: {"beyondDateRange": "0"}).then((value) { selectTimeDate = value; loadFinish(); }); diff --git a/lib/business_system/order/ticket/ticket_list.dart b/lib/business_system/order/ticket/ticket_list.dart index 852328e0..87b77886 100644 --- a/lib/business_system/order/ticket/ticket_list.dart +++ b/lib/business_system/order/ticket/ticket_list.dart @@ -334,7 +334,7 @@ class _TicketList extends State { fontWeight: MyFontWeight.regular), )), Text( - ticketShowList?.amount ??"", + "¥ ${ticketShowList?.amount ??""}", style: TextStyle( fontSize: 14.sp, color: Color(0xFF181818), diff --git a/lib/business_system/order/ticket/ticket_page.dart b/lib/business_system/order/ticket/ticket_page.dart index d07ff910..e75c5528 100644 --- a/lib/business_system/order/ticket/ticket_page.dart +++ b/lib/business_system/order/ticket/ticket_page.dart @@ -593,7 +593,7 @@ class _TicketPage extends State color: Colors.white, child: GestureDetector( onTap: () { - Navigator.of(context).pushNamed('/router/custom_page').then((value) { + Navigator.of(context).pushNamed('/router/custom_page',arguments: {"beyondDateRange": "0"}).then((value) { selectTimeDate = value; loadFinish(); }); diff --git a/lib/business_system/order/ticket/ticket_records_page.dart b/lib/business_system/order/ticket/ticket_records_page.dart index 51c290f9..54e6e2ce 100644 --- a/lib/business_system/order/ticket/ticket_records_page.dart +++ b/lib/business_system/order/ticket/ticket_records_page.dart @@ -324,7 +324,7 @@ class _TicketRecordPage extends State { fontWeight: MyFontWeight.regular), )), Text( - ticketRecordList?.ticket?.amount ??"", + "¥ ${ticketRecordList?.ticket?.amount ??""}", style: TextStyle( fontSize: 14.sp, color: Color(0xFF181818), diff --git a/lib/main.dart b/lib/main.dart index 22ca2495..e80c7a9a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -95,6 +95,7 @@ import 'business_system/goods/on_sale/add_assort.dart'; import 'business_system/goods/on_sale/batch_shelf.dart'; import 'business_system/goods/on_sale/goods_assort.dart'; import 'business_system/goods/on_sale/goods_sort.dart'; +import 'business_system/goods/reservation_ page.dart'; import 'business_system/home/flow_page.dart'; import 'business_system/home/select_shop.dart'; import 'business_system/home/overview/trade_overview_page.dart'; @@ -508,11 +509,13 @@ Map routers = { '/router/monthly_report_page': (context, {arguments}) => MonthlyReportPage(), '/router/custom_page': (context, {arguments}) => - CustomPage(), + CustomPage(arguments:arguments), '/router/shop_image_info': (context, {arguments}) => ShopImageInfo(arguments:arguments), '/router/scan_code_page': (context, {arguments}) => ScanCodePage(arguments:arguments), '/router/business_vip_page': (context, {arguments}) => BusinessVipPage(arguments:arguments), + '/router/reservation_page': (context, {arguments}) => + ReservationPage(arguments:arguments), }; diff --git a/lib/mine/mine_view/mine_item.dart b/lib/mine/mine_view/mine_item.dart index ac6fb16c..ca201563 100644 --- a/lib/mine/mine_view/mine_item.dart +++ b/lib/mine/mine_view/mine_item.dart @@ -2,7 +2,6 @@ import 'package:dio/dio.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:flutter_easyloading/flutter_easyloading.dart'; -import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; import 'package:huixiang/generated/l10n.dart'; import 'package:huixiang/utils/font_weight.dart'; import 'package:huixiang/view_widget/login_tips_dialog.dart'; diff --git a/lib/mine/user_info_page.dart b/lib/mine/user_info_page.dart index 669ba568..fb3e9e73 100644 --- a/lib/mine/user_info_page.dart +++ b/lib/mine/user_info_page.dart @@ -44,13 +44,13 @@ class _UserInfoPage extends State { SharedPreferences.getInstance().then((value) => { print(value.getString('user')), user = UserInfo.fromJson(jsonDecode(value.getString('user'))), - mobile = user.phone, - modifyInfo["nickname"] = user.nickname, - modifyInfo["signature"] = user.signature, - modifyInfo["birth"] = user.birth, - modifyInfo["headimg"] = user.headimg, - modifyInfo["sex"] = user.sex, - age = AppUtils.getAgeByString(user.birth), + mobile = user?.phone ?? "", + modifyInfo["nickname"] = user?.nickname ?? "", + modifyInfo["signature"] = user?.signature ?? "", + modifyInfo["birth"] = user?.birth ?? "", + modifyInfo["headimg"] = user?.headimg ?? "", + modifyInfo["sex"] = user?.sex ?? "", + age = AppUtils.getAgeByString(user?.birth ?? ""), refresh(), apiService = ApiService(Dio(), context: context, token: value.getString('token')), @@ -478,6 +478,8 @@ class _UserInfoPage extends State { setState(() { SmartDialog.showToast("用户信息修改成功", alignment: Alignment.center); }); + }else{ + SmartDialog.showToast("用户信息修改失败 " + info.msg, alignment: Alignment.center); } } diff --git a/lib/retrofit/business_api.dart b/lib/retrofit/business_api.dart index f984bee0..5d7a6743 100644 --- a/lib/retrofit/business_api.dart +++ b/lib/retrofit/business_api.dart @@ -26,6 +26,7 @@ import 'data/product_group_list.dart'; import 'data/recharge_flow_list.dart'; import 'data/refund_reason_list.dart'; import 'data/single_sales_list.dart'; +import 'data/store_time_info_list.dart'; import 'data/ticket_details.dart'; import 'data/ticket_record.dart'; import 'data/ticket_show.dart'; @@ -288,4 +289,16 @@ abstract class BusinessApiService { ///会员余额变动 @POST("member/getTenantMemberBill") Future> getTenantMemberBill(@Body() Map param); + + ///预约设置/店铺信息开启关闭时间 + @GET("store/storeOpenTime/{storeId}") + Future> storeOpenTime(@Path("storeId") String storeId); + + ///预约信息保存 + @POST("product/updateSubscribe") + Future updateSubscribe(@Body() Map param); + + ///确认扣款 + @POST("order/balancePay") + Future balancePay(@Body() Map param); } diff --git a/lib/retrofit/business_api.g.dart b/lib/retrofit/business_api.g.dart index de5a513f..2cfd16fe 100644 --- a/lib/retrofit/business_api.g.dart +++ b/lib/retrofit/business_api.g.dart @@ -765,4 +765,68 @@ class _BusinessApiService implements BusinessApiService { return value; } + @override + Future> storeOpenTime(storeId) async { + ArgumentError.checkNotNull(storeId, 'storeId'); + const _extra = {}; + final queryParameters = {}; + final _data = {}; + final _result = await _dio.request>( + 'store/storeOpenTime/$storeId', + queryParameters: queryParameters, + options: RequestOptions( + method: 'GET', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: _data); + final value = BaseData.fromJson( + _result.data, + (json) => (json ?? "") == "" ? null : StoreTimeInfoList.fromJson(json), + ); + return value; + } + + @override + Future updateSubscribe(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _result = await _dio.request>( + 'product/updateSubscribe', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: param); + final value = BaseData.fromJson( + _result.data, + (json) => (json ?? "") == "" ? null : json, + ); + return value; + } + + @override + Future balancePay(param) async { + ArgumentError.checkNotNull(param, 'param'); + const _extra = {}; + final queryParameters = {}; + final _result = await _dio.request>( + 'order/balancePay', + queryParameters: queryParameters, + options: RequestOptions( + method: 'POST', + headers: {}, + extra: _extra, + baseUrl: baseUrl), + data: param); + final value = BaseData.fromJson( + _result.data, + (json) => (json ?? "") == "" ? null : json, + ); + return value; + } + } diff --git a/lib/retrofit/data/business_goods.dart b/lib/retrofit/data/business_goods.dart index 0df9eb7e..068e2bda 100644 --- a/lib/retrofit/data/business_goods.dart +++ b/lib/retrofit/data/business_goods.dart @@ -1,5 +1,5 @@ -/// adminProductVOList : [{"id":"1699346530059681792","groupId":"1685961077201829888","groupName":"炸蚵嗲","productName":"盲盒","productImg":"https://pos.upload.lotus-wallet.com/1195/2023/09/662703cb-3711-4e96-8379-cdd868cd7803.jpg","price":"66.00","applyPrice":"66.00","stock":971,"sellCount":17,"status":1,"posShow":true,"deliveries":null,"ticketType":null,"ticketDays":null,"attrList":null,"productSkuVOList":[{"id":"1699346530126790656","createTime":"2023-09-06 16:59:20","createUser":"1684404021814624256","updateTime":"2023-09-06 16:59:20","updateUser":"1684404021814624256","storeId":"1645701646107279360","skuCode":"P202309061659192","skuNameStr":"","productId":"1699346530059681792","skuPrice":"66.00","applyPrice":"66.00","vipPrice":"66.00","packagingFee":"0.00","skuImg":null,"skuStock":971,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1699346530143567872","createTime":"2023-09-06 16:59:20","createUser":"1684404021814624256","updateTime":"2023-09-06 16:59:20","updateUser":"1684404021814624256","skuId":"1699346530126790656","attrId":"1699346530089041920","attrValueId":"1699346530101624832","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}],"skuId":null,"details":"

盲盒

","thumbnailImg":"https://pos.upload.lotus-wallet.com/1195/2023/09/ea2ebd28-1cf1-4148-afde-11549901737a.jpg","info":"","tenantCode":"1195","sort":50,"subscribeParam":null,"storeId":"1645701646107279360"},{"id":"1694298535236730880","groupId":"1685961077201829888","groupName":"炸蚵嗲","productName":"炸渣喳","productImg":"https://pos.upload.lotus-wallet.com/1195/2023/08/55299291-2f2c-433b-b229-bb13fa40395d.jpg","price":"10.00","applyPrice":"12.00","stock":-4,"sellCount":1,"status":1,"posShow":true,"deliveries":null,"ticketType":null,"ticketDays":null,"attrList":null,"productSkuVOList":[{"id":"1694298535790379008","createTime":"2023-08-23 18:40:24","createUser":"1640233401329909760","updateTime":"2023-08-23 18:40:24","updateUser":"1640233401329909760","storeId":"1645701646107279360","skuCode":"P202308231840242","skuNameStr":"","productId":"1694298535236730880","skuPrice":"10.00","applyPrice":"12.00","vipPrice":"10.00","packagingFee":"0.00","skuImg":null,"skuStock":-4,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1694298535928791040","createTime":"2023-08-23 18:40:24","createUser":"1640233401329909760","updateTime":"2023-08-23 18:40:24","updateUser":"1640233401329909760","skuId":"1694298535790379008","attrId":"1694298535480000512","attrValueId":"1694298535610023936","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}],"skuId":null,"details":"

炸渣喳

","thumbnailImg":"https://pos.upload.lotus-wallet.com/1195/2023/09/511d4e4d-50a3-4557-b3ad-c9562549d8d3.jpg","info":"","tenantCode":"1195","sort":2,"subscribeParam":null,"storeId":"1645701646107279360"},{"id":"1686917026729164800","groupId":"1685954754749923328","groupName":"洛神系列","productName":"金桂洛神饮","productImg":"https://pos.upload.lotus-wallet.com/1195/2023/08/3d5421f7-44b4-47aa-bf99-ed266e1c8bcf.jpg","price":"16.00","applyPrice":"16.00","stock":-16,"sellCount":16,"status":1,"posShow":true,"deliveries":null,"ticketType":null,"ticketDays":null,"attrList":null,"productSkuVOList":[{"id":"1699688137048981504","createTime":"2023-08-03 09:48:55","createUser":"1640233401329909760","updateTime":"2023-08-03 09:48:55","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030948556","skuNameStr":"700ml 正常冰 七分糖","productId":"1686917026729164800","skuPrice":"16.00","applyPrice":"16.00","vipPrice":"16.00","packagingFee":"0.00","skuImg":null,"skuStock":-1,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1699688137090924544","createTime":"2023-09-07 15:36:45","createUser":"1640233401329909760","updateTime":"2023-09-07 15:36:45","updateUser":"1640233401329909760","skuId":"1699688137048981504","attrId":"1686917026766913536","attrValueId":"1686917026783690752","sortOrder":null,"isDelete":0},{"id":"1699688137128673280","createTime":"2023-09-07 15:36:45","createUser":"1640233401329909760","updateTime":"2023-09-07 15:36:45","updateUser":"1640233401329909760","skuId":"1699688137048981504","attrId":"1686917026796273664","attrValueId":"1686917026813050880","sortOrder":null,"isDelete":0},{"id":"1699688137162227712","createTime":"2023-09-07 15:36:45","createUser":"1640233401329909760","updateTime":"2023-09-07 15:36:45","updateUser":"1640233401329909760","skuId":"1699688137048981504","attrId":"1687380121641549824","attrValueId":"1687380121670909952","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1699688137199976448","createTime":"2023-08-03 09:48:55","createUser":"1640233401329909760","updateTime":"2023-08-03 09:48:55","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030948556","skuNameStr":"700ml 正常冰 半糖","productId":"1686917026729164800","skuPrice":"16.00","applyPrice":"16.00","vipPrice":"16.00","packagingFee":"0.00","skuImg":null,"skuStock":-5,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1699688137233530880","createTime":"2023-09-07 15:36:45","createUser":"1640233401329909760","updateTime":"2023-09-07 15:36:45","updateUser":"1640233401329909760","skuId":"1699688137199976448","attrId":"1686917026766913536","attrValueId":"1686917026783690752","sortOrder":null,"isDelete":0},{"id":"1699688137267085312","createTime":"2023-09-07 15:36:45","createUser":"1640233401329909760","updateTime":"2023-09-07 15:36:45","updateUser":"1640233401329909760","skuId":"1699688137199976448","attrId":"1686917026796273664","attrValueId":"1686917026813050880","sortOrder":null,"isDelete":0},{"id":"1699688137296445440","createTime":"2023-09-07 15:36:45","createUser":"1640233401329909760","updateTime":"2023-09-07 15:36:45","updateUser":"1640233401329909760","skuId":"1699688137199976448","attrId":"1687380121641549824","attrValueId":"1687380121683492864","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1699688137329999872","createTime":"2023-08-03 09:48:55","createUser":"1640233401329909760","updateTime":"2023-08-03 09:48:55","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030948556","skuNameStr":"700ml 正常冰 无糖","productId":"1686917026729164800","skuPrice":"16.00","applyPrice":"16.00","vipPrice":"16.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1699688137371942912","createTime":"2023-09-07 15:36:45","createUser":"1640233401329909760","updateTime":"2023-09-07 15:36:45","updateUser":"1640233401329909760","skuId":"1699688137329999872","attrId":"1686917026766913536","attrValueId":"1686917026783690752","sortOrder":null,"isDelete":0},{"id":"1699688137405497344","createTime":"2023-09-07 15:36:45","createUser":"1640233401329909760","updateTime":"2023-09-07 15:36:45","updateUser":"1640233401329909760","skuId":"1699688137329999872","attrId":"1686917026796273664","attrValueId":"1686917026813050880","sortOrder":null,"isDelete":0},{"id":"1699688137439051776","createTime":"2023-09-07 15:36:45","createUser":"1640233401329909760","updateTime":"2023-09-07 15:36:45","updateUser":"1640233401329909760","skuId":"1699688137329999872","attrId":"1687380121641549824","attrValueId":"1687380121696075776","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1699688137472606208","createTime":"2023-08-03 09:48:55","createUser":"1640233401329909760","updateTime":"2023-08-03 09:48:55","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030948556","skuNameStr":"700ml 正常冰 正常糖","productId":"1686917026729164800","skuPrice":"16.00","applyPrice":"16.00","vipPrice":"16.00","packagingFee":"0.00","skuImg":null,"skuStock":-10,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1699688137510354944","createTime":"2023-09-07 15:36:45","createUser":"1640233401329909760","updateTime":"2023-09-07 15:36:45","updateUser":"1640233401329909760","skuId":"1699688137472606208","attrId":"1686917026766913536","attrValueId":"1686917026783690752","sortOrder":null,"isDelete":0},{"id":"1699688137543909376","createTime":"2023-09-07 15:36:45","createUser":"1640233401329909760","updateTime":"2023-09-07 15:36:45","updateUser":"1640233401329909760","skuId":"1699688137472606208","attrId":"1686917026796273664","attrValueId":"1686917026813050880","sortOrder":null,"isDelete":0},{"id":"1699688137577463808","createTime":"2023-09-07 15:36:45","createUser":"1640233401329909760","updateTime":"2023-09-07 15:36:45","updateUser":"1640233401329909760","skuId":"1699688137472606208","attrId":"1687380121641549824","attrValueId":"1687380121654132736","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}],"skuId":null,"details":"","thumbnailImg":"","info":"","tenantCode":"1195","sort":50,"subscribeParam":null,"storeId":"1645692068967743488"},{"id":"1686916753784832000","groupId":"1685954754749923328","groupName":"洛神系列","productName":"洛神石榴","productImg":"https://pos.upload.lotus-wallet.com/1195/2023/08/95fa9d44-547b-4e75-a1d7-b3d8c2a176c1.jpg","price":"18.00","applyPrice":"18.00","stock":-3,"sellCount":3,"status":1,"posShow":true,"deliveries":null,"ticketType":null,"ticketDays":null,"attrList":null,"productSkuVOList":[{"id":"1689479897816236032","createTime":"2023-08-03 09:47:50","createUser":"1640233401329909760","updateTime":"2023-08-03 09:47:50","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030947503","skuNameStr":"700ml 温热 七分糖","productId":"1686916753784832000","skuPrice":"18.00","applyPrice":"18.00","vipPrice":"18.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689479897828818944","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897816236032","attrId":"1686916753818386432","attrValueId":"1686916753835163648","sortOrder":null,"isDelete":0},{"id":"1689479897837207552","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897816236032","attrId":"1686916753851940864","attrValueId":"1686916753885495296","sortOrder":null,"isDelete":0},{"id":"1689479897849790464","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897816236032","attrId":"1687380319453315072","attrValueId":"1687380319478480896","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689479897858179072","createTime":"2023-08-03 09:47:50","createUser":"1640233401329909760","updateTime":"2023-08-03 09:47:50","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030947503","skuNameStr":"700ml 温热 半糖","productId":"1686916753784832000","skuPrice":"18.00","applyPrice":"18.00","vipPrice":"18.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689479897870761984","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897858179072","attrId":"1686916753818386432","attrValueId":"1686916753835163648","sortOrder":null,"isDelete":0},{"id":"1689479897879150592","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897858179072","attrId":"1686916753851940864","attrValueId":"1686916753885495296","sortOrder":null,"isDelete":0},{"id":"1689479897887539200","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897858179072","attrId":"1687380319453315072","attrValueId":"1687380319495258112","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689479897900122112","createTime":"2023-08-03 09:47:50","createUser":"1640233401329909760","updateTime":"2023-08-03 09:47:50","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030947503","skuNameStr":"700ml 温热 无糖","productId":"1686916753784832000","skuPrice":"18.00","applyPrice":"18.00","vipPrice":"18.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689479897908510720","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897900122112","attrId":"1686916753818386432","attrValueId":"1686916753835163648","sortOrder":null,"isDelete":0},{"id":"1689479897916899328","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897900122112","attrId":"1686916753851940864","attrValueId":"1686916753885495296","sortOrder":null,"isDelete":0},{"id":"1689479897929482240","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897900122112","attrId":"1687380319453315072","attrValueId":"1687380319507841024","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689479897937870848","createTime":"2023-08-03 09:47:50","createUser":"1640233401329909760","updateTime":"2023-08-03 09:47:50","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030947503","skuNameStr":"700ml 温热 正常糖","productId":"1686916753784832000","skuPrice":"18.00","applyPrice":"18.00","vipPrice":"18.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689479897950453760","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897937870848","attrId":"1686916753818386432","attrValueId":"1686916753835163648","sortOrder":null,"isDelete":0},{"id":"1689479897963036672","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897937870848","attrId":"1686916753851940864","attrValueId":"1686916753885495296","sortOrder":null,"isDelete":0},{"id":"1689479897971425280","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897937870848","attrId":"1687380319453315072","attrValueId":"1687380319465897984","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689479897979813888","createTime":"2023-08-03 09:47:50","createUser":"1640233401329909760","updateTime":"2023-08-03 09:47:50","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030947502","skuNameStr":"700ml 正常冰 七分糖","productId":"1686916753784832000","skuPrice":"18.00","applyPrice":"18.00","vipPrice":"18.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689479897992396800","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897979813888","attrId":"1686916753818386432","attrValueId":"1686916753835163648","sortOrder":null,"isDelete":0},{"id":"1689479898000785408","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897979813888","attrId":"1686916753851940864","attrValueId":"1686916753868718080","sortOrder":null,"isDelete":0},{"id":"1689479898013368320","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479897979813888","attrId":"1687380319453315072","attrValueId":"1687380319478480896","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689479898025951232","createTime":"2023-08-03 09:47:50","createUser":"1640233401329909760","updateTime":"2023-08-03 09:47:50","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030947502","skuNameStr":"700ml 正常冰 半糖","productId":"1686916753784832000","skuPrice":"18.00","applyPrice":"18.00","vipPrice":"18.00","packagingFee":"0.00","skuImg":null,"skuStock":-1,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689479898034339840","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479898025951232","attrId":"1686916753818386432","attrValueId":"1686916753835163648","sortOrder":null,"isDelete":0},{"id":"1689479898046922752","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479898025951232","attrId":"1686916753851940864","attrValueId":"1686916753868718080","sortOrder":null,"isDelete":0},{"id":"1689479898055311360","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479898025951232","attrId":"1687380319453315072","attrValueId":"1687380319495258112","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689479898067894272","createTime":"2023-08-03 09:47:50","createUser":"1640233401329909760","updateTime":"2023-08-03 09:47:50","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030947502","skuNameStr":"700ml 正常冰 无糖","productId":"1686916753784832000","skuPrice":"18.00","applyPrice":"18.00","vipPrice":"18.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689479898076282880","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479898067894272","attrId":"1686916753818386432","attrValueId":"1686916753835163648","sortOrder":null,"isDelete":0},{"id":"1689479898084671488","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479898067894272","attrId":"1686916753851940864","attrValueId":"1686916753868718080","sortOrder":null,"isDelete":0},{"id":"1689479898097254400","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479898067894272","attrId":"1687380319453315072","attrValueId":"1687380319507841024","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689479898105643008","createTime":"2023-08-03 09:47:50","createUser":"1640233401329909760","updateTime":"2023-08-03 09:47:50","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030947502","skuNameStr":"700ml 正常冰 正常糖","productId":"1686916753784832000","skuPrice":"18.00","applyPrice":"18.00","vipPrice":"18.00","packagingFee":"0.00","skuImg":null,"skuStock":-2,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689479898118225920","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479898105643008","attrId":"1686916753818386432","attrValueId":"1686916753835163648","sortOrder":null,"isDelete":0},{"id":"1689479898126614528","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479898105643008","attrId":"1686916753851940864","attrValueId":"1686916753868718080","sortOrder":null,"isDelete":0},{"id":"1689479898139197440","createTime":"2023-08-10 11:32:51","createUser":"1684404021814624256","updateTime":"2023-08-10 11:32:51","updateUser":"1684404021814624256","skuId":"1689479898105643008","attrId":"1687380319453315072","attrValueId":"1687380319465897984","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}],"skuId":null,"details":"","thumbnailImg":"","info":"","tenantCode":"1195","sort":50,"subscribeParam":null,"storeId":"1645692068967743488"},{"id":"1686916416009142272","groupId":"1685954754749923328","groupName":"洛神系列","productName":"洛神西柚珍珠","productImg":"https://pos.upload.lotus-wallet.com/1195/2023/08/6d8bf4f2-4b42-4169-b4fb-34c9572e6962.jpg","price":"22.00","applyPrice":"22.00","stock":-6,"sellCount":5,"status":1,"posShow":true,"deliveries":null,"ticketType":null,"ticketDays":null,"attrList":null,"productSkuVOList":[{"id":"1689480126095425536","createTime":"2023-08-03 09:46:30","createUser":"1640233401329909760","updateTime":"2023-08-03 09:46:30","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030946293","skuNameStr":"700ml 温热 七分糖","productId":"1686916416009142272","skuPrice":"22.00","applyPrice":"22.00","vipPrice":"22.00","packagingFee":"0.00","skuImg":null,"skuStock":-1,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480126108008448","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126095425536","attrId":"1686916416055279616","attrValueId":"1686916416076251136","sortOrder":null,"isDelete":0},{"id":"1689480126120591360","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126095425536","attrId":"1686916416093028352","attrValueId":"1686916416126582784","sortOrder":null,"isDelete":0},{"id":"1689480126128979968","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126095425536","attrId":"1687380476005711872","attrValueId":"1687380476035072000","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480126141562880","createTime":"2023-08-03 09:46:30","createUser":"1640233401329909760","updateTime":"2023-08-03 09:46:30","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030946293","skuNameStr":"700ml 温热 无糖","productId":"1686916416009142272","skuPrice":"22.00","applyPrice":"22.00","vipPrice":"22.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480126154145792","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126141562880","attrId":"1686916416055279616","attrValueId":"1686916416076251136","sortOrder":null,"isDelete":0},{"id":"1689480126162534400","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126141562880","attrId":"1686916416093028352","attrValueId":"1686916416126582784","sortOrder":null,"isDelete":0},{"id":"1689480126175117312","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126141562880","attrId":"1687380476005711872","attrValueId":"1687380476051849216","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480126183505920","createTime":"2023-08-03 09:46:30","createUser":"1640233401329909760","updateTime":"2023-08-03 09:46:30","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030946293","skuNameStr":"700ml 温热 半糖","productId":"1686916416009142272","skuPrice":"22.00","applyPrice":"22.00","vipPrice":"22.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480126196088832","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126183505920","attrId":"1686916416055279616","attrValueId":"1686916416076251136","sortOrder":null,"isDelete":0},{"id":"1689480126204477440","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126183505920","attrId":"1686916416093028352","attrValueId":"1686916416126582784","sortOrder":null,"isDelete":0},{"id":"1689480126217060352","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126183505920","attrId":"1687380476005711872","attrValueId":"1687380476068626432","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480126225448960","createTime":"2023-08-03 09:46:30","createUser":"1640233401329909760","updateTime":"2023-08-03 09:46:30","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030946293","skuNameStr":"700ml 温热 正常糖","productId":"1686916416009142272","skuPrice":"22.00","applyPrice":"22.00","vipPrice":"22.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480126238031872","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126225448960","attrId":"1686916416055279616","attrValueId":"1686916416076251136","sortOrder":null,"isDelete":0},{"id":"1689480126246420480","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126225448960","attrId":"1686916416093028352","attrValueId":"1686916416126582784","sortOrder":null,"isDelete":0},{"id":"1689480126259003392","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126225448960","attrId":"1687380476005711872","attrValueId":"1687380476018294784","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480126267392000","createTime":"2023-08-03 09:46:30","createUser":"1640233401329909760","updateTime":"2023-08-03 09:46:30","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030946292","skuNameStr":"700ml 正常冰 七分糖","productId":"1686916416009142272","skuPrice":"22.00","applyPrice":"22.00","vipPrice":"22.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480126279974912","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126267392000","attrId":"1686916416055279616","attrValueId":"1686916416076251136","sortOrder":null,"isDelete":0},{"id":"1689480126347083776","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126267392000","attrId":"1686916416093028352","attrValueId":"1686916416109805568","sortOrder":null,"isDelete":0},{"id":"1689480126355472384","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126267392000","attrId":"1687380476005711872","attrValueId":"1687380476035072000","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480126368055296","createTime":"2023-08-03 09:46:30","createUser":"1640233401329909760","updateTime":"2023-08-03 09:46:30","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030946292","skuNameStr":"700ml 正常冰 无糖","productId":"1686916416009142272","skuPrice":"22.00","applyPrice":"22.00","vipPrice":"22.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480126376443904","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126368055296","attrId":"1686916416055279616","attrValueId":"1686916416076251136","sortOrder":null,"isDelete":0},{"id":"1689480126384832512","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126368055296","attrId":"1686916416093028352","attrValueId":"1686916416109805568","sortOrder":null,"isDelete":0},{"id":"1689480126397415424","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126368055296","attrId":"1687380476005711872","attrValueId":"1687380476051849216","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480126405804032","createTime":"2023-08-03 09:46:30","createUser":"1640233401329909760","updateTime":"2023-08-03 09:46:30","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030946292","skuNameStr":"700ml 正常冰 半糖","productId":"1686916416009142272","skuPrice":"22.00","applyPrice":"22.00","vipPrice":"22.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480126414192640","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126405804032","attrId":"1686916416055279616","attrValueId":"1686916416076251136","sortOrder":null,"isDelete":0},{"id":"1689480126426775552","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126405804032","attrId":"1686916416093028352","attrValueId":"1686916416109805568","sortOrder":null,"isDelete":0},{"id":"1689480126435164160","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126405804032","attrId":"1687380476005711872","attrValueId":"1687380476068626432","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480126447747072","createTime":"2023-08-03 09:46:30","createUser":"1640233401329909760","updateTime":"2023-08-03 09:46:30","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030946292","skuNameStr":"700ml 正常冰 正常糖","productId":"1686916416009142272","skuPrice":"22.00","applyPrice":"22.00","vipPrice":"22.00","packagingFee":"0.00","skuImg":null,"skuStock":-4,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480126456135680","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126447747072","attrId":"1686916416055279616","attrValueId":"1686916416076251136","sortOrder":null,"isDelete":0},{"id":"1689480126468718592","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126447747072","attrId":"1686916416093028352","attrValueId":"1686916416109805568","sortOrder":null,"isDelete":0},{"id":"1689480126477107200","createTime":"2023-08-10 11:33:46","createUser":"1684404021814624256","updateTime":"2023-08-10 11:33:46","updateUser":"1684404021814624256","skuId":"1689480126447747072","attrId":"1687380476005711872","attrValueId":"1687380476018294784","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}],"skuId":null,"details":"","thumbnailImg":"","info":"","tenantCode":"1195","sort":50,"subscribeParam":null,"storeId":"1645692068967743488"},{"id":"1686915917314785280","groupId":"1685954754749923328","groupName":"洛神系列","productName":"洛神橙子","productImg":"https://pos.upload.lotus-wallet.com/1195/2023/08/4ba9e0d3-cf26-41a0-89b0-2992489d35ea.jpg","price":"24.00","applyPrice":"24.00","stock":-2,"sellCount":2,"status":1,"posShow":true,"deliveries":null,"ticketType":null,"ticketDays":null,"attrList":null,"productSkuVOList":[{"id":"1689480286888263680","createTime":"2023-08-03 09:44:31","createUser":"1640233401329909760","updateTime":"2023-08-03 09:44:31","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030944303","skuNameStr":"700ml 温热 七分糖","productId":"1686915917314785280","skuPrice":"24.00","applyPrice":"24.00","vipPrice":"24.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480286900846592","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480286888263680","attrId":"1686915917620969472","attrValueId":"1686915917679689728","sortOrder":null,"isDelete":0},{"id":"1689480286913429504","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480286888263680","attrId":"1686915917709049856","attrValueId":"1686915917767770112","sortOrder":null,"isDelete":0},{"id":"1689480286921818112","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480286888263680","attrId":"1687380652158091264","attrValueId":"1687380652183257088","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480286934401024","createTime":"2023-08-03 09:44:31","createUser":"1640233401329909760","updateTime":"2023-08-03 09:44:31","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030944303","skuNameStr":"700ml 温热 半糖","productId":"1686915917314785280","skuPrice":"24.00","applyPrice":"24.00","vipPrice":"24.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480286942789632","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480286934401024","attrId":"1686915917620969472","attrValueId":"1686915917679689728","sortOrder":null,"isDelete":0},{"id":"1689480286951178240","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480286934401024","attrId":"1686915917709049856","attrValueId":"1686915917767770112","sortOrder":null,"isDelete":0},{"id":"1689480286963761152","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480286934401024","attrId":"1687380652158091264","attrValueId":"1687380652195840000","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480286972149760","createTime":"2023-08-03 09:44:31","createUser":"1640233401329909760","updateTime":"2023-08-03 09:44:31","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030944303","skuNameStr":"700ml 温热 无糖","productId":"1686915917314785280","skuPrice":"24.00","applyPrice":"24.00","vipPrice":"24.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480286980538368","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480286972149760","attrId":"1686915917620969472","attrValueId":"1686915917679689728","sortOrder":null,"isDelete":0},{"id":"1689480286997315584","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480286972149760","attrId":"1686915917709049856","attrValueId":"1686915917767770112","sortOrder":null,"isDelete":0},{"id":"1689480287005704192","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480286972149760","attrId":"1687380652158091264","attrValueId":"1687380652204228608","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480287014092800","createTime":"2023-08-03 09:44:31","createUser":"1640233401329909760","updateTime":"2023-08-03 09:44:31","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030944303","skuNameStr":"700ml 温热 正常糖","productId":"1686915917314785280","skuPrice":"24.00","applyPrice":"24.00","vipPrice":"24.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480287026675712","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287014092800","attrId":"1686915917620969472","attrValueId":"1686915917679689728","sortOrder":null,"isDelete":0},{"id":"1689480287035064320","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287014092800","attrId":"1686915917709049856","attrValueId":"1686915917767770112","sortOrder":null,"isDelete":0},{"id":"1689480287047647232","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287014092800","attrId":"1687380652158091264","attrValueId":"1687380652170674176","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480287060230144","createTime":"2023-08-03 09:44:31","createUser":"1640233401329909760","updateTime":"2023-08-03 09:44:31","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030944302","skuNameStr":"700ml 正常冰 七分糖","productId":"1686915917314785280","skuPrice":"24.00","applyPrice":"24.00","vipPrice":"24.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480287068618752","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287060230144","attrId":"1686915917620969472","attrValueId":"1686915917679689728","sortOrder":null,"isDelete":0},{"id":"1689480287077007360","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287060230144","attrId":"1686915917709049856","attrValueId":"1686915917738409984","sortOrder":null,"isDelete":0},{"id":"1689480287089590272","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287060230144","attrId":"1687380652158091264","attrValueId":"1687380652183257088","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480287097978880","createTime":"2023-08-03 09:44:31","createUser":"1640233401329909760","updateTime":"2023-08-03 09:44:31","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030944302","skuNameStr":"700ml 正常冰 半糖","productId":"1686915917314785280","skuPrice":"24.00","applyPrice":"24.00","vipPrice":"24.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480287106367488","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287097978880","attrId":"1686915917620969472","attrValueId":"1686915917679689728","sortOrder":null,"isDelete":0},{"id":"1689480287118950400","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287097978880","attrId":"1686915917709049856","attrValueId":"1686915917738409984","sortOrder":null,"isDelete":0},{"id":"1689480287127339008","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287097978880","attrId":"1687380652158091264","attrValueId":"1687380652195840000","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480287135727616","createTime":"2023-08-03 09:44:31","createUser":"1640233401329909760","updateTime":"2023-08-03 09:44:31","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030944302","skuNameStr":"700ml 正常冰 无糖","productId":"1686915917314785280","skuPrice":"24.00","applyPrice":"24.00","vipPrice":"24.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480287148310528","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287135727616","attrId":"1686915917620969472","attrValueId":"1686915917679689728","sortOrder":null,"isDelete":0},{"id":"1689480287156699136","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287135727616","attrId":"1686915917709049856","attrValueId":"1686915917738409984","sortOrder":null,"isDelete":0},{"id":"1689480287169282048","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287135727616","attrId":"1687380652158091264","attrValueId":"1687380652204228608","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480287177670656","createTime":"2023-08-03 09:44:31","createUser":"1640233401329909760","updateTime":"2023-08-03 09:44:31","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202308030944302","skuNameStr":"700ml 正常冰 正常糖","productId":"1686915917314785280","skuPrice":"24.00","applyPrice":"24.00","vipPrice":"24.00","packagingFee":"0.00","skuImg":null,"skuStock":-2,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480287194447872","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287177670656","attrId":"1686915917620969472","attrValueId":"1686915917679689728","sortOrder":null,"isDelete":0},{"id":"1689480287202836480","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287177670656","attrId":"1686915917709049856","attrValueId":"1686915917738409984","sortOrder":null,"isDelete":0},{"id":"1689480287211225088","createTime":"2023-08-10 11:34:24","createUser":"1684404021814624256","updateTime":"2023-08-10 11:34:24","updateUser":"1684404021814624256","skuId":"1689480287177670656","attrId":"1687380652158091264","attrValueId":"1687380652170674176","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}],"skuId":null,"details":"","thumbnailImg":"","info":"","tenantCode":"1195","sort":50,"subscribeParam":null,"storeId":"1645692068967743488"},{"id":"1685983095355867136","groupId":"1685954754749923328","groupName":"洛神系列","productName":"洛神陈皮柠檬茶","productImg":"https://pos.upload.lotus-wallet.com/1195/2023/08/d0d354e5-85c3-4903-ab22-e61582dae6df.jpg","price":"20.00","applyPrice":"20.00","stock":-6,"sellCount":6,"status":1,"posShow":true,"deliveries":null,"ticketType":null,"ticketDays":null,"attrList":null,"productSkuVOList":[{"id":"1689480485010407424","createTime":"2023-07-31 19:57:49","createUser":"1640233401329909760","updateTime":"2023-07-31 19:57:49","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202307311957482","skuNameStr":"500ml 正常冰 七分糖","productId":"1685983095355867136","skuPrice":"20.00","applyPrice":"20.00","vipPrice":"20.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480485018796032","createTime":"2023-08-10 11:35:11","createUser":"1684404021814624256","updateTime":"2023-08-10 11:35:11","updateUser":"1684404021814624256","skuId":"1689480485010407424","attrId":"1685983095381032960","attrValueId":"1685983095393615872","sortOrder":null,"isDelete":0},{"id":"1689480485031378944","createTime":"2023-08-10 11:35:11","createUser":"1684404021814624256","updateTime":"2023-08-10 11:35:11","updateUser":"1684404021814624256","skuId":"1689480485010407424","attrId":"1685983095406198784","attrValueId":"1685983095414587392","sortOrder":null,"isDelete":0},{"id":"1689480485039767552","createTime":"2023-08-10 11:35:11","createUser":"1684404021814624256","updateTime":"2023-08-10 11:35:11","updateUser":"1684404021814624256","skuId":"1689480485010407424","attrId":"1687380804960780288","attrValueId":"1687380804985946112","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480485052350464","createTime":"2023-07-31 19:57:49","createUser":"1640233401329909760","updateTime":"2023-07-31 19:57:49","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202307311957482","skuNameStr":"500ml 正常冰 无糖","productId":"1685983095355867136","skuPrice":"20.00","applyPrice":"20.00","vipPrice":"20.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480485064933376","createTime":"2023-08-10 11:35:11","createUser":"1684404021814624256","updateTime":"2023-08-10 11:35:11","updateUser":"1684404021814624256","skuId":"1689480485052350464","attrId":"1685983095381032960","attrValueId":"1685983095393615872","sortOrder":null,"isDelete":0},{"id":"1689480485073321984","createTime":"2023-08-10 11:35:11","createUser":"1684404021814624256","updateTime":"2023-08-10 11:35:11","updateUser":"1684404021814624256","skuId":"1689480485052350464","attrId":"1685983095406198784","attrValueId":"1685983095414587392","sortOrder":null,"isDelete":0},{"id":"1689480485085904896","createTime":"2023-08-10 11:35:11","createUser":"1684404021814624256","updateTime":"2023-08-10 11:35:11","updateUser":"1684404021814624256","skuId":"1689480485052350464","attrId":"1687380804960780288","attrValueId":"1687380804998529024","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480485094293504","createTime":"2023-07-31 19:57:49","createUser":"1640233401329909760","updateTime":"2023-07-31 19:57:49","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202307311957482","skuNameStr":"500ml 正常冰 半糖","productId":"1685983095355867136","skuPrice":"20.00","applyPrice":"20.00","vipPrice":"20.00","packagingFee":"0.00","skuImg":null,"skuStock":-1,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480485106876416","createTime":"2023-08-10 11:35:11","createUser":"1684404021814624256","updateTime":"2023-08-10 11:35:11","updateUser":"1684404021814624256","skuId":"1689480485094293504","attrId":"1685983095381032960","attrValueId":"1685983095393615872","sortOrder":null,"isDelete":0},{"id":"1689480485119459328","createTime":"2023-08-10 11:35:11","createUser":"1684404021814624256","updateTime":"2023-08-10 11:35:11","updateUser":"1684404021814624256","skuId":"1689480485094293504","attrId":"1685983095406198784","attrValueId":"1685983095414587392","sortOrder":null,"isDelete":0},{"id":"1689480485127847936","createTime":"2023-08-10 11:35:11","createUser":"1684404021814624256","updateTime":"2023-08-10 11:35:11","updateUser":"1684404021814624256","skuId":"1689480485094293504","attrId":"1687380804960780288","attrValueId":"1687380805011111936","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1689480485136236544","createTime":"2023-07-31 19:57:49","createUser":"1640233401329909760","updateTime":"2023-07-31 19:57:49","updateUser":"1640233401329909760","storeId":"1645692068967743488","skuCode":"P202307311957482","skuNameStr":"500ml 正常冰 正常糖","productId":"1685983095355867136","skuPrice":"20.00","applyPrice":"20.00","vipPrice":"20.00","packagingFee":"0.00","skuImg":null,"skuStock":-5,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1689480485148819456","createTime":"2023-08-10 11:35:11","createUser":"1684404021814624256","updateTime":"2023-08-10 11:35:11","updateUser":"1684404021814624256","skuId":"1689480485136236544","attrId":"1685983095381032960","attrValueId":"1685983095393615872","sortOrder":null,"isDelete":0},{"id":"1689480485161402368","createTime":"2023-08-10 11:35:11","createUser":"1684404021814624256","updateTime":"2023-08-10 11:35:11","updateUser":"1684404021814624256","skuId":"1689480485136236544","attrId":"1685983095406198784","attrValueId":"1685983095414587392","sortOrder":null,"isDelete":0},{"id":"1689480485169790976","createTime":"2023-08-10 11:35:11","createUser":"1684404021814624256","updateTime":"2023-08-10 11:35:11","updateUser":"1684404021814624256","skuId":"1689480485136236544","attrId":"1687380804960780288","attrValueId":"1687380804973363200","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}],"skuId":null,"details":"","thumbnailImg":"","info":"","tenantCode":"1195","sort":50,"subscribeParam":null,"storeId":"1645692068967743488"},{"id":"1685981887526338560","groupId":"1685954754749923328","groupName":"洛神系列","productName":"洛神葡萄","productImg":"https://pos.upload.lotus-wallet.com/1195/2023/08/7a1dff40-42c1-45da-8d30-28fbaabeb6c7.jpg","price":"20.00","applyPrice":"20.00","stock":0,"sellCount":5,"status":1,"posShow":true,"deliveries":null,"ticketType":null,"ticketDays":null,"attrList":null,"productSkuVOList":[{"id":"1697167406587183104","createTime":"2023-08-10 11:38:30","createUser":"1684404021814624256","updateTime":"2023-08-10 11:38:30","updateUser":"1684404021814624256","storeId":"1645692068967743488","skuCode":"P202308101138297","skuNameStr":"700ml 七分糖 少冰","productId":"1685981887526338560","skuPrice":"20.00","applyPrice":"20.00","vipPrice":"20.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":null,"productSetMeals":null,"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":null,"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1697167406620737536","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406587183104","attrId":"1685981887555698688","attrValueId":"1685981887568281600","sortOrder":null,"isDelete":0},{"id":"1697167406641709056","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406587183104","attrId":"1687381067566153728","attrValueId":"1687381067591319552","sortOrder":null,"isDelete":0},{"id":"1697167406662680576","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406587183104","attrId":"1689481317248401408","attrValueId":"1689481317273567232","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1697167406687846400","createTime":"2023-08-10 11:38:30","createUser":"1684404021814624256","updateTime":"2023-08-10 11:38:30","updateUser":"1684404021814624256","storeId":"1645692068967743488","skuCode":"P202308101138294","skuNameStr":"700ml 七分糖 正常冰","productId":"1685981887526338560","skuPrice":"20.00","applyPrice":"20.00","vipPrice":"20.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":null,"productSetMeals":null,"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":null,"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1697167406713012224","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406687846400","attrId":"1685981887555698688","attrValueId":"1685981887568281600","sortOrder":null,"isDelete":0},{"id":"1697167406738178048","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406687846400","attrId":"1687381067566153728","attrValueId":"1687381067591319552","sortOrder":null,"isDelete":0},{"id":"1697167406763343872","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406687846400","attrId":"1689481317248401408","attrValueId":"1689481317260984320","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1697167406788509696","createTime":"2023-08-10 11:38:30","createUser":"1684404021814624256","updateTime":"2023-08-10 11:38:30","updateUser":"1684404021814624256","storeId":"1645692068967743488","skuCode":"P202308101138297","skuNameStr":"700ml 无糖 少冰","productId":"1685981887526338560","skuPrice":"20.00","applyPrice":"20.00","vipPrice":"20.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":null,"productSetMeals":null,"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":null,"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1697167406813675520","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406788509696","attrId":"1685981887555698688","attrValueId":"1685981887568281600","sortOrder":null,"isDelete":0},{"id":"1697167406838841344","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406788509696","attrId":"1687381067566153728","attrValueId":"1687381067603902464","sortOrder":null,"isDelete":0},{"id":"1697167406859812864","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406788509696","attrId":"1689481317248401408","attrValueId":"1689481317273567232","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1697167406889172992","createTime":"2023-08-10 11:38:30","createUser":"1684404021814624256","updateTime":"2023-08-10 11:38:30","updateUser":"1684404021814624256","storeId":"1645692068967743488","skuCode":"P202308101138294","skuNameStr":"700ml 无糖 正常冰","productId":"1685981887526338560","skuPrice":"20.00","applyPrice":"20.00","vipPrice":"20.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":null,"productSetMeals":null,"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":null,"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1697167406914338816","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406889172992","attrId":"1685981887555698688","attrValueId":"1685981887568281600","sortOrder":null,"isDelete":0},{"id":"1697167406935310336","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406889172992","attrId":"1687381067566153728","attrValueId":"1687381067603902464","sortOrder":null,"isDelete":0},{"id":"1697167406960476160","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406889172992","attrId":"1689481317248401408","attrValueId":"1689481317260984320","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1697167406981447680","createTime":"2023-08-10 11:38:30","createUser":"1684404021814624256","updateTime":"2023-08-10 11:38:30","updateUser":"1684404021814624256","storeId":"1645692068967743488","skuCode":"P202308101138297","skuNameStr":"700ml 半糖 少冰","productId":"1685981887526338560","skuPrice":"20.00","applyPrice":"20.00","vipPrice":"20.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":null,"productSetMeals":null,"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":null,"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1697167407006613504","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406981447680","attrId":"1685981887555698688","attrValueId":"1685981887568281600","sortOrder":null,"isDelete":0},{"id":"1697167407031779328","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406981447680","attrId":"1687381067566153728","attrValueId":"1687381067616485376","sortOrder":null,"isDelete":0},{"id":"1697167407052750848","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167406981447680","attrId":"1689481317248401408","attrValueId":"1689481317273567232","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1697167407077916672","createTime":"2023-08-10 11:38:30","createUser":"1684404021814624256","updateTime":"2023-08-10 11:38:30","updateUser":"1684404021814624256","storeId":"1645692068967743488","skuCode":"P202308101138294","skuNameStr":"700ml 半糖 正常冰","productId":"1685981887526338560","skuPrice":"20.00","applyPrice":"20.00","vipPrice":"20.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":null,"productSetMeals":null,"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":null,"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1697167407103082496","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167407077916672","attrId":"1685981887555698688","attrValueId":"1685981887568281600","sortOrder":null,"isDelete":0},{"id":"1697167407128248320","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167407077916672","attrId":"1687381067566153728","attrValueId":"1687381067616485376","sortOrder":null,"isDelete":0},{"id":"1697167407149219840","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167407077916672","attrId":"1689481317248401408","attrValueId":"1689481317260984320","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1697167407178579968","createTime":"2023-08-10 11:38:30","createUser":"1684404021814624256","updateTime":"2023-08-10 11:38:30","updateUser":"1684404021814624256","storeId":"1645692068967743488","skuCode":"P202308101138297","skuNameStr":"700ml 正常糖 少冰","productId":"1685981887526338560","skuPrice":"20.00","applyPrice":"20.00","vipPrice":"20.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":null,"productSetMeals":null,"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":null,"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1697167407195357184","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167407178579968","attrId":"1685981887555698688","attrValueId":"1685981887568281600","sortOrder":null,"isDelete":0},{"id":"1697167407216328704","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167407178579968","attrId":"1687381067566153728","attrValueId":"1687381067578736640","sortOrder":null,"isDelete":0},{"id":"1697167407241494528","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167407178579968","attrId":"1689481317248401408","attrValueId":"1689481317273567232","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""},{"id":"1697167407262466048","createTime":"2023-08-10 11:38:30","createUser":"1684404021814624256","updateTime":"2023-08-10 11:38:30","updateUser":"1684404021814624256","storeId":"1645692068967743488","skuCode":"P202308101138294","skuNameStr":"700ml 正常糖 正常冰","productId":"1685981887526338560","skuPrice":"20.00","applyPrice":"20.00","vipPrice":"20.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":null,"productSetMeals":null,"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":null,"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1697167407287631872","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167407262466048","attrId":"1685981887555698688","attrValueId":"1685981887568281600","sortOrder":null,"isDelete":0},{"id":"1697167407308603392","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167407262466048","attrId":"1687381067566153728","attrValueId":"1687381067578736640","sortOrder":null,"isDelete":0},{"id":"1697167407333769216","createTime":"2023-08-31 16:40:16","createUser":"1640233401329909760","updateTime":"2023-08-31 16:40:16","updateUser":"1640233401329909760","skuId":"1697167407262466048","attrId":"1689481317248401408","attrValueId":"1689481317260984320","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}],"skuId":null,"details":"","thumbnailImg":"","info":"","tenantCode":"1195","sort":50,"subscribeParam":null,"storeId":"1645692068967743488"},{"id":"1685960730966228992","groupId":"1685960192186908672","groupName":"披萨","productName":"玛格丽特披萨","productImg":"https://pos.upload.lotus-wallet.com/1195/2023/07/18919dbc-2d38-4d4d-8854-6c99ef6b4131.png","price":"29.00","applyPrice":"29.00","stock":-1,"sellCount":1,"status":1,"posShow":true,"deliveries":null,"ticketType":null,"ticketDays":null,"attrList":null,"productSkuVOList":[{"id":"1685960731024949248","createTime":"2023-07-31 18:28:57","createUser":"1640233401329909760","updateTime":"2023-07-31 18:28:57","updateUser":"1640233401329909760","storeId":"1645326338908749824","skuCode":"P202307311828562","skuNameStr":"","productId":"1685960730966228992","skuPrice":"29.00","applyPrice":"29.00","vipPrice":"14.50","packagingFee":"2.00","skuImg":null,"skuStock":-1,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1685960731037532160","createTime":"2023-07-31 18:28:57","createUser":"1640233401329909760","updateTime":"2023-07-31 18:28:57","updateUser":"1640233401329909760","skuId":"1685960731024949248","attrId":"1685960730995589120","attrValueId":"1685960731008172032","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}],"skuId":null,"details":"","thumbnailImg":"","info":"","tenantCode":"1195","sort":50,"subscribeParam":null,"storeId":"1645326338908749824"},{"id":"1685960553366814720","groupId":"1685960192186908672","groupName":"披萨","productName":"黑椒菌菇披萨","productImg":"https://pos.upload.lotus-wallet.com/1195/2023/07/f70ecd51-d8a1-4c86-8fa0-61eb6562d304.png","price":"29.00","applyPrice":"29.00","stock":-2,"sellCount":1,"status":1,"posShow":true,"deliveries":null,"ticketType":null,"ticketDays":null,"attrList":null,"productSkuVOList":[{"id":"1685960553421340672","createTime":"2023-07-31 18:28:14","createUser":"1640233401329909760","updateTime":"2023-07-31 18:28:14","updateUser":"1640233401329909760","storeId":"1645326338908749824","skuCode":"P202307311828148","skuNameStr":"","productId":"1685960553366814720","skuPrice":"29.00","applyPrice":"29.00","vipPrice":"29.00","packagingFee":"0.00","skuImg":null,"skuStock":-2,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1685960553442312192","createTime":"2023-07-31 18:28:14","createUser":"1640233401329909760","updateTime":"2023-07-31 18:28:14","updateUser":"1640233401329909760","skuId":"1685960553421340672","attrId":"1685960553391980544","attrValueId":"1685960553404563456","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}],"skuId":null,"details":"","thumbnailImg":"","info":"","tenantCode":"1195","sort":1,"subscribeParam":null,"storeId":"1645326338908749824"}] -/// total : 121 +/// adminProductVOList : [{"id":"1730509840771448832","groupId":"1730470330532626432","groupName":"托尼老师","productName":"快剪60","productImg":"https://pos.upload.lotus-wallet.com/1196/2023/11/0d49eac6-a13d-4b60-b2eb-539b7636798c.jpg","price":"60.00","applyPrice":"100.00","stock":999,"sellCount":1,"status":1,"posShow":true,"deliveries":null,"ticketType":null,"ticketDays":null,"attrList":null,"productSkuVOList":[{"id":"1730509841664835584","createTime":"2023-12-01 16:51:12","createUser":"1729806749562568704","updateTime":"2023-12-01 16:51:12","updateUser":"1729806749562568704","storeId":"1729806749612900352","skuCode":"P202312011651122","skuNameStr":"","productId":"1730509840771448832","skuPrice":"60.00","applyPrice":"100.00","vipPrice":"0.00","packagingFee":"0.00","skuImg":null,"skuStock":999,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1730509841702584320","createTime":"2023-12-01 16:51:12","createUser":"1729806749562568704","updateTime":"2023-12-01 16:51:12","updateUser":"1729806749562568704","skuId":"1730509841664835584","attrId":"1730509841144741888","attrValueId":"1730509841383817216","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}],"skuId":null,"details":"

阿萨斯

","thumbnailImg":"","info":"AA","tenantCode":"1196","sort":1,"subscribeParam":{"isEnableSubscribe":false,"isEnableSubscribePay":false,"timePeriod":122,"subscribeTimes":["09:00-09:12","09:12-09:24","09:24-09:36","09:36-09:48","09:48-10:00","10:00-10:12","10:12-10:24","10:24-10:36","10:36-10:48","10:48-11:00","11:00-11:12","11:12-11:24","11:24-11:36","11:36-11:48","11:48-12:00","12:00-12:12","12:12-12:24","12:24-12:36","12:36-12:48","12:48-13:00","13:00-13:12","13:12-13:24","13:24-13:36","13:36-13:48","13:48-14:00","14:00-14:12","14:12-14:24","14:24-14:36","14:36-14:48","14:48-15:00","15:00-15:12","15:12-15:24","15:24-15:36","15:36-15:48","15:48-16:00","16:00-16:12","16:12-16:24","16:24-16:36","16:36-16:48","16:48-17:00","17:00-17:12","17:12-17:24","17:24-17:36","17:36-17:48","17:48-18:00","18:00-18:12","18:12-18:24","18:24-18:36","18:36-18:48","18:48-19:00","19:00-19:12","19:12-19:24","19:24-19:36","19:36-19:48","19:48-20:00","20:00-20:12","20:12-20:24","20:24-20:30"],"dayOrDate":0,"startAfterDays":null,"daysValidate":null,"subscribeStartTime":"","subscribeEndTime":"","stores":[]},"storeId":"1729806749612900352","salesRules":{"useCoupon":true,"usePromotion":true,"useBalance":true,"useCash":true,"useVip":true,"userBuyLimit":0}},{"id":"1730470585370148864","groupId":"1730470330532626432","groupName":"托尼老师","productName":"预约测试理发","productImg":"https://pos.upload.lotus-wallet.com/1196/2023/11/828cc656-e60f-4f72-8694-293ec18a95c9.jpg","price":"45.00","applyPrice":"50.00","stock":9997,"sellCount":2,"status":1,"posShow":true,"deliveries":null,"ticketType":null,"ticketDays":null,"attrList":null,"productSkuVOList":[{"id":"1730470585613418496","createTime":"2023-12-01 14:15:13","createUser":"1729806749562568704","updateTime":"2023-12-01 14:15:13","updateUser":"1729806749562568704","storeId":"1729806749612900352","skuCode":"P202312011415122","skuNameStr":"","productId":"1730470585370148864","skuPrice":"45.00","applyPrice":"50.00","vipPrice":"0.00","packagingFee":"0.00","skuImg":null,"skuStock":9997,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1730470585663750144","createTime":"2023-12-01 14:15:13","createUser":"1729806749562568704","updateTime":"2023-12-01 14:15:13","updateUser":"1729806749562568704","skuId":"1730470585613418496","attrId":"1730470585470812160","attrValueId":"1730470585508560896","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}],"skuId":null,"details":"

啊啊啊

","thumbnailImg":"","info":"啊啊啊","tenantCode":"1196","sort":0,"subscribeParam":{"isEnableSubscribe":true,"isEnableSubscribePay":true,"timePeriod":30,"subscribeTimes":["09:00-09:30","09:30-10:00","10:00-10:30","10:30-11:00","11:00-11:30","11:30-12:00","12:00-12:30","12:30-13:00","13:00-13:30","13:30-14:00","14:00-14:30","14:30-15:00","15:00-15:30","15:30-16:00","16:00-16:30","16:30-17:00","17:00-17:30","17:30-18:00","18:00-18:30","18:30-19:00","19:00-19:30","19:30-20:00","20:00-20:30"],"dayOrDate":1,"startAfterDays":null,"daysValidate":null,"subscribeStartTime":"","subscribeEndTime":"","stores":[]},"storeId":"1729806749612900352","salesRules":{"useCoupon":true,"usePromotion":true,"useBalance":true,"useCash":true,"useVip":true,"userBuyLimit":0}},{"id":"1731927791605121024","groupId":"1730470330532626432","groupName":"托尼老师","productName":"洗剪吹","productImg":"https://pos.upload.lotus-wallet.com/1196/2023/11/0d49eac6-a13d-4b60-b2eb-539b7636798c.jpg","price":"0.00","applyPrice":"0.00","stock":0,"sellCount":0,"status":1,"posShow":true,"deliveries":null,"ticketType":null,"ticketDays":null,"attrList":null,"productSkuVOList":[{"id":"1731927791819030528","createTime":"2023-12-05 14:45:38","createUser":"1729806749562568704","updateTime":"2023-12-05 14:45:38","updateUser":"1729806749562568704","storeId":"1729806749612900352","skuCode":"P202312051445372","skuNameStr":"","productId":"1731927791605121024","skuPrice":"0.00","applyPrice":"0.00","vipPrice":"0.00","packagingFee":"0.00","skuImg":null,"skuStock":0,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1731927791865167872","createTime":"2023-12-05 14:45:38","createUser":"1729806749562568704","updateTime":"2023-12-05 14:45:38","updateUser":"1729806749562568704","skuId":"1731927791819030528","attrId":"1731927791718367232","attrValueId":"1731927791756115968","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}],"skuId":null,"details":"","thumbnailImg":"","info":"","tenantCode":"1196","sort":0,"subscribeParam":null,"storeId":"1729806749612900352","salesRules":{"useCoupon":true,"usePromotion":true,"useBalance":true,"useCash":true,"useVip":true,"userBuyLimit":0}}] +/// total : 3 class BusinessGoods { BusinessGoods({ @@ -39,30 +39,31 @@ BusinessGoods copyWith({ List adminProductVOList, } -/// id : "1699346530059681792" -/// groupId : "1685961077201829888" -/// groupName : "炸蚵嗲" -/// productName : "盲盒" -/// productImg : "https://pos.upload.lotus-wallet.com/1195/2023/09/662703cb-3711-4e96-8379-cdd868cd7803.jpg" -/// price : "66.00" -/// applyPrice : "66.00" -/// stock : 971 -/// sellCount : 17 +/// id : "1730509840771448832" +/// groupId : "1730470330532626432" +/// groupName : "托尼老师" +/// productName : "快剪60" +/// productImg : "https://pos.upload.lotus-wallet.com/1196/2023/11/0d49eac6-a13d-4b60-b2eb-539b7636798c.jpg" +/// price : "60.00" +/// applyPrice : "100.00" +/// stock : 999 +/// sellCount : 1 /// status : 1 /// posShow : true /// deliveries : null /// ticketType : null /// ticketDays : null /// attrList : null -/// productSkuVOList : [{"id":"1699346530126790656","createTime":"2023-09-06 16:59:20","createUser":"1684404021814624256","updateTime":"2023-09-06 16:59:20","updateUser":"1684404021814624256","storeId":"1645701646107279360","skuCode":"P202309061659192","skuNameStr":"","productId":"1699346530059681792","skuPrice":"66.00","applyPrice":"66.00","vipPrice":"66.00","packagingFee":"0.00","skuImg":null,"skuStock":971,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1699346530143567872","createTime":"2023-09-06 16:59:20","createUser":"1684404021814624256","updateTime":"2023-09-06 16:59:20","updateUser":"1684404021814624256","skuId":"1699346530126790656","attrId":"1699346530089041920","attrValueId":"1699346530101624832","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}] +/// productSkuVOList : [{"id":"1730509841664835584","createTime":"2023-12-01 16:51:12","createUser":"1729806749562568704","updateTime":"2023-12-01 16:51:12","updateUser":"1729806749562568704","storeId":"1729806749612900352","skuCode":"P202312011651122","skuNameStr":"","productId":"1730509840771448832","skuPrice":"60.00","applyPrice":"100.00","vipPrice":"0.00","packagingFee":"0.00","skuImg":null,"skuStock":999,"autoRenewSkuStock":0,"deliveries":0,"ticketType":"","ticketWipedTimeTemplateId":null,"takeType":null,"ticketDays":"0","ticketExpireTime":"23:59:59","sort":50,"setMeal":"","productSetMeals":[],"weight":0.0,"volume":0.0,"isDelete":0,"material":null,"version":0,"skuTickets":[],"ticketStyle":"","skuAttrCodeDTOList":null,"skuAttrList":[{"id":"1730509841702584320","createTime":"2023-12-01 16:51:12","createUser":"1729806749562568704","updateTime":"2023-12-01 16:51:12","updateUser":"1729806749562568704","skuId":"1730509841664835584","attrId":"1730509841144741888","attrValueId":"1730509841383817216","sortOrder":null,"isDelete":0}],"setMealDTOList":null,"discountPrice":""}] /// skuId : null -/// details : "

盲盒

" -/// thumbnailImg : "https://pos.upload.lotus-wallet.com/1195/2023/09/ea2ebd28-1cf1-4148-afde-11549901737a.jpg" -/// info : "" -/// tenantCode : "1195" -/// sort : 50 -/// subscribeParam : null -/// storeId : "1645701646107279360" +/// details : "

阿萨斯

" +/// thumbnailImg : "" +/// info : "AA" +/// tenantCode : "1196" +/// sort : 1 +/// subscribeParam : {"isEnableSubscribe":false,"isEnableSubscribePay":false,"timePeriod":122,"subscribeTimes":["09:00-09:12","09:12-09:24","09:24-09:36","09:36-09:48","09:48-10:00","10:00-10:12","10:12-10:24","10:24-10:36","10:36-10:48","10:48-11:00","11:00-11:12","11:12-11:24","11:24-11:36","11:36-11:48","11:48-12:00","12:00-12:12","12:12-12:24","12:24-12:36","12:36-12:48","12:48-13:00","13:00-13:12","13:12-13:24","13:24-13:36","13:36-13:48","13:48-14:00","14:00-14:12","14:12-14:24","14:24-14:36","14:36-14:48","14:48-15:00","15:00-15:12","15:12-15:24","15:24-15:36","15:36-15:48","15:48-16:00","16:00-16:12","16:12-16:24","16:24-16:36","16:36-16:48","16:48-17:00","17:00-17:12","17:12-17:24","17:24-17:36","17:36-17:48","17:48-18:00","18:00-18:12","18:12-18:24","18:24-18:36","18:36-18:48","18:48-19:00","19:00-19:12","19:12-19:24","19:24-19:36","19:36-19:48","19:48-20:00","20:00-20:12","20:12-20:24","20:24-20:30"],"dayOrDate":0,"startAfterDays":null,"daysValidate":null,"subscribeStartTime":"","subscribeEndTime":"","stores":[]} +/// storeId : "1729806749612900352" +/// salesRules : {"useCoupon":true,"usePromotion":true,"useBalance":true,"useCash":true,"useVip":true,"userBuyLimit":0} class AdminProductVoList { AdminProductVoList({ @@ -88,8 +89,9 @@ class AdminProductVoList { String info, String tenantCode, num sort, - dynamic subscribeParam, - String storeId,}){ + SubscribeParam subscribeParam, + String storeId, + SalesRules salesRules,}){ _id = id; _groupId = groupId; _groupName = groupName; @@ -114,6 +116,7 @@ class AdminProductVoList { _sort = sort; _subscribeParam = subscribeParam; _storeId = storeId; + _salesRules = salesRules; } AdminProductVoList.fromJson(dynamic json) { @@ -144,8 +147,9 @@ class AdminProductVoList { _info = json['info']; _tenantCode = json['tenantCode']; _sort = json['sort']; - _subscribeParam = json['subscribeParam']; + _subscribeParam = json['subscribeParam'] != null ? SubscribeParam.fromJson(json['subscribeParam']) : null; _storeId = json['storeId']; + _salesRules = json['salesRules'] != null ? SalesRules.fromJson(json['salesRules']) : null; } String _id; String _groupId; @@ -169,8 +173,9 @@ class AdminProductVoList { String _info; String _tenantCode; num _sort; - dynamic _subscribeParam; + SubscribeParam _subscribeParam; String _storeId; + SalesRules _salesRules; AdminProductVoList copyWith({ String id, String groupId, String groupName, @@ -193,8 +198,9 @@ AdminProductVoList copyWith({ String id, String info, String tenantCode, num sort, - dynamic subscribeParam, + SubscribeParam subscribeParam, String storeId, + SalesRules salesRules, }) => AdminProductVoList( id: id ?? _id, groupId: groupId ?? _groupId, groupName: groupName ?? _groupName, @@ -219,6 +225,7 @@ AdminProductVoList copyWith({ String id, sort: sort ?? _sort, subscribeParam: subscribeParam ?? _subscribeParam, storeId: storeId ?? _storeId, + salesRules: salesRules ?? _salesRules, ); String get id => _id; String get groupId => _groupId; @@ -242,8 +249,9 @@ AdminProductVoList copyWith({ String id, String get info => _info; String get tenantCode => _tenantCode; num get sort => _sort; - dynamic get subscribeParam => _subscribeParam; + SubscribeParam get subscribeParam => _subscribeParam; String get storeId => _storeId; + SalesRules get salesRules => _salesRules; bool _isSelect = false; bool get isSelect => _isSelect; @@ -278,28 +286,216 @@ AdminProductVoList copyWith({ String id, map['info'] = _info; map['tenantCode'] = _tenantCode; map['sort'] = _sort; - map['subscribeParam'] = _subscribeParam; + if (_subscribeParam != null) { + map['subscribeParam'] = _subscribeParam.toJson(); + } map['storeId'] = _storeId; + if (_salesRules != null) { + map['salesRules'] = _salesRules.toJson(); + } + return map; + } + +} + +/// useCoupon : true +/// usePromotion : true +/// useBalance : true +/// useCash : true +/// useVip : true +/// userBuyLimit : 0 + +class SalesRules { + SalesRules({ + bool useCoupon, + bool usePromotion, + bool useBalance, + bool useCash, + bool useVip, + num userBuyLimit,}){ + _useCoupon = useCoupon; + _usePromotion = usePromotion; + _useBalance = useBalance; + _useCash = useCash; + _useVip = useVip; + _userBuyLimit = userBuyLimit; +} + + SalesRules.fromJson(dynamic json) { + _useCoupon = json['useCoupon']; + _usePromotion = json['usePromotion']; + _useBalance = json['useBalance']; + _useCash = json['useCash']; + _useVip = json['useVip']; + _userBuyLimit = json['userBuyLimit']; + } + bool _useCoupon; + bool _usePromotion; + bool _useBalance; + bool _useCash; + bool _useVip; + num _userBuyLimit; +SalesRules copyWith({ bool useCoupon, + bool usePromotion, + bool useBalance, + bool useCash, + bool useVip, + num userBuyLimit, +}) => SalesRules( useCoupon: useCoupon ?? _useCoupon, + usePromotion: usePromotion ?? _usePromotion, + useBalance: useBalance ?? _useBalance, + useCash: useCash ?? _useCash, + useVip: useVip ?? _useVip, + userBuyLimit: userBuyLimit ?? _userBuyLimit, +); + bool get useCoupon => _useCoupon; + bool get usePromotion => _usePromotion; + bool get useBalance => _useBalance; + bool get useCash => _useCash; + bool get useVip => _useVip; + num get userBuyLimit => _userBuyLimit; + + Map toJson() { + final map = {}; + map['useCoupon'] = _useCoupon; + map['usePromotion'] = _usePromotion; + map['useBalance'] = _useBalance; + map['useCash'] = _useCash; + map['useVip'] = _useVip; + map['userBuyLimit'] = _userBuyLimit; + return map; + } + +} + +/// isEnableSubscribe : false +/// isEnableSubscribePay : false +/// timePeriod : 122 +/// subscribeTimes : ["09:00-09:12","09:12-09:24","09:24-09:36","09:36-09:48","09:48-10:00","10:00-10:12","10:12-10:24","10:24-10:36","10:36-10:48","10:48-11:00","11:00-11:12","11:12-11:24","11:24-11:36","11:36-11:48","11:48-12:00","12:00-12:12","12:12-12:24","12:24-12:36","12:36-12:48","12:48-13:00","13:00-13:12","13:12-13:24","13:24-13:36","13:36-13:48","13:48-14:00","14:00-14:12","14:12-14:24","14:24-14:36","14:36-14:48","14:48-15:00","15:00-15:12","15:12-15:24","15:24-15:36","15:36-15:48","15:48-16:00","16:00-16:12","16:12-16:24","16:24-16:36","16:36-16:48","16:48-17:00","17:00-17:12","17:12-17:24","17:24-17:36","17:36-17:48","17:48-18:00","18:00-18:12","18:12-18:24","18:24-18:36","18:36-18:48","18:48-19:00","19:00-19:12","19:12-19:24","19:24-19:36","19:36-19:48","19:48-20:00","20:00-20:12","20:12-20:24","20:24-20:30"] +/// dayOrDate : 0 +/// startAfterDays : null +/// daysValidate : null +/// subscribeStartTime : "" +/// subscribeEndTime : "" +/// stores : [] + +class SubscribeParam { + SubscribeParam({ + bool isEnableSubscribe, + bool isEnableSubscribePay, + num timePeriod, + List subscribeTimes, + num dayOrDate, + dynamic startAfterDays, + dynamic daysValidate, + String subscribeStartTime, + String subscribeEndTime, + List stores,}){ + _isEnableSubscribe = isEnableSubscribe; + _isEnableSubscribePay = isEnableSubscribePay; + _timePeriod = timePeriod; + _subscribeTimes = subscribeTimes; + _dayOrDate = dayOrDate; + _startAfterDays = startAfterDays; + _daysValidate = daysValidate; + _subscribeStartTime = subscribeStartTime; + _subscribeEndTime = subscribeEndTime; + _stores = stores; +} + + SubscribeParam.fromJson(dynamic json) { + _isEnableSubscribe = json['isEnableSubscribe']; + _isEnableSubscribePay = json['isEnableSubscribePay']; + _timePeriod = json['timePeriod']; + _subscribeTimes = json['subscribeTimes'] != null ? json['subscribeTimes'].cast() : []; + _dayOrDate = json['dayOrDate']; + _startAfterDays = json['startAfterDays']; + _daysValidate = json['daysValidate']; + _subscribeStartTime = json['subscribeStartTime']; + _subscribeEndTime = json['subscribeEndTime']; + // if (json['stores'] != null) { + // _stores = []; + // json['stores'].forEach((v) { + // _stores.add(Dynamic.fromJson(v)); + // }); + // } + } + bool _isEnableSubscribe; + bool _isEnableSubscribePay; + num _timePeriod; + List _subscribeTimes; + num _dayOrDate; + dynamic _startAfterDays; + dynamic _daysValidate; + String _subscribeStartTime; + String _subscribeEndTime; + List _stores; +SubscribeParam copyWith({ bool isEnableSubscribe, + bool isEnableSubscribePay, + num timePeriod, + List subscribeTimes, + num dayOrDate, + dynamic startAfterDays, + dynamic daysValidate, + String subscribeStartTime, + String subscribeEndTime, + List stores, +}) => SubscribeParam( isEnableSubscribe: isEnableSubscribe ?? _isEnableSubscribe, + isEnableSubscribePay: isEnableSubscribePay ?? _isEnableSubscribePay, + timePeriod: timePeriod ?? _timePeriod, + subscribeTimes: subscribeTimes ?? _subscribeTimes, + dayOrDate: dayOrDate ?? _dayOrDate, + startAfterDays: startAfterDays ?? _startAfterDays, + daysValidate: daysValidate ?? _daysValidate, + subscribeStartTime: subscribeStartTime ?? _subscribeStartTime, + subscribeEndTime: subscribeEndTime ?? _subscribeEndTime, + stores: stores ?? _stores, +); + bool get isEnableSubscribe => _isEnableSubscribe; + bool get isEnableSubscribePay => _isEnableSubscribePay; + num get timePeriod => _timePeriod; + List get subscribeTimes => _subscribeTimes; + num get dayOrDate => _dayOrDate; + dynamic get startAfterDays => _startAfterDays; + dynamic get daysValidate => _daysValidate; + String get subscribeStartTime => _subscribeStartTime; + String get subscribeEndTime => _subscribeEndTime; + List get stores => _stores; + + Map toJson() { + final map = {}; + map['isEnableSubscribe'] = _isEnableSubscribe; + map['isEnableSubscribePay'] = _isEnableSubscribePay; + map['timePeriod'] = _timePeriod; + map['subscribeTimes'] = _subscribeTimes; + map['dayOrDate'] = _dayOrDate; + map['startAfterDays'] = _startAfterDays; + map['daysValidate'] = _daysValidate; + map['subscribeStartTime'] = _subscribeStartTime; + map['subscribeEndTime'] = _subscribeEndTime; + if (_stores != null) { + map['stores'] = _stores.map((v) => v.toJson()).toList(); + } return map; } } -/// id : "1699346530126790656" -/// createTime : "2023-09-06 16:59:20" -/// createUser : "1684404021814624256" -/// updateTime : "2023-09-06 16:59:20" -/// updateUser : "1684404021814624256" -/// storeId : "1645701646107279360" -/// skuCode : "P202309061659192" +/// id : "1730509841664835584" +/// createTime : "2023-12-01 16:51:12" +/// createUser : "1729806749562568704" +/// updateTime : "2023-12-01 16:51:12" +/// updateUser : "1729806749562568704" +/// storeId : "1729806749612900352" +/// skuCode : "P202312011651122" /// skuNameStr : "" -/// productId : "1699346530059681792" -/// skuPrice : "66.00" -/// applyPrice : "66.00" -/// vipPrice : "66.00" +/// productId : "1730509840771448832" +/// skuPrice : "60.00" +/// applyPrice : "100.00" +/// vipPrice : "0.00" /// packagingFee : "0.00" /// skuImg : null -/// skuStock : 971 +/// skuStock : 999 /// autoRenewSkuStock : 0 /// deliveries : 0 /// ticketType : "" @@ -318,7 +514,7 @@ AdminProductVoList copyWith({ String id, /// skuTickets : [] /// ticketStyle : "" /// skuAttrCodeDTOList : null -/// skuAttrList : [{"id":"1699346530143567872","createTime":"2023-09-06 16:59:20","createUser":"1684404021814624256","updateTime":"2023-09-06 16:59:20","updateUser":"1684404021814624256","skuId":"1699346530126790656","attrId":"1699346530089041920","attrValueId":"1699346530101624832","sortOrder":null,"isDelete":0}] +/// skuAttrList : [{"id":"1730509841702584320","createTime":"2023-12-01 16:51:12","createUser":"1729806749562568704","updateTime":"2023-12-01 16:51:12","updateUser":"1729806749562568704","skuId":"1730509841664835584","attrId":"1730509841144741888","attrValueId":"1730509841383817216","sortOrder":null,"isDelete":0}] /// setMealDTOList : null /// discountPrice : "" @@ -646,14 +842,14 @@ ProductSkuVoList copyWith({ String id, } -/// id : "1699346530143567872" -/// createTime : "2023-09-06 16:59:20" -/// createUser : "1684404021814624256" -/// updateTime : "2023-09-06 16:59:20" -/// updateUser : "1684404021814624256" -/// skuId : "1699346530126790656" -/// attrId : "1699346530089041920" -/// attrValueId : "1699346530101624832" +/// id : "1730509841702584320" +/// createTime : "2023-12-01 16:51:12" +/// createUser : "1729806749562568704" +/// updateTime : "2023-12-01 16:51:12" +/// updateUser : "1729806749562568704" +/// skuId : "1730509841664835584" +/// attrId : "1730509841144741888" +/// attrValueId : "1730509841383817216" /// sortOrder : null /// isDelete : 0 diff --git a/lib/retrofit/data/store_time_info_list.dart b/lib/retrofit/data/store_time_info_list.dart new file mode 100644 index 00000000..080398c8 --- /dev/null +++ b/lib/retrofit/data/store_time_info_list.dart @@ -0,0 +1,42 @@ +/// openEndTime : "20:30:00" +/// openStartTime : "09:00:00" +/// posType : "FAST_SERVICE" + +class StoreTimeInfoList { + StoreTimeInfoList({ + String openEndTime, + String openStartTime, + String posType,}){ + _openEndTime = openEndTime; + _openStartTime = openStartTime; + _posType = posType; +} + + StoreTimeInfoList.fromJson(dynamic json) { + _openEndTime = json['openEndTime']; + _openStartTime = json['openStartTime']; + _posType = json['posType']; + } + String _openEndTime; + String _openStartTime; + String _posType; +StoreTimeInfoList copyWith({ String openEndTime, + String openStartTime, + String posType, +}) => StoreTimeInfoList( openEndTime: openEndTime ?? _openEndTime, + openStartTime: openStartTime ?? _openStartTime, + posType: posType ?? _posType, +); + String get openEndTime => _openEndTime; + String get openStartTime => _openStartTime; + String get posType => _posType; + + Map toJson() { + final map = {}; + map['openEndTime'] = _openEndTime; + map['openStartTime'] = _openStartTime; + map['posType'] = _posType; + return map; + } + +} \ No newline at end of file