¯S¦â¤¶²Ð¥\¯à²¤¶ <% dim sql,goods1,goods2,beginDate,endDate,stockDate1,stockDate2,stockDate,totalQTY,totalSum,dateKey beginDate=trim(request.QueryString("bDate")) endDate=trim(request.QueryString("eDate")) goods1=trim(request.QueryString("goods1")) goods2=trim(request.QueryString("goods2")) if beginDate="" and endDate="" then dateKey="" elseif beginDate<>"" and endDate="" then dateKey=" and a.OutDate >='"&beginDate&"'" elseif beginDate="" and endDate<>"" then datekey=" and a.OutDate <='"&endDate&"'" else dateKey=" and a.OutDate between '"&beginDate&"' and '"&endDate&"'" end if sql="select a.OutDate from "&shopid&"ITURN a,"&shopid&"ITURITEM b where a.outno=b.outno and b.goodsmodel between '"&goods1&"' and '"&goods2&"'"&dateKey set rs=server.CreateObject("adodb.recordset") rs.open sql,conn,1,1 if rs.eof then response.Write("

¨S¦³²Å¦X­n¨Dªº°h³f³æ") else stockDate1=rs("OutDate") rs.movelast stockDate2=rs("OutDate") rs.movefirst stockDate=replace(stockDate1&"~"&stockDate2,"/","-") rs.close sql="create table ##goods_TH ("&_ "goodsmodel varchar(20),goodsName varchar(50),outDate datetime,outNo varchar(30),comname varchar(50),"&_ "qty int,price money,unit char(4) )" conn.execute(sql) sql="select a.OutDate,a.outNO,b.goodsmodel,b.qty,b.Price,c.goodsname,c.unit,d.comname"&_ " from "&shopid&"ITURN a,"&shopid&"ITURITEM b,"&shopid&"goods c,"&shopid&"goodsprovider d"&_ " where a.outNO=b.OutNo and b.Goodsmodel=c.Goodsmodel and a.cno=d.comno and b.goodsmodel between '"&goods1&"' and '"&goods2&"'"&dateKey&" order by b.goodsmodel" createXlsSql="select b.goodsmodel as '°Ó«~½s¸¹',c.goodsname as '°Ó«~¦WºÙ',convert(char(10),a.OutDate,111) as '¶i³f³æ¤é´Á',a.outNO as '¶i³f³æ½s¸¹',d.comname as '¨ÑÀ³°Ó¦WºÙ',b.qty as '¼Æ¶q',b.Price as '³æ»ù',c.unit as '³æ¦ì',b.qty*b.price as '¤p­p' "&_ " from "&shopid&"ITURN a,"&shopid&"ITURITEM b,"&shopid&"goods c,"&shopid&"goodsprovider d"&_ " where a.outNO=b.OutNo and b.Goodsmodel=c.Goodsmodel and a.cno=d.comno and b.goodsmodel between '"&goods1&"' and '"&goods2&"'"&dateKey&" order by b.goodsmodel" rs.open sql,conn,1,1 recordCounts=rs.recordcount nowID="" nextID="" do while not rs.eof nowID=trim(rs("goodsmodel")) rs.movenext if not rs.eof then nextID=trim(rs("goodsmodel")) rs.moveprevious if nowID<>nextID or rs.absoluteposition=recordCounts then sql="insert into ##goods_TH (goodsmodel,goodsName) values ('"&rs("goodsmodel")&"','"&rs("goodsName")&"')" conn.execute(sql) end if sql="insert into ##goods_TH values ('"&rs("goodsmodel")&"','"&rs("goodsName")&"','"&rs("outDate")&"','"&rs("outNo")&"','"&rs("comname")&"',"&rs("qty")&","&rs("price")&",'"&rs("unit")&"')" conn.execute(sql) rs.movenext loop rs.close sql="select * from ##goods_TH order by goodsmodel,outno" rs.open sql,conn,1,1 tmpRecordCounts=rs.recordcount if tmpRecordCounts mod reportRows = 0 then pageCounts=tmpRecordCounts/reportRows else pageCounts=int(tmpRecordCounts/reportRows+1) end if showTable for i=1 to pageCounts call showPage(i,recordCounts) next response.Write("") end if sub showPage(currentPage,recordC) response.Write("
") response.Write(getshopname()) response.Write("
"&request.QueryString("title")) response.Write("
") %>
°h³f¤é´Á¡G<%=stockDate%> »sªí¤é´Á¡G<%=date()%>
¬d¸ßµ²ªG¡G¦@ <%=recordCounts%> µ§ ­¶¦¸¡G<%=i%>/<%=pageCounts%> ­¶

<% totalQTY=0 totalSum=0 rs.pagesize=reportRows rs.absolutepage=currentPage for ii=1 to rs.pagesize if isNull(rs("outno")) then with response .Write("") .Write("") .Write("") end with else %> <% totalQTY=totalQTY+trim(rs("qty")) totalSum=totalSum+trim(rs("qty"))*trim(rs("price")) end if rs.movenext if rs.eof then exit for next %>
°h³f³æ¤é´Á °h³f³æ½s¸¹ ¼t°Ó¦WºÙ ¼Æ¶q ³æ¦ì ³æ»ù ¤p­p
") .Write("
  • °Ó«~½s¸¹¡G"&rs("goodsmodel")&"     °Ó«~¦WºÙ¡G"&rs("goodsname")&"") .Write("
  • <%=rs("OutDate")%> <%=rs("outNO")%> <%=rs("comname")%> <%=rs("qty")%> <%=rs("unit")%> <%=rs("price")%> <%=trim(rs("qty"))*trim(rs("price"))%>

    ¦X­p °h³f¼Æ¶q¡G<%=totalQTY%> °h³fª÷ÃB¡G<%=totalSum%>

    <% response.Write("
    ") end sub rs.close:set rs=nothing closeConn() %> iv>
    ¤½¥q²¤¶
    ¡´
    ¡´
    ¡´
    ¡´
    ·s«~¤W¥«
    ¡´
    ¡´
    ¡´
    ¡´
    ¯S»ù°Ó«~
    ¡´
    ¡´
    ¡´
    ¡´
    ·|­û¨C¶g¤@ª«
    ¡´
    ¡´
    ¡´
    ¡´
    ¥[¤J·|­û
    ¡´
    ¡´
    ¡´
    ¡´
    °Ó©±½×¾Â
    ¡´
    ¡´
    ¡´
    ¡´
    ª¾ÃÑ®w
    µL
    µL
    ¡´
    ¡´
    §Ú¦³¿³½ì
    ¡´
    ¡´
    ¡´
    ¡´
    °Ó«~Ãoµ¡
    ¡´
    ¡´
    ¡´
    ¡´
    Áʪ«¨®
    µL
    ¡´
    ¡´
    ¡´
    ºô¸ôÁʪ«»¡©ú
    ¡´
    ¡´
    ¡´
    ¡´
    ¬d¬ÝÁʪ«³U
    µL
    ¡´
    ¡´
    ¡´
    ·j´M / °Ó«~¦WºÙ
    ¡´
    ¡´
    ¡´
    ¡´
    ºô¸ôÀu´f
    ¡´
    ¡´
    ¡´
    ¡´
    ·|­ûªA°È¤Ñ¦a
    ¡´
    ¡´
    ¡´
    ¡´
    ¤Í±¡³sµ²
    ¡´
    ¡´
    ¡´
    ¡´
    ¨ÑÀ³°ÓªA°È
    µL
    µL
    ¡´
    ¡´
    ¹w¬ùªA°È
    ¡´
    ¡´
    ¡´
    ¡´
    ¸U¶H¥Í¬¡À]
    ¿ïÁÊ
    ¿ïÁÊ
    ¿ïÁÊ
    ¿ïÁÊ
    ¸gÀçºÞ²z°Ï
    ¡´
    ¡´
    ¡´
    ¡´
    ÅU«È­q³æ¬d¸ß
    µL
    ¡´
    ¡´
    ¡´
    ­¶§ÀÄæ¥Øªº¥\¯à
    ¡´
    ¡´
    ¡´
    ¡´
    °Ó«~¯Ê³fºÞ²z
    µL
    ¡´
    ¡´
    ¡´
    ¬¡°Ê§Ö°T
    ¡´
    ¡´
    ¡´
    ¡´


      ºô¯¸«á¥x¸gÀçºÞ²z¥\¯àªí¡Ð°ò¥»¸ê®ÆºÞ²z
    ¥\¯à¿ï¶µ
    Easy ¨q
    Easy Show
    Easy ÁÊ
    Easy Go
    Easy ³q
    E¥ø·~
    °Ó«~¤jÃþºÞ²z
    ¡´
    ¡´
    ¡´
    ¡´
    °Ó«~¸ê®ÆºÞ²z
    ¡´
    ¡´
    ¡´
    ¡´
    °Ó«~¯Ê³fºÞ²z
    ¡´
    ¡´
    ¡´
    ¡´
    ¨ÑÀ³°Ó¸ê®ÆºÞ²z
    µL
    µL
    ¡´
    ¡´
    ·|­û¸ê®ÆºÞ²z
    ¡´
    ¡´
    ¡´
    ¡´
    ³¡ªùºÞ²z
    ¡´
    ¡´
    ¡´
    ¡´
    ­û¤u¸ê®Æ³]©w
    ¡´
    ¡´
    ¡´
    ¡´
    °Ó©±ªù¥«³]©w
    ¡´
    ¡´
    ¡´
    ¡´
    ¹w¬ùªA°È³]©w
    ¿ïÁÊ
    ¿ïÁÊ
    ¿ïÁÊ
    ¿ïÁÊ
    ¹w¬ùªA°È»¡©ú
    ¡´
    ¡´
    ¡´
    ¡´
    ¹w¬ùªA°È±ø´Ú
    ¡´
    ¡´
    ¡´
    ¡´
    ¤½¥q²¤¶³]©w
    ¡´
    ¡´
    ¡´
    ¡´
    ª¾ÃÑ®w¤jÃþºÞ²z
    µL
    µL
    ¡´
    ¡´
    ¨t²Î°Ñ¼Æ³]©w
    ¡´
    ¡´
    ¡´
    ¡´
    ­û¤uÅv­­³]©w
    ¡´
    ¡´
    ¡´
    ¡´


      ºô¯¸«á¥x¸gÀçºÞ²z¥\¯àªí¡Ð¦æ¾Pe«ü³q
    ¥\¯à¿ï¶µ
    Easy ¨q
    Easy Show
    Easy ÁÊ
    Easy Go
    Easy ³q
    E¥ø·~
    ºZ¾P°Ó«~³]©w
    ¡´
    ¡´
    ¡´
    ¡´
    ³Ì·s°Ó«~³]©w
    ¡´
    ¡´
    ¡´
    ¡´
    ·|­û¨C¶g¤@ª«
    ¡´
    ¡´
    ¡´
    ¡´
    ¯S»ù°Ó«~ºÞ²z
    ¡´
    ¡´
    ¡´
    ¡´
    ¹q¤l³øµo¦æºÞ²z
    µL
    µL
    ¡´
    ¡´
    ¹q¤l³ø»ù³æ¨t²Î
    µL
    µL
    µL
    ¡´
    ¬¡°Ê°T®§ºÞ²z
    ¡´
    ¡´
    ¡´
    ¡´
    ºô¯¸®×§é»ù¨÷¨t²Î
    ¡´
    ¡´
    ¡´
    ¡´
    ¨Ó©±¦æ¬°¤ÀªR
    µL
    µL
    ¡´
    ¡´
    §Ú¦³¿³½ì¸ò¶Ê¨t²Î
    ¡´
    ¡´
    ¡´
    ¡´
    §Ú¦³¿³½ì¸ò¶Ê¬d¸ß
    ¡´
    ¡´
    ¡´
    ¡´
    ·~ÁZ¸ò¶Ê¨t²Î
    ¡´
    ¡´
    ¡´
    ¡´
    ºô¸ôÁʪ«»¡©ú
    ¡´
    ¡´
    ¡´
    ¡´
    ²¼¿ï°Ý¨÷½Õ¬d
    ¡´
    ¡´
    ¡´
    ¡´


      ºô¯¸«á¥x¸gÀçºÞ²z¥\¯àªí¡Ðºô¯¸ºÞ²z
    ¥\¯à¿ï¶µ
    Easy ¨q
    Easy Show
    Easy ÁÊ
    Easy Go
    Easy ³q
    E¥ø·~
    ­º­¶­·®æ³]©w
    ¡´
    ¡´
    ¡´
    ¡´
    ¥DÃD­·®æ³]©w
    ¡´
    ¡´
    ¡´
    ¡´
    ¤Í½Ë³sµ²ºÞ²z
    ¡´
    ¡´
    ¡´
    ¡´
    ¶}©±¦³®Ä´Á­­¬d¸ß
    ¡´
    ¡´
    ¡´
    ¡´
    ¶}©±¶O¥Î¥R­È
    ¡´
    ¡´
    ¡´
    ¡´
    °Ó«~¤W¬[­·®æ
    ¡´
    ¡´
    ¡´
    ¡´
    µJÂI¤jÃþ³]©w
    ¡´
    ¡´
    ¡´
    ¡´
    «e¥x¥\¯à¿ï¶µ³]©w
    ¡´
    ¡´
    ¡´
    ¡´
    °Ó«~±Æ§Ç³]©w
    ¡´
    ¡´
    ¡´
    ¡´
    ¦Û­qºô­¶­¶§À
    ¡´
    ¡´
    ¡´
    ¡´
    ¦n¯¸±ÀÂ˳]©w
    ¡´
    ¡´
    ¡´
    ¡´
    ­·¾ì¼Æ¦ì«ÈªA«H½c
    ¡´
    ¡´
    ¡´
    ¡´
    ¼s§iºÞ²z
    ¡´
    ¡´
    ¡´
    ¡´
    ¶]°¨¿OºÞ²z
    ¡´
    ¡´
    ¡´
    ¡´


      ºô¯¸«á¥x¸gÀçºÞ²z¥\¯àªí¡Ðª¾ÃѺ޲ze¤Æ
    ¥\¯à¿ï¶µ
    Easy ¨q
    Easy Show
    Easy ÁÊ
    Easy Go
    Easy ³q
    E¥ø·~
    ²£·~·sª¾
    ¡´
    ¡´
    ¡´
    ¡´
    °Ó©±½×¾Â
    ¡´
    ¡´
    ¡´
    ¡´


      ºô¯¸«á¥x¸gÀçºÞ²z¥\¯àªí¡ÐÅU«ÈÃö«YºÞ²z
    ¥\¯à¿ï¶µ
    Easy ¨q
    Easy Show
    Easy ÁÊ
    Easy Go
    Easy ³q
    E¥ø·~
    µù¥U·|­û±ø´Ú
    ¡´
    ¡´
    ¡´
    ¡´
    ºô¤W¬õ§Q¿nÂI¬d¸ß
    ¡´
    ¡´
    ¡´
    ¡´
    ¼ú«~§I´«ºÞ²z
    ¡´
    ¡´
    ¡´
    ¡´
    ½u¤W°Ó«~¾Þ§@¤â¥U
    ¡´
    ¡´
    ¡´
    ¡´
    «È¤áªA°È«H½c
    ¡´
    ¡´
    ¡´
    ¡´
    °â«áªA°È¿ìªk
    ¡´
    ¡´
    ¡´
    ¡´
    ¹Ø¬P²°T¯¬¶PºÞ²z
    ¡´
    ¡´
    ¡´
    ¡´


      ºô¯¸«á¥x¸gÀçºÞ²z¥\¯àªí¡Ð¸gÀçºÞ²z¥þ²y¤Æ
    ¥\¯à¿ï¶µ
    Easy ¨q
    Easy Show
    Easy ÁÊ
    Easy Go
    Easy ³q
    E¥ø·~
    ¼x¤~±Ò¨Æ
    ¡´
    ¡´
    ¡´
    ¡´
    ¤½§i±ý±ÄÁʸê°T
    µL
    µL
    ¡´
    ¡´
    ±ÄÁʨM¼Ð¨t²Î
    µL
    µL
    ¡´
    ¡´
    ¨ÑÀ³°Ó³ø»ùºÞ²z
    µL
    µL
    ¡´
    ¡´
    ±ÄÁʺ޲z¨t²Î
    µL
    µL
    µL
    ¡´
    ¶i³fºÞ²z¨t²Î
    µL
    µL
    µL
    ¡´
    ¶i³f°h¥XºÞ²z
    µL
    µL
    µL
    ¡´
    ¤J®wÅ禬¨t²Î
    µL
    µL
    µL
    ¡´
    ­q³æºÞ²z¨t²Î
    µL
    ¡´
    ¡´
    ¡´
    ¥X³fºÞ²z¨t²Î
    µL
    ¡´
    ¡´
    ¡´
    ÅU«ÈÅ禬ºÞ²z
    µL
    ¡´
    ¡´
    ¡´
    ¥X³f°h¦^ºÞ²z
    µL
    ¡´
    ¡´
    ¡´
    À³¦¬±b´ÚºÞ²z
    µL
    ¡´
    ¡´
    ¡´
    À³¥I±b´ÚºÞ²z
    µL
    µL
    µL
    ¡´
    ±¡³ø¦Û°Ê±½´y¨t²Î
    µL
    ¡´
    ¡´
    ¡´
    À³¦¬±b´Ú¹ï±b³æ
    µL
    ¡´
    ¡´
    ¡´
    ¹q¤l¶P¥d¨t²Î
    µL
    µL
    µL
    ¡´
    ÅU«È¹w¬ù®Éµ{¸ò¶Ê
    ¿ïÁÊ
    ¿ïÁÊ
    ¿ïÁÊ
    ¿ïÁÊ
    ÅU«È¹w¬ù®ø¶Oµ²±b
    ¿ïÁÊ
    ¿ïÁÊ
    ¿ïÁÊ
    ¿ïÁÊ


      ºô¯¸«á¥x¸gÀçºÞ²z¥\¯àªí¡Ð²Î­p³øªí
    ¥\¯à¿ï¶µ
    Easy ¨q
    Easy Show
    Easy ÁÊ
    Easy Go
    Easy ³q
    E¥ø·~
    ±ÄÁʳæ²Î­p¤ÀªR
    µL
    µL
    µL
    ¡´
    ­q³æ²Î­p¤ÀªR
    ¡´
    ¡´
    ¡´
    ¡´
    ¶i°h³f²Î­p¤ÀªR
    µL
    µL
    µL
    ¡´
    ¾P°h³f²Î­p¤ÀªR
    ¡´
    ¡´
    ¡´
    ¡´
    °Ó«~©ú²Ó¬d¸ß
    ¡´
    ¡´
    ¡´
    ¡´
    ¼t°Ó©ú²Ó¬d¸ß
    µL
    µL
    µL
    ¡´
    ·|­û©ú²Ó¬d¸ß
    ¡´
    ¡´
    ¡´
    ¡´
    ·~°È­û©ú²Ó¬d¸ß
    ¡´
    ¡´
    ¡´
    ¡´
    ¹q¤l³øÂsÄý²Î­p¤ÀªR
    µL
    µL
    ¡´
    ¡´


      ºô¯¸«á¥x¸gÀçºÞ²z¥\¯àªí¡Ð²°T/¶Ç¯u¨t²Î
    ¥\¯à¿ï¶µ
    Easy ¨q
    Easy Show

    Easy ÁÊ
    Easy Go

    Easy ³q
    E¥ø·~
    ³q°TÀx­È²{ªp
    ¡´
    ¡´
    ¡´
    ¡´
    ¬d¸ß²°T/¶Ç¯uµo°e
    ¡´
    ¡´
    ¡´
    ¡´
    ¬d¸ß¹w¬ù²°T
    ¡´
    ¡´
    ¡´
    ¡´
    ²°T¶Ç°e³]©w
    ¡´
    ¡´
    ¡´
    ¡´
    ¶Ç¯u¶Ç°e³]©w
    ¡´
    ¡´
    ¡´
    ¡´

     

    §Ú­n¥Ó½Ðe¤Æ


    ¶}©±¥h[GO]












    §K¶Oºô¸ô¶}©±
    ºô»Ú¸s»E»P³¡¸¨
    ¸U¶H¥Í¬¡À]
    WebPOS§K¶O¤U¸ü
    WebÁ`³¡¨t²Î

    ¡@


    §K¶Oºô¯¸¡@§K¶Oºô¸ô¶}©±¡@§K¶OPOS¡@WEBPOS¦¬»È¾÷¡@ºô¸ô¸s»E¡@WEB¶i¾P¦s¡@WEBÁ`³¡¨t²Î 

    E´Iºô¯¸ª©Åv©Ò¦³¡D­·µØ°ê»ÚÅU°Ý¦³­­¤½¥q
    ¤½¥q¦a§}¡G¥x¥_¥«ªQ¤s°Ï´_¿³¥_¸ô313«Ñ26¸¹2¼Ó
    ªA°È¼ö½u(¥x¥_Á`¤½¥q: 886-2-27151488 ¥x¤¤: 886-04-22417090 °ª¶¯: 886-7-2382198 ¼s¦{: 86-20-8564-8465)
    ªA°È¶l½c¡Geservice@mail.brp.com.tw

    ¡@