This commit is contained in:
parent
cb44f976e3
commit
a5c4046453
|
@ -4,11 +4,11 @@ VITE_NOW_TYPE = 'dist'
|
||||||
# VITE_PUSH_URL = 'ws://192.168.1.201:8787'
|
# VITE_PUSH_URL = 'ws://192.168.1.201:8787'
|
||||||
# VITE_BASE_URL = 'http://192.168.1.201:8545'
|
# VITE_BASE_URL = 'http://192.168.1.201:8545'
|
||||||
|
|
||||||
VITE_PUSH_URL = 'ws://192.168.1.22:8787'
|
# VITE_PUSH_URL = 'ws://192.168.1.22:8787'
|
||||||
VITE_BASE_URL = 'http://192.168.1.22:8545'
|
# VITE_BASE_URL = 'http://192.168.1.22:8545'
|
||||||
|
|
||||||
# VITE_PUSH_URL ='wss://test-multi-store.lihaink.cn/pull'
|
VITE_PUSH_URL ='wss://test-multi-store.lihaink.cn/pull'
|
||||||
# VITE_BASE_URL = 'https://test-multi-store.lihaink.cn'
|
VITE_BASE_URL = 'https://test-multi-store.lihaink.cn'
|
||||||
|
|
||||||
# VITE_PUSH_URL ='wss://multi-store.lihaink.cn/pull'
|
# VITE_PUSH_URL ='wss://multi-store.lihaink.cn/pull'
|
||||||
# VITE_BASE_URL = 'https://multi-store.lihaink.cn'
|
# VITE_BASE_URL = 'https://multi-store.lihaink.cn'
|
|
@ -0,0 +1 @@
|
||||||
|
import{r as o,b as c,c as m,d as y,w as p,g as v,t as f,K as x}from"./index-DFqeFzc7.js";const g={__name:"authCode",props:{type:{type:String,default:"primary"},start:{type:Boolean,default:!0},time:{type:Number,default:60},text:{type:String,default:"发送验证码"},timeText:{type:String,default:"秒重新获取"},width:{type:String,default:"100px"},disabled:{type:Boolean,default:!1}},emits:["sendCode"],setup(t,{expose:s,emit:r}){const l=t,u=r,i=()=>{u("sendCode"),l.start&&n()},e=o(0),a=o(null),n=()=>{e.value=l.time,a.value=setInterval(()=>{e.value--,e.value<=0&&(clearInterval(a.value),e.value=0)},1e3)};return s({startCountDown:n,resetDown:()=>{clearInterval(a.value),e.value=0}}),(b,C)=>{const d=c("el-button");return m(),y(d,{type:t.type,style:x({width:t.width}),onClick:i,disabled:e.value>0||t.disabled},{default:p(()=>[v(f(e.value>0?`${e.value}${t.timeText}`:t.text),1)]),_:1},8,["type","style","disabled"])}}};export{g as _};
|
|
@ -1 +1 @@
|
||||||
import{K as o,L as s,E as r,u as d,M as g}from"./index-DslPK7Nc.js";const m=o.create({baseURL:s.api,timeout:6e4});m.interceptors.request.use(t=>{const a=localStorage.getItem("Token");return a&&(t.headers.token=a),t},t=>(console.error(t),Promise.reject(t)));m.interceptors.response.use(t=>{var a;if(t.data.code===-1&&(t.data.msg=="登录过期"||t.data.msg=="登录超时,请重新登录"))throw r({message:t.data.msg,type:"error"}),setTimeout(()=>{const e=d();e.setUserInfo({}),e.setToken(""),g.push("/login")},500),new Error(t.data.msg);if(t.data.code===400)throw r({message:t.data.msg,type:"error"}),new Error(t.data.msg);if(t.data.show&&r({message:t.data.msg,type:"error"}),t.data.code===500)throw t.data.msg=JSON.parse(t.data.msg),r({message:((a=t.data.msg)==null?void 0:a.msg)||t.data.msg,type:"error"}),new Error(t.data.msg);return t.data.code===0?Promise.reject(t.data):t.data},t=>{var a,e;return console.error(t),r({message:((e=(a=t.response)==null?void 0:a.data)==null?void 0:e.msg)||t,type:"error"}),Promise.reject(t)});export{m as r};
|
import{L as o,M as s,E as r,u as d,N as g}from"./index-DFqeFzc7.js";const m=o.create({baseURL:s.api,timeout:6e4});m.interceptors.request.use(t=>{const a=localStorage.getItem("Token");return a&&(t.headers.token=a),t},t=>(console.error(t),Promise.reject(t)));m.interceptors.response.use(t=>{var a;if(t.data.code===-1&&(t.data.msg=="登录过期"||t.data.msg=="登录超时,请重新登录"))throw r({message:t.data.msg,type:"error"}),setTimeout(()=>{const e=d();e.setUserInfo({}),e.setToken(""),g.push("/login")},500),new Error(t.data.msg);if(t.data.code===400)throw r({message:t.data.msg,type:"error"}),new Error(t.data.msg);if(t.data.show&&r({message:t.data.msg,type:"error"}),t.data.code===500)throw t.data.msg=JSON.parse(t.data.msg),r({message:((a=t.data.msg)==null?void 0:a.msg)||t.data.msg,type:"error"}),new Error(t.data.msg);return t.data.code===0?Promise.reject(t.data):t.data},t=>{var a,e;return console.error(t),r({message:((e=(a=t.response)==null?void 0:a.data)==null?void 0:e.msg)||t,type:"error"}),Promise.reject(t)});export{m as r};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
@charset "UTF-8";.my-order[data-v-74a6e87a]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden}.my-order .header-nav[data-v-74a6e87a]{display:flex;flex-direction:column;justify-content:space-between;padding:1rem;height:3.5rem}.my-order .header-nav span[data-v-74a6e87a]{color:#ff4a00}.my-order .header-nav .nav-item[data-v-74a6e87a]{font-weight:700}.my-order .header-nav .nav-item-btn[data-v-74a6e87a]{display:flex;justify-content:space-between;align-items:center}.my-order .header-input[data-v-74a6e87a]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:.0625rem solid #eee}.my-order .order-lists[data-v-74a6e87a]{height:calc(100vh - 16.45rem);overflow-y:auto}.my-order .order-lists .item[data-v-74a6e87a]{padding:1rem;border-bottom:.0625rem solid #eee}.my-order .order-lists .item .top[data-v-74a6e87a]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-lists .item .top .sn[data-v-74a6e87a]{font-weight:700;font-size:.9rem}.my-order .order-lists .item .top .cahier[data-v-74a6e87a]:before{content:"收银";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #2ec479;color:#2ec479;border-radius:.187rem}.my-order .order-lists .item .top .cahier2[data-v-74a6e87a]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #ff4a00;color:#ff4a00;border-radius:.187rem}.my-order .order-lists .item .top .create-time[data-v-74a6e87a]{font-size:.8rem}.my-order .order-lists .item .shop[data-v-74a6e87a]{display:flex;justify-content:space-between}.my-order .order-lists .item .shop .right[data-v-74a6e87a]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-lists .item .shop .right .money[data-v-74a6e87a]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-lists .item .shop .right .count[data-v-74a6e87a]{font-size:.7rem;color:#999}.my-order .order-lists .item .shop .left[data-v-74a6e87a]{height:4.5rem;display:flex;align-items:center}.my-order .order-lists .item .shop .left .shop-img[data-v-74a6e87a]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-lists .item .shop .left .shop-name[data-v-74a6e87a]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-lists .item .bottom[data-v-74a6e87a]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-lists .item .bottom .manage-btn[data-v-74a6e87a]{color:#fff;background-color:#e6a23c;border-radius:.2rem;padding:0 .2rem;margin-left:.5rem}.my-order .order-lists .item-active[data-v-74a6e87a]{background-color:#efefef}.my-order .load-end[data-v-74a6e87a]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-e0380861]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .detail[data-v-e0380861]{height:100%;box-sizing:border-box;position:relative}.my-order .detail .table[data-v-e0380861]{padding:1rem;overflow-y:auto;height:100%}.my-order .detail .table .table-title[data-v-e0380861]{font-weight:700}.my-order .detail .table .table-info[data-v-e0380861]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:.0625rem solid #eee}.my-order .detail .table .table-info[data-v-e0380861]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-e0380861]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-e0380861]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-e0380861]{position:absolute;bottom:0;left:0;z-index:1;width:100%;height:6rem;box-sizing:border-box;background-color:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 2rem;border-top:.0625rem solid #eee}.my-card{display:flex}::-webkit-scrollbar{width:.315rem}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.315rem}::-webkit-scrollbar-thumb:hover{background-color:#999}
|
@charset "UTF-8";.my-order[data-v-74a6e87a]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden}.my-order .header-nav[data-v-74a6e87a]{display:flex;flex-direction:column;justify-content:space-between;padding:1rem;height:3.5rem}.my-order .header-nav span[data-v-74a6e87a]{color:#ff4a00}.my-order .header-nav .nav-item[data-v-74a6e87a]{font-weight:700}.my-order .header-nav .nav-item-btn[data-v-74a6e87a]{display:flex;justify-content:space-between;align-items:center}.my-order .header-input[data-v-74a6e87a]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:.0625rem solid #eee}.my-order .order-lists[data-v-74a6e87a]{height:calc(100vh - 16.45rem);overflow-y:auto}.my-order .order-lists .item[data-v-74a6e87a]{padding:1rem;border-bottom:.0625rem solid #eee}.my-order .order-lists .item .top[data-v-74a6e87a]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-lists .item .top .sn[data-v-74a6e87a]{font-weight:700;font-size:.9rem}.my-order .order-lists .item .top .cahier[data-v-74a6e87a]:before{content:"收银";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #2ec479;color:#2ec479;border-radius:.187rem}.my-order .order-lists .item .top .cahier2[data-v-74a6e87a]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #ff4a00;color:#ff4a00;border-radius:.187rem}.my-order .order-lists .item .top .create-time[data-v-74a6e87a]{font-size:.8rem}.my-order .order-lists .item .shop[data-v-74a6e87a]{display:flex;justify-content:space-between}.my-order .order-lists .item .shop .right[data-v-74a6e87a]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-lists .item .shop .right .money[data-v-74a6e87a]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-lists .item .shop .right .count[data-v-74a6e87a]{font-size:.7rem;color:#999}.my-order .order-lists .item .shop .left[data-v-74a6e87a]{height:4.5rem;display:flex;align-items:center}.my-order .order-lists .item .shop .left .shop-img[data-v-74a6e87a]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-lists .item .shop .left .shop-name[data-v-74a6e87a]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-lists .item .bottom[data-v-74a6e87a]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-lists .item .bottom .manage-btn[data-v-74a6e87a]{color:#fff;background-color:#e6a23c;border-radius:.2rem;padding:0 .2rem;margin-left:.5rem}.my-order .order-lists .item-active[data-v-74a6e87a]{background-color:#efefef}.my-order .load-end[data-v-74a6e87a]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-b5c92dd9]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .detail[data-v-b5c92dd9]{height:100%;box-sizing:border-box;position:relative}.my-order .detail .table[data-v-b5c92dd9]{padding:1rem;overflow-y:auto;height:100%}.my-order .detail .table .table-title[data-v-b5c92dd9]{font-weight:700}.my-order .detail .table .table-info[data-v-b5c92dd9]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:.0625rem solid #eee}.my-order .detail .table .table-info[data-v-b5c92dd9]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-b5c92dd9]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-b5c92dd9]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-b5c92dd9]{position:absolute;bottom:0;left:0;z-index:1;width:100%;height:6rem;box-sizing:border-box;background-color:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 2rem;border-top:.0625rem solid #eee}.my-card{display:flex}::-webkit-scrollbar{width:.315rem}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.315rem}::-webkit-scrollbar-thumb:hover{background-color:#999}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
@charset "UTF-8";.my-order[data-v-8d729586]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden;display:flex;flex-direction:column}.my-order .header-nav[data-v-8d729586]{display:flex;justify-content:space-between;padding:1rem;height:1.5rem}.my-order .header-nav .nav-item[data-v-8d729586]{font-weight:700}.my-order .header-nav span[data-v-8d729586]{color:#ff4a00}.my-order .header-nav .nav-item-clear[data-v-8d729586]{display:flex;align-items:center;font-size:.8rem;cursor:pointer}.my-order .header-input[data-v-8d729586]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:.0625rem solid #eee}.my-order .order-lists[data-v-8d729586]{flex:1;overflow-y:auto}.my-order .order-lists .item[data-v-8d729586]{padding:1rem;border-bottom:.0625rem solid #eee}.my-order .order-lists .item .top[data-v-8d729586]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-lists .item .top .sn[data-v-8d729586]{font-weight:700;font-size:.9rem}.my-order .order-lists .item .top .cahier[data-v-8d729586]:before{content:"收银";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #2ec479;color:#2ec479;border-radius:.187rem}.my-order .order-lists .item .top .cahier2[data-v-8d729586]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #ff4a00;color:#ff4a00;border-radius:.187rem}.my-order .order-lists .item .top .create-time[data-v-8d729586]{font-size:.8rem}.my-order .order-lists .item .shop[data-v-8d729586]{display:flex;justify-content:space-between}.my-order .order-lists .item .shop .right[data-v-8d729586]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-lists .item .shop .right .money[data-v-8d729586]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-lists .item .shop .right .count[data-v-8d729586]{font-size:.7rem;color:#999}.my-order .order-lists .item .shop .left[data-v-8d729586]{height:4.5rem;display:flex;align-items:center}.my-order .order-lists .item .shop .left .shop-img[data-v-8d729586]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-lists .item .shop .left .shop-name[data-v-8d729586]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-lists .item .bottom[data-v-8d729586]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-lists .item .bottom .manage-btn[data-v-8d729586]{color:#fff;background-color:#e6a23c;border-radius:.2rem;padding:0 .2rem;margin-left:.5rem}.my-order .order-lists .item-active[data-v-8d729586]{background-color:#efefef}.my-order .load-end[data-v-8d729586]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-ea87d657]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .detail[data-v-ea87d657]{height:100%;box-sizing:border-box;position:relative}.my-order .detail .table[data-v-ea87d657]{padding:1rem;overflow-y:auto;height:100%}.my-order .detail .table .table-title[data-v-ea87d657]{font-weight:700}.my-order .detail .table .table-info[data-v-ea87d657]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:.0625rem solid #eee}.my-order .detail .table .table-info[data-v-ea87d657]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-ea87d657]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-ea87d657]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-ea87d657]{position:absolute;bottom:0;left:0;z-index:1;width:100%;height:6rem;box-sizing:border-box;background-color:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 2rem;border-top:.0625rem solid #eee}.my-card{display:flex}.my-card .my-code{height:70%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.my-card .my-code .box{width:38rem;position:relative}.my-card .my-code .box .input{width:100%;height:3rem;box-sizing:border-box;border-radius:4rem;border:.0625rem solid #1890ff;padding:0 1rem;font-size:1.1rem}.my-card .my-code .box .input:focus{outline:none;box-shadow:0 0 .31rem #1890ff;transition:all .2s ease-in-out}.my-card .my-code .box .btn{position:absolute;right:0;top:0;width:5rem;height:100%;border-radius:0 4rem 4rem 0;background:#1890ff;color:#fff;display:flex;justify-content:center;align-items:center;cursor:pointer}.my-card .my-code .to-list{width:auto;color:#1890ff;font-size:1.1rem;margin-top:3rem;text-align:center;display:flex;align-items:center;cursor:pointer}::-webkit-scrollbar{width:.31rem}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.31rem}::-webkit-scrollbar-thumb:hover{background-color:#999}
|
@charset "UTF-8";.my-order[data-v-8d729586]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden;display:flex;flex-direction:column}.my-order .header-nav[data-v-8d729586]{display:flex;justify-content:space-between;padding:1rem;height:1.5rem}.my-order .header-nav .nav-item[data-v-8d729586]{font-weight:700}.my-order .header-nav span[data-v-8d729586]{color:#ff4a00}.my-order .header-nav .nav-item-clear[data-v-8d729586]{display:flex;align-items:center;font-size:.8rem;cursor:pointer}.my-order .header-input[data-v-8d729586]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:.0625rem solid #eee}.my-order .order-lists[data-v-8d729586]{flex:1;overflow-y:auto}.my-order .order-lists .item[data-v-8d729586]{padding:1rem;border-bottom:.0625rem solid #eee}.my-order .order-lists .item .top[data-v-8d729586]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-lists .item .top .sn[data-v-8d729586]{font-weight:700;font-size:.9rem}.my-order .order-lists .item .top .cahier[data-v-8d729586]:before{content:"收银";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #2ec479;color:#2ec479;border-radius:.187rem}.my-order .order-lists .item .top .cahier2[data-v-8d729586]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #ff4a00;color:#ff4a00;border-radius:.187rem}.my-order .order-lists .item .top .create-time[data-v-8d729586]{font-size:.8rem}.my-order .order-lists .item .shop[data-v-8d729586]{display:flex;justify-content:space-between}.my-order .order-lists .item .shop .right[data-v-8d729586]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-lists .item .shop .right .money[data-v-8d729586]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-lists .item .shop .right .count[data-v-8d729586]{font-size:.7rem;color:#999}.my-order .order-lists .item .shop .left[data-v-8d729586]{height:4.5rem;display:flex;align-items:center}.my-order .order-lists .item .shop .left .shop-img[data-v-8d729586]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-lists .item .shop .left .shop-name[data-v-8d729586]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-lists .item .bottom[data-v-8d729586]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-lists .item .bottom .manage-btn[data-v-8d729586]{color:#fff;background-color:#e6a23c;border-radius:.2rem;padding:0 .2rem;margin-left:.5rem}.my-order .order-lists .item-active[data-v-8d729586]{background-color:#efefef}.my-order .load-end[data-v-8d729586]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-1950b4ed]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .detail[data-v-1950b4ed]{height:100%;box-sizing:border-box;position:relative}.my-order .detail .table[data-v-1950b4ed]{padding:1rem;overflow-y:auto;height:100%}.my-order .detail .table .table-title[data-v-1950b4ed]{font-weight:700}.my-order .detail .table .table-info[data-v-1950b4ed]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:.0625rem solid #eee}.my-order .detail .table .table-info[data-v-1950b4ed]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-1950b4ed]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-1950b4ed]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-1950b4ed]{position:absolute;bottom:0;left:0;z-index:1;width:100%;height:6rem;box-sizing:border-box;background-color:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 2rem;border-top:.0625rem solid #eee}.my-card{display:flex}.my-card .my-code{height:70%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.my-card .my-code .box{width:38rem;position:relative}.my-card .my-code .box .input{width:100%;height:3rem;box-sizing:border-box;border-radius:4rem;border:.0625rem solid #1890ff;padding:0 1rem;font-size:1.1rem}.my-card .my-code .box .input:focus{outline:none;box-shadow:0 0 .31rem #1890ff;transition:all .2s ease-in-out}.my-card .my-code .box .btn{position:absolute;right:0;top:0;width:5rem;height:100%;border-radius:0 4rem 4rem 0;background:#1890ff;color:#fff;display:flex;justify-content:center;align-items:center;cursor:pointer}.my-card .my-code .to-list{width:auto;color:#1890ff;font-size:1.1rem;margin-top:3rem;text-align:center;display:flex;align-items:center;cursor:pointer}::-webkit-scrollbar{width:.31rem}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.31rem}::-webkit-scrollbar-thumb:hover{background-color:#999}
|
|
@ -1 +1 @@
|
||||||
import{a as B,b as L}from"./shop-B66-JAoZ.js";import{r as f,b as s,h as v,c as i,k as b,f as e,w as a,j as N,g as r,d,p as y,E as A}from"./index-DslPK7Nc.js";import"./axiosAPI-DYpcg3Yc.js";const D={class:"my-card put-storage"},I={class:"order-lists","infinite-scroll-distance":300,"infinite-scroll-delay":500,"infinite-scroll-immediate":!1,style:{overflow:"auto"}},U={__name:"index",setup(S){const u=f([]),t=f({page_no:1,page_size:20,loadend:!1,type:1}),_=f(!1),c=()=>{t.value.loadend||(_.value=!0,B({page_no:t.value.page_no,page_size:t.value.page_size,type:t.value.type}).then(n=>{u.value=[...u.value,...n.data.lists],n.data.lists.length<t.value.page_size&&(t.value.loadend=!0),t.value.page_no++,_.value=!1}))};c();const h=()=>{t.value.page_no=1,t.value.loadend=!1,u.value=[],c()},k=async n=>{L({id:n.id}).then(p=>{n.status=1,A.success("入库成功")})};return(n,p)=>{const g=s("el-radio-button"),x=s("el-radio-group"),o=s("el-table-column"),C=s("el-image"),m=s("el-tag"),V=s("el-button"),E=s("el-table"),w=v("loading"),z=v("infinite-scroll");return i(),b("div",D,[e(x,{style:{"margin-bottom":"20px"},modelValue:t.value.type,"onUpdate:modelValue":p[0]||(p[0]=l=>t.value.type=l),onChange:h},{default:a(()=>[e(g,{label:1,value:1},{default:a(()=>[r("售卖库存")]),_:1}),e(g,{label:2,value:2},{default:a(()=>[r("兑换库存")]),_:1})]),_:1},8,["modelValue"]),N((i(),b("div",I,[e(E,{data:u.value},{default:a(()=>[e(o,{label:"导入人员",prop:"admin_name"}),e(o,{label:"门店确认人员",prop:"staff_name"}),e(o,{label:"商品图",prop:"image"},{default:a(({row:l})=>[e(C,{class:"image",src:l.image},null,8,["src"])]),_:1}),e(o,{label:"商品",prop:"store_name"}),e(o,{label:"数量",prop:"nums"}),e(o,{label:"状态",prop:"status"},{default:a(({row:l})=>[l.status===1?(i(),d(m,{key:0,type:"success"},{default:a(()=>[r("已入库")]),_:1})):l.status===0?(i(),d(m,{key:1,type:"warning"},{default:a(()=>[r("待确认")]),_:1})):l.status===-1?(i(),d(m,{key:2,type:"danger"},{default:a(()=>[r("库存不足")]),_:1})):y("",!0)]),_:1}),e(o,{label:"备注",prop:"mark"}),e(o,{label:"操作",width:"120",fixed:"right"},{default:a(({row:l})=>[l.status==0?(i(),d(V,{key:0,type:"success",onClick:j=>k(l)},{default:a(()=>[r(" 确认入库 ")]),_:2},1032,["onClick"])):y("",!0)]),_:1})]),_:1},8,["data"])])),[[w,_.value],[z,c]])])}}};export{U as default};
|
import{a as B,b as L}from"./shop-DGLf8liO.js";import{r as f,b as s,h as v,c as i,k as b,f as e,w as a,j as N,g as r,d,p as y,E as A}from"./index-DFqeFzc7.js";import"./axiosAPI-DiYhnWHW.js";const D={class:"my-card put-storage"},I={class:"order-lists","infinite-scroll-distance":300,"infinite-scroll-delay":500,"infinite-scroll-immediate":!1,style:{overflow:"auto"}},U={__name:"index",setup(S){const u=f([]),t=f({page_no:1,page_size:20,loadend:!1,type:1}),_=f(!1),c=()=>{t.value.loadend||(_.value=!0,B({page_no:t.value.page_no,page_size:t.value.page_size,type:t.value.type}).then(n=>{u.value=[...u.value,...n.data.lists],n.data.lists.length<t.value.page_size&&(t.value.loadend=!0),t.value.page_no++,_.value=!1}))};c();const h=()=>{t.value.page_no=1,t.value.loadend=!1,u.value=[],c()},k=async n=>{L({id:n.id}).then(p=>{n.status=1,A.success("入库成功")})};return(n,p)=>{const g=s("el-radio-button"),x=s("el-radio-group"),o=s("el-table-column"),C=s("el-image"),m=s("el-tag"),V=s("el-button"),E=s("el-table"),w=v("loading"),z=v("infinite-scroll");return i(),b("div",D,[e(x,{style:{"margin-bottom":"20px"},modelValue:t.value.type,"onUpdate:modelValue":p[0]||(p[0]=l=>t.value.type=l),onChange:h},{default:a(()=>[e(g,{label:1,value:1},{default:a(()=>[r("售卖库存")]),_:1}),e(g,{label:2,value:2},{default:a(()=>[r("兑换库存")]),_:1})]),_:1},8,["modelValue"]),N((i(),b("div",I,[e(E,{data:u.value},{default:a(()=>[e(o,{label:"导入人员",prop:"admin_name"}),e(o,{label:"门店确认人员",prop:"staff_name"}),e(o,{label:"商品图",prop:"image"},{default:a(({row:l})=>[e(C,{class:"image",src:l.image},null,8,["src"])]),_:1}),e(o,{label:"商品",prop:"store_name"}),e(o,{label:"数量",prop:"nums"}),e(o,{label:"状态",prop:"status"},{default:a(({row:l})=>[l.status===1?(i(),d(m,{key:0,type:"success"},{default:a(()=>[r("已入库")]),_:1})):l.status===0?(i(),d(m,{key:1,type:"warning"},{default:a(()=>[r("待确认")]),_:1})):l.status===-1?(i(),d(m,{key:2,type:"danger"},{default:a(()=>[r("库存不足")]),_:1})):y("",!0)]),_:1}),e(o,{label:"备注",prop:"mark"}),e(o,{label:"操作",width:"120",fixed:"right"},{default:a(({row:l})=>[l.status==0?(i(),d(V,{key:0,type:"success",onClick:j=>k(l)},{default:a(()=>[r(" 确认入库 ")]),_:2},1032,["onClick"])):y("",!0)]),_:1})]),_:1},8,["data"])])),[[w,_.value],[z,c]])])}}};export{U as default};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
@charset "UTF-8";.my-order[data-v-44aa5565]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden}.my-order .header-nav[data-v-44aa5565]{display:flex;flex-direction:column;justify-content:space-between;padding:1rem;height:3.5rem}.my-order .header-nav span[data-v-44aa5565]{color:#ff4a00}.my-order .header-nav .nav-item[data-v-44aa5565]{font-weight:700}.my-order .header-nav .nav-item-btn[data-v-44aa5565]{display:flex;justify-content:space-between;align-items:center}.my-order .header-input[data-v-44aa5565]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:.0625rem solid #eee}.my-order .order-lists[data-v-44aa5565]{height:calc(100vh - 16.45rem);overflow-y:auto}.my-order .order-lists .item[data-v-44aa5565]{padding:1rem;border-bottom:.0625rem solid #eee}.my-order .order-lists .item .top[data-v-44aa5565]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-lists .item .top .sn[data-v-44aa5565]{font-weight:700;font-size:.9rem}.my-order .order-lists .item .top .cahier[data-v-44aa5565]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #2ec479;color:#2ec479;border-radius:.187rem}.my-order .order-lists .item .top .cahier2[data-v-44aa5565]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #ff4a00;color:#ff4a00;border-radius:.187rem}.my-order .order-lists .item .top .create-time[data-v-44aa5565]{font-size:.8rem}.my-order .order-lists .item .shop[data-v-44aa5565]{display:flex;justify-content:space-between}.my-order .order-lists .item .shop .right[data-v-44aa5565]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-lists .item .shop .right .money[data-v-44aa5565]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-lists .item .shop .right .count[data-v-44aa5565]{font-size:.7rem;color:#999}.my-order .order-lists .item .shop .left[data-v-44aa5565]{height:4.5rem;display:flex;align-items:center}.my-order .order-lists .item .shop .left .shop-img[data-v-44aa5565]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-lists .item .shop .left .shop-name[data-v-44aa5565]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-lists .item .bottom[data-v-44aa5565]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-lists .item .bottom .manage-btn[data-v-44aa5565]{color:#fff;background-color:#e6a23c;border-radius:.2rem;padding:0 .2rem;margin-left:.5rem}.my-order .order-lists .item-active[data-v-44aa5565]{background-color:#efefef}.my-order .load-end[data-v-44aa5565]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-0f1c9a1a]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .detail[data-v-0f1c9a1a]{height:100%;box-sizing:border-box;position:relative}.my-order .detail .table[data-v-0f1c9a1a]{padding:1rem;box-sizing:border-box;overflow-y:auto;height:100%}.my-order .detail .table .table-title[data-v-0f1c9a1a]{font-weight:700}.my-order .detail .table .table-info[data-v-0f1c9a1a]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:.0625rem solid #eee}.my-order .detail .table .table-info[data-v-0f1c9a1a]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-0f1c9a1a]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-0f1c9a1a]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-0f1c9a1a]{position:absolute;bottom:0;left:0;z-index:1;width:100%;height:6rem;box-sizing:border-box;background-color:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 2rem;border-top:.0625rem solid #eee}.my-card{display:flex}::-webkit-scrollbar{width:.315rem}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.315rem}::-webkit-scrollbar-thumb:hover{background-color:#999}
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{b as t,c,k as a,e,f as o,w as d,g as l}from"./index-DslPK7Nc.js";const r={style:{width:"100vw",height:"100vh"}},_={style:{display:"flex","justify-content":"center","padding-top":"20vh"}},m={style:{display:"flex","flex-direction":"column","justify-content":"center","padding-left":"3rem"}},p=e("div",{style:{"font-size":"5rem","font-weight":"bold"}},"404",-1),h=e("div",{style:{"padding-bottom":"1rem"}},"您的页面没有找到",-1),v={__name:"index",setup(f){const s=()=>{window.location="/"};return(y,g)=>{const n=t("el-image"),i=t("el-button");return c(),a("div",r,[e("div",_,[o(n,{loading:"lazy",style:{width:"30rem",height:"20rem"},src:"/src/assets/icon-404-color.svg"}),e("div",m,[p,h,o(i,{type:"primary",onClick:s},{default:d(()=>[l("返回首页")]),_:1})])])])}}};export{v as default};
|
import{b as t,c,k as a,e,f as o,w as d,g as l}from"./index-DFqeFzc7.js";const r={style:{width:"100vw",height:"100vh"}},_={style:{display:"flex","justify-content":"center","padding-top":"20vh"}},m={style:{display:"flex","flex-direction":"column","justify-content":"center","padding-left":"3rem"}},p=e("div",{style:{"font-size":"5rem","font-weight":"bold"}},"404",-1),h=e("div",{style:{"padding-bottom":"1rem"}},"您的页面没有找到",-1),v={__name:"index",setup(f){const s=()=>{window.location="/"};return(y,g)=>{const n=t("el-image"),i=t("el-button");return c(),a("div",r,[e("div",_,[o(n,{loading:"lazy",style:{width:"30rem",height:"20rem"},src:"/src/assets/icon-404-color.svg"}),e("div",m,[p,h,o(i,{type:"primary",onClick:s},{default:d(()=>[l("返回首页")]),_:1})])])])}}};export{v as default};
|
|
@ -1 +1 @@
|
||||||
import{_ as U,u as I,r as u,o as R,b as n,c as S,k as b,e as v,f as e,w as t,i as m,g as L,q as B,s as C,D as E,E as w}from"./index-DslPK7Nc.js";import{l as K}from"./user-jp6MVT4O.js";const N=l=>(B("data-v-f9ff2ce9"),l=l(),C(),l),M={class:"body"},T={class:"login"},q=N(()=>v("div",{class:"title"},"里海收银系统 - 登录",-1)),D={__name:"index",setup(l){const d=I(),y=E(),k=u(null),p=u(null),s=u({account:"",password:"",terminal:1}),_=()=>{if(!s.value.account)return w({message:"请填写账号",type:"error"});if(!s.value.password)return w({message:"请填写密码",type:"error"});K(s.value).then(a=>{var o;(o=a.data)!=null&&o.token&&(d.setToken(a.data.token),d.setUserInfo(a.data),y.push("/"))}).catch(a=>{})};return R(()=>{}),(a,o)=>{const h=n("User"),f=n("el-icon"),i=n("el-input"),c=n("el-form-item"),x=n("Lock"),V=n("el-button"),g=n("el-form");return S(),b("div",M,[v("div",T,[q,e(g,null,{default:t(()=>[e(c,null,{default:t(()=>[e(i,{ref_key:"accRef",ref:k,modelValue:s.value.account,"onUpdate:modelValue":o[0]||(o[0]=r=>s.value.account=r),placeholder:"请输入账号",onKeydown:o[1]||(o[1]=m(r=>p.value.focus(),["enter"]))},{prefix:t(()=>[e(f,null,{default:t(()=>[e(h)]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:t(()=>[e(i,{ref_key:"pwdRef",ref:p,modelValue:s.value.password,"onUpdate:modelValue":o[2]||(o[2]=r=>s.value.password=r),type:"password",placeholder:"请输入密码","show-password":"",onKeydown:m(_,["enter"])},{prefix:t(()=>[e(f,null,{default:t(()=>[e(x)]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:t(()=>[e(V,{style:{width:"100%"},type:"primary",onClick:_},{default:t(()=>[L("登录")]),_:1})]),_:1})]),_:1})])])}}},z=U(D,[["__scopeId","data-v-f9ff2ce9"]]);export{z as default};
|
import{_ as U,u as I,r as u,o as R,b as n,c as S,k as b,e as v,f as e,w as t,i as m,g as L,q as B,s as C,D as E,E as w}from"./index-DFqeFzc7.js";import{l as K}from"./user-Df1_-QkC.js";const N=l=>(B("data-v-f9ff2ce9"),l=l(),C(),l),M={class:"body"},T={class:"login"},q=N(()=>v("div",{class:"title"},"里海收银系统 - 登录",-1)),D={__name:"index",setup(l){const d=I(),y=E(),k=u(null),p=u(null),s=u({account:"",password:"",terminal:1}),_=()=>{if(!s.value.account)return w({message:"请填写账号",type:"error"});if(!s.value.password)return w({message:"请填写密码",type:"error"});K(s.value).then(a=>{var o;(o=a.data)!=null&&o.token&&(d.setToken(a.data.token),d.setUserInfo(a.data),y.push("/"))}).catch(a=>{})};return R(()=>{}),(a,o)=>{const h=n("User"),f=n("el-icon"),i=n("el-input"),c=n("el-form-item"),x=n("Lock"),V=n("el-button"),g=n("el-form");return S(),b("div",M,[v("div",T,[q,e(g,null,{default:t(()=>[e(c,null,{default:t(()=>[e(i,{ref_key:"accRef",ref:k,modelValue:s.value.account,"onUpdate:modelValue":o[0]||(o[0]=r=>s.value.account=r),placeholder:"请输入账号",onKeydown:o[1]||(o[1]=m(r=>p.value.focus(),["enter"]))},{prefix:t(()=>[e(f,null,{default:t(()=>[e(h)]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:t(()=>[e(i,{ref_key:"pwdRef",ref:p,modelValue:s.value.password,"onUpdate:modelValue":o[2]||(o[2]=r=>s.value.password=r),type:"password",placeholder:"请输入密码","show-password":"",onKeydown:m(_,["enter"])},{prefix:t(()=>[e(f,null,{default:t(()=>[e(x)]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:t(()=>[e(V,{style:{width:"100%"},type:"primary",onClick:_},{default:t(()=>[L("登录")]),_:1})]),_:1})]),_:1})])])}}},z=U(D,[["__scopeId","data-v-f9ff2ce9"]]);export{z as default};
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
@charset "UTF-8";.my-order[data-v-42ec4cb4]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden}.my-order .header-nav[data-v-42ec4cb4]{display:flex;flex-direction:column;justify-content:space-between;padding:1rem;height:3.5rem}.my-order .header-nav span[data-v-42ec4cb4]{color:#ff4a00}.my-order .header-nav .nav-item[data-v-42ec4cb4]{font-weight:700}.my-order .header-nav .nav-item-btn[data-v-42ec4cb4]{display:flex;justify-content:space-between;align-items:center}.my-order .header-input[data-v-42ec4cb4]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:.0625rem solid #eee}.my-order .order-lists[data-v-42ec4cb4]{height:calc(100vh - 16.45rem);overflow-y:auto}.my-order .order-lists .item[data-v-42ec4cb4]{padding:1rem;border-bottom:.0625rem solid #eee}.my-order .order-lists .item .top[data-v-42ec4cb4]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-lists .item .top .sn[data-v-42ec4cb4]{font-weight:700;font-size:.9rem}.my-order .order-lists .item .top .cahier[data-v-42ec4cb4]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #2ec479;color:#2ec479;border-radius:.187rem}.my-order .order-lists .item .top .cahier2[data-v-42ec4cb4]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #ff4a00;color:#ff4a00;border-radius:.187rem}.my-order .order-lists .item .top .create-time[data-v-42ec4cb4]{font-size:.8rem}.my-order .order-lists .item .shop[data-v-42ec4cb4]{display:flex;justify-content:space-between}.my-order .order-lists .item .shop .right[data-v-42ec4cb4]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-lists .item .shop .right .money[data-v-42ec4cb4]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-lists .item .shop .right .count[data-v-42ec4cb4]{font-size:.7rem;color:#999}.my-order .order-lists .item .shop .left[data-v-42ec4cb4]{height:4.5rem;display:flex;align-items:center}.my-order .order-lists .item .shop .left .shop-img[data-v-42ec4cb4]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-lists .item .shop .left .shop-name[data-v-42ec4cb4]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-lists .item .bottom[data-v-42ec4cb4]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-lists .item .bottom .manage-btn[data-v-42ec4cb4]{color:#fff;background-color:#e6a23c;border-radius:.2rem;padding:0 .2rem;margin-left:.5rem}.my-order .order-lists .item-active[data-v-42ec4cb4]{background-color:#efefef}.my-order .load-end[data-v-42ec4cb4]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-bd1f9589]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .detail[data-v-bd1f9589]{height:100%;box-sizing:border-box;position:relative}.my-order .detail .table[data-v-bd1f9589]{padding:1rem;box-sizing:border-box;overflow-y:auto;height:100%}.my-order .detail .table .table-title[data-v-bd1f9589]{font-weight:700}.my-order .detail .table .table-info[data-v-bd1f9589]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:.0625rem solid #eee}.my-order .detail .table .table-info[data-v-bd1f9589]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-bd1f9589]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-bd1f9589]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-bd1f9589]{position:absolute;bottom:0;left:0;z-index:1;width:100%;height:6rem;box-sizing:border-box;background-color:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 2rem;border-top:.0625rem solid #eee}.my-card{display:flex}::-webkit-scrollbar{width:.315rem}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.315rem}::-webkit-scrollbar-thumb:hover{background-color:#999}
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{f as i}from"./merchant-D2Gq3I4N.js";import{_ as d,r as a,b as l,h as p,j as m,c as u,k as h,e as f,f as e,w as v}from"./index-DslPK7Nc.js";const b={"element-loading-text":"加载中",class:"my-order"},g={class:"table"},x={__name:"indexCount",setup(w){const o=a([]),n=a({page_no:1,page_size:15}),r=a(!1);return(()=>{i(n.value).then(s=>{o.value=s.data.lists})})(),(s,k)=>{const t=l("el-table-column"),c=l("el-table"),_=p("loading");return m((u(),h("div",b,[f("div",g,[e(c,{data:o.value,style:{width:"100%"}},{default:v(()=>[e(t,{prop:"record_date",label:"时间",width:"260"}),e(t,{prop:"cashier_cash_total_amount",label:"现金收银金额(元)"}),e(t,{prop:"cashier_total_amount",label:"线上收银金额(元)"}),e(t,{prop:"platofrm_total_amount",label:"平台订单金额(元)"}),e(t,{prop:"total_amount",label:"总金额(元)"})]),_:1},8,["data"])])])),[[_,r.value]])}}},y=d(x,[["__scopeId","data-v-d25755c6"]]);export{y as default};
|
import{f as i}from"./merchant-CFNc6ZHU.js";import{_ as d,r as a,b as l,h as p,j as m,c as u,k as h,e as f,f as e,w as v}from"./index-DFqeFzc7.js";const b={"element-loading-text":"加载中",class:"my-order"},g={class:"table"},x={__name:"indexCount",setup(w){const o=a([]),n=a({page_no:1,page_size:15}),r=a(!1);return(()=>{i(n.value).then(s=>{o.value=s.data.lists})})(),(s,k)=>{const t=l("el-table-column"),c=l("el-table"),_=p("loading");return m((u(),h("div",b,[f("div",g,[e(c,{data:o.value,style:{width:"100%"}},{default:v(()=>[e(t,{prop:"record_date",label:"时间",width:"260"}),e(t,{prop:"cashier_cash_total_amount",label:"现金收银金额(元)"}),e(t,{prop:"cashier_total_amount",label:"线上收银金额(元)"}),e(t,{prop:"platofrm_total_amount",label:"平台订单金额(元)"}),e(t,{prop:"total_amount",label:"总金额(元)"})]),_:1},8,["data"])])])),[[_,r.value]])}}},y=d(x,[["__scopeId","data-v-d25755c6"]]);export{y as default};
|
|
@ -1 +1 @@
|
||||||
import{H as a}from"./index-DslPK7Nc.js";function i(){return a.get("/merchant/Merchant/amount_account")}function r(n){return a.get("/merchant/Merchant/taking_lists",{params:n})}function c(){return a.get("/merchant/Merchant/taking_info")}function e(n){return a.post("/merchant/Merchant/withdraw",n)}function o(n){return a.get("/financial/FinancialRecord/lists",{params:n})}function s(n){return a.get("/financial/FinancialRecord/api_lists",{params:n})}export{i as a,c as b,e as c,r as d,s as e,o as f};
|
import{H as a}from"./index-DFqeFzc7.js";function i(){return a.get("/merchant/Merchant/amount_account")}function r(n){return a.get("/merchant/Merchant/taking_lists",{params:n})}function c(){return a.get("/merchant/Merchant/taking_info")}function e(n){return a.post("/merchant/Merchant/withdraw",n)}function o(n){return a.get("/financial/FinancialRecord/lists",{params:n})}function s(n){return a.get("/financial/FinancialRecord/api_lists",{params:n})}export{i as a,c as b,e as c,r as d,s as e,o as f};
|
|
@ -1 +1 @@
|
||||||
import{_ as e,c as t,k as c}from"./index-DslPK7Nc.js";const n={},o={style:{width:"1rem",height:"100%"}};function r(s,_){return t(),c("div",o)}const i=e(n,[["render",r]]);export{i as p};
|
import{_ as e,c as t,k as c}from"./index-DFqeFzc7.js";const n={},o={style:{width:"1rem",height:"100%"}};function r(s,_){return t(),c("div",o)}const i=e(n,[["render",r]]);export{i as p};
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
.dra-body[data-v-a76a4ead]{width:100%;display:flex;flex-direction:column;align-items:center;text-align:center}.dra-body .header[data-v-a76a4ead]{width:30rem;display:flex}.dra-body .header>div[data-v-a76a4ead]{flex:1;border:.0625rem solid #ccc;text-align:center;padding:.6rem 0;cursor:pointer}.dra-body .header .left[data-v-a76a4ead]{border-right:none;border-radius:5rem 0 0 5rem}.dra-body .header .right[data-v-a76a4ead]{border-left:none;border-radius:0 5rem 5rem 0}.dra-body .header .active[data-v-a76a4ead]{background-color:#1890ff;color:#fff;transition:.3s;border-color:#1890ff}.dra-body .card1 .code-input[data-v-a76a4ead]{width:100%;height:3rem;font-size:1.2rem}.dra-body .card1 .tips[data-v-a76a4ead]{width:38rem;height:16rem;background:url(./pay-De0xbdxm.png);background-size:100% 100%;background-repeat:no-repeat}.dra-body .card3 .codes[data-v-a76a4ead]{width:38rem;display:flex;align-items:center}.dra-body .card3 .codes .code-input[data-v-a76a4ead]{flex:1;height:3rem;font-size:1.2rem}.dra-body .card3 .codes .get-code-btn[data-v-a76a4ead]{height:3rem;margin-left:1rem}.dra-body .card3 .code-pay[data-v-a76a4ead]{margin-top:4rem;width:100%;height:3rem;border-radius:3rem}.cancel-btn[data-v-a76a4ead]{width:60%;border-color:#1890ff;color:#1890ff;border-radius:5rem;height:3rem;font-size:1.2rem}.drawer-body[data-v-a76a4ead]{width:100%;overflow-x:hidden}.counter[data-v-a76a4ead]{padding:1.25rem;border-radius:1.25rem;background-color:#f3f9ff}.counter .received[data-v-a76a4ead]{height:3rem;padding:0 1.25rem;border:.0625rem solid #1890ff;box-shadow:0 0 .18rem #1890ff;border-radius:.5rem;background-color:#fff;font-size:1.62rem;line-height:3rem;color:#333}.counter .balance[data-v-a76a4ead]{width:100%;box-sizing:border-box;padding:1.12rem 0 1.12rem .625rem;text-align:start;font-size:.95rem;color:#303133;display:flex;justify-content:space-between}.counter .balance .money[data-v-a76a4ead]{color:#ff4a00}.counter .balance .tips[data-v-a76a4ead]{font-size:.8rem;color:#999}.counter .keypad[data-v-a76a4ead]{display:grid;grid-template-columns:auto auto auto auto;grid-gap:.625rem}.counter .keypad .left[data-v-a76a4ead]{grid-column-end:span 3;display:grid;grid-template-columns:auto auto auto;grid-gap:.625rem}.counter .keypad .right[data-v-a76a4ead]{display:grid;grid-template-columns:auto;grid-gap:.625rem}.counter .keypad .el-button[data-v-a76a4ead]{height:3.875rem;width:8.125rem;margin:0!important;border:0;border-radius:.5rem;font-weight:500;font-size:1.75rem!important;line-height:3.87rem;color:#1890ff}.counter .keypad .el-button[data-v-a76a4ead]:focus{box-shadow:none}.counter .keypad .enter[data-v-a76a4ead]{grid-row-end:span 4;height:8.37rem;line-height:8.37rem;background-color:#1890ff;font-weight:500;font-size:1.35rem!important;color:#fff;position:relative}.counter .keypad .enter-disable[data-v-a76a4ead]{background-color:#ccc}
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
.dra-body[data-v-45d4774f]{width:100%;display:flex;flex-direction:column;align-items:center;text-align:center}.dra-body .header[data-v-45d4774f]{width:30rem;display:flex}.dra-body .header>div[data-v-45d4774f]{flex:1;border:.0625rem solid #ccc;text-align:center;padding:.6rem 0;cursor:pointer}.dra-body .header .left[data-v-45d4774f]{border-right:none;border-radius:5rem 0 0 5rem}.dra-body .header .right[data-v-45d4774f]{border-left:none;border-radius:0 5rem 5rem 0}.dra-body .header .active[data-v-45d4774f]{background-color:#1890ff;color:#fff;transition:.3s;border-color:#1890ff}.dra-body .card1 .code-input[data-v-45d4774f]{width:100%;height:3rem;font-size:1.2rem}.dra-body .card1 .tips[data-v-45d4774f]{width:38rem;height:16rem;background:url(./pay-De0xbdxm.png);background-size:100% 100%;background-repeat:no-repeat}.dra-body .card3 .codes[data-v-45d4774f]{width:38rem;display:flex;align-items:center}.dra-body .card3 .codes .code-input[data-v-45d4774f]{flex:1;height:3rem;font-size:1.2rem}.dra-body .card3 .codes .get-code-btn[data-v-45d4774f]{height:3rem;margin-left:1rem}.dra-body .card3 .code-pay[data-v-45d4774f]{margin-top:4rem;width:100%;height:3rem;border-radius:3rem}.cancel-btn[data-v-45d4774f]{width:60%;border-color:#1890ff;color:#1890ff;border-radius:5rem;height:3rem;font-size:1.2rem}.drawer-body[data-v-45d4774f]{width:100%;overflow-x:hidden}.counter[data-v-45d4774f]{padding:1.25rem;border-radius:1.25rem;background-color:#f3f9ff}.counter .received[data-v-45d4774f]{height:3rem;padding:0 1.25rem;border:.0625rem solid #1890ff;box-shadow:0 0 .18rem #1890ff;border-radius:.5rem;background-color:#fff;font-size:1.62rem;line-height:3rem;color:#333}.counter .balance[data-v-45d4774f]{width:100%;box-sizing:border-box;padding:1.12rem 0 1.12rem .625rem;text-align:start;font-size:.95rem;color:#303133;display:flex;justify-content:space-between}.counter .balance .money[data-v-45d4774f]{color:#ff4a00}.counter .balance .tips[data-v-45d4774f]{font-size:.8rem;color:#999}.counter .keypad[data-v-45d4774f]{display:grid;grid-template-columns:auto auto auto auto;grid-gap:.625rem}.counter .keypad .left[data-v-45d4774f]{grid-column-end:span 3;display:grid;grid-template-columns:auto auto auto;grid-gap:.625rem}.counter .keypad .right[data-v-45d4774f]{display:grid;grid-template-columns:auto;grid-gap:.625rem}.counter .keypad .el-button[data-v-45d4774f]{height:3.875rem;width:8.125rem;margin:0!important;border:0;border-radius:.5rem;font-weight:500;font-size:1.75rem!important;line-height:3.87rem;color:#1890ff}.counter .keypad .el-button[data-v-45d4774f]:focus{box-shadow:none}.counter .keypad .enter[data-v-45d4774f]{grid-row-end:span 4;height:8.37rem;line-height:8.37rem;background-color:#1890ff;font-weight:500;font-size:1.35rem!important;color:#fff;position:relative}.counter .keypad .enter-disable[data-v-45d4774f]{background-color:#ccc}
|
|
|
@ -1 +1 @@
|
||||||
import{H as s}from"./index-DslPK7Nc.js";import{r}from"./axiosAPI-DYpcg3Yc.js";function a(t){return r.get("/product/product/lists",{params:t})}function i(t){return s.get("/cate/cate/lists",{params:t})}function n(t){return s.get("/system_store_storage/systemstorestorage/lists",{params:t})}function m(t){return s.post("/system_store_storage/systemstorestorage/edit",t)}export{n as a,m as b,i as m,a as s};
|
import{H as s}from"./index-DFqeFzc7.js";import{r}from"./axiosAPI-DiYhnWHW.js";function a(t){return r.get("/product/product/lists",{params:t})}function i(t){return s.get("/cate/cate/lists",{params:t})}function n(t){return s.get("/system_store_storage/systemstorestorage/lists",{params:t})}function m(t){return s.post("/system_store_storage/systemstorestorage/edit",t)}export{n as a,m as b,i as m,a as s};
|
|
@ -1 +1 @@
|
||||||
import{H as e}from"./index-DslPK7Nc.js";function o(r){return e.post("/cart/cart/create",r)}function s(r){return e.get("/cart/cart/list",{params:r})}function a(r){return e.post("/store_order/StoreOrder/checkOrder",r)}function i(r){return e.post("/cart/cart/delete",r)}function n(r){return e.post("/store_order/StoreOrder/createOrder",r)}function u(r){return e.post("/store_order/StoreOrder/pay",r)}function c(r){return e.get("/store_order/StoreOrder/lists",{params:r})}function p(r){return e.get("/store_order/storeOrder/detail",{params:r})}function d(r){return e.get("/store_order/storeOrder/writeoff_list",{params:r})}function f(r){return e.post("/store_order/StoreOrder/writeoff_order",r)}function O(r){return e.post("/store_order/StoreOrder/checkSms",r)}function _(r){return e.get("/store_order/StoreOrder/print",{params:r})}function A(r){return e.get("/user_product_storage/UserProductStorage/lists",{params:r})}function S(r){return e.post("/user_product_storage/UserProductStorage/supply",r)}export{s as a,o as b,i as c,p as d,n as e,u as f,O as g,_ as h,d as i,S as j,a as o,c as s,A as u,f as w};
|
import{H as e}from"./index-DFqeFzc7.js";function o(r){return e.post("/cart/cart/create",r)}function s(r){return e.get("/cart/cart/list",{params:r})}function a(r){return e.post("/store_order/StoreOrder/checkOrder",r)}function i(r){return e.post("/cart/cart/delete",r)}function n(r){return e.post("/store_order/StoreOrder/createOrder",r)}function u(r){return e.post("/store_order/StoreOrder/pay",r)}function c(r){return e.get("/store_order/StoreOrder/lists",{params:r})}function p(r){return e.get("/store_order/storeOrder/detail",{params:r})}function d(r){return e.get("/store_order/storeOrder/writeoff_list",{params:r})}function f(r){return e.post("/store_order/StoreOrder/writeoff_order",r)}function O(r){return e.post("/store_order/StoreOrder/checkSms",r)}function _(r){return e.get("/store_order/StoreOrder/print",{params:r})}function A(r){return e.get("/user_product_storage/UserProductStorage/lists",{params:r})}function S(r){return e.post("/user_product_storage/UserProductStorage/supply",r)}export{s as a,o as b,i as c,p as d,n as e,u as f,O as g,_ as h,d as i,S as j,a as o,c as s,A as u,f as w};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{H as e}from"./index-DslPK7Nc.js";function u(s){return e.post("/login/account",s)}function t(s){return e.get("/user/UserShip/lists",{params:s})}function i(s){return e.post("/user/user/add",s)}function n(s){return e.post("/user/user/archives_sms",s)}function a(s){return e.get("/user/user/lists",{params:s})}function p(s){return e.get("/user/user/detail",{params:s})}function o(s){return e.get("/user/Address/detail",{params:s})}function d(s){return e.post("/user/Address/edit",s)}function c(s){return e.post("/store_order/StoreOrder/rechange_amount",s)}function A(s){return e.post("/user/user/user_ship",s)}function l(s){return e.get("/user/UserLabel/lists",{params:s})}function f(s){return e.post("/user/user/user_label",s)}export{t as a,i as b,n as c,c as d,p as e,A as f,l as g,f as h,o as i,d as j,u as l,a as u};
|
import{H as e}from"./index-DFqeFzc7.js";function u(s){return e.post("/login/account",s)}function t(s){return e.get("/user/UserShip/lists",{params:s})}function i(s){return e.post("/user/user/add",s)}function n(s){return e.post("/user/user/archives_sms",s)}function a(s){return e.get("/user/user/lists",{params:s})}function p(s){return e.get("/user/user/detail",{params:s})}function o(s){return e.get("/user/Address/detail",{params:s})}function d(s){return e.post("/user/Address/edit",s)}function c(s){return e.post("/store_order/StoreOrder/rechange_amount",s)}function A(s){return e.post("/user/user/user_ship",s)}function l(s){return e.get("/user/UserLabel/lists",{params:s})}function f(s){return e.post("/user/user/user_label",s)}export{t as a,i as b,n as c,c as d,p as e,A as f,l as g,f as h,o as i,d as j,u as l,a as u};
|
|
@ -56,8 +56,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script type="module" crossorigin src="./assets/index-DslPK7Nc.js"></script>
|
<script type="module" crossorigin src="./assets/index-DFqeFzc7.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="./assets/index-F8CM97a-.css">
|
<link rel="stylesheet" crossorigin href="./assets/index-DEIUfiC5.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
import{r as n,b as r,c,d as m,w as y,g as f,t as p,K as v}from"./index-QWlmoZOY.js";const w={__name:"authCode",props:{type:{type:String,default:"primary"},start:{type:Boolean,default:!0},time:{type:Number,default:60},text:{type:String,default:"发送验证码"},timeText:{type:String,default:"秒重新获取"},width:{type:String,default:"100px"},disabled:{type:Boolean,default:!1}},emits:["sendCode"],setup(t,{emit:o}){const a=t,s=o,i=()=>{s("sendCode"),a.start&&d()},e=n(0),l=n(null),d=()=>{e.value=a.time,l.value=setInterval(()=>{e.value--,e.value<=0&&(clearInterval(l.value),e.value=0)},1e3)};return(x,b)=>{const u=r("el-button");return c(),m(u,{type:t.type,style:v({width:t.width}),onClick:i,disabled:e.value>0||t.disabled},{default:y(()=>[f(p(e.value>0?`${e.value}${t.timeText}`:t.text),1)]),_:1},8,["type","style","disabled"])}}};export{w as _};
|
|
@ -1 +1 @@
|
||||||
import{K as o,L as s,E as r,u as d,M as g}from"./index-BVz4Ohfy.js";const m=o.create({baseURL:s.api,timeout:6e4});m.interceptors.request.use(t=>{const a=localStorage.getItem("Token");return a&&(t.headers.token=a),t},t=>(console.error(t),Promise.reject(t)));m.interceptors.response.use(t=>{var a;if(t.data.code===-1&&(t.data.msg=="登录过期"||t.data.msg=="登录超时,请重新登录"))throw r({message:t.data.msg,type:"error"}),setTimeout(()=>{const e=d();e.setUserInfo({}),e.setToken(""),g.push("/login")},500),new Error(t.data.msg);if(t.data.code===400)throw r({message:t.data.msg,type:"error"}),new Error(t.data.msg);if(t.data.show&&r({message:t.data.msg,type:"error"}),t.data.code===500)throw t.data.msg=JSON.parse(t.data.msg),r({message:((a=t.data.msg)==null?void 0:a.msg)||t.data.msg,type:"error"}),new Error(t.data.msg);return t.data.code===0?Promise.reject(t.data):t.data},t=>{var a,e;return console.error(t),r({message:((e=(a=t.response)==null?void 0:a.data)==null?void 0:e.msg)||t,type:"error"}),Promise.reject(t)});export{m as r};
|
import{L as o,M as s,E as r,u as d,N as g}from"./index-QWlmoZOY.js";const m=o.create({baseURL:s.api,timeout:6e4});m.interceptors.request.use(t=>{const a=localStorage.getItem("Token");return a&&(t.headers.token=a),t},t=>(console.error(t),Promise.reject(t)));m.interceptors.response.use(t=>{var a;if(t.data.code===-1&&(t.data.msg=="登录过期"||t.data.msg=="登录超时,请重新登录"))throw r({message:t.data.msg,type:"error"}),setTimeout(()=>{const e=d();e.setUserInfo({}),e.setToken(""),g.push("/login")},500),new Error(t.data.msg);if(t.data.code===400)throw r({message:t.data.msg,type:"error"}),new Error(t.data.msg);if(t.data.show&&r({message:t.data.msg,type:"error"}),t.data.code===500)throw t.data.msg=JSON.parse(t.data.msg),r({message:((a=t.data.msg)==null?void 0:a.msg)||t.data.msg,type:"error"}),new Error(t.data.msg);return t.data.code===0?Promise.reject(t.data):t.data},t=>{var a,e;return console.error(t),r({message:((e=(a=t.response)==null?void 0:a.data)==null?void 0:e.msg)||t,type:"error"}),Promise.reject(t)});export{m as r};
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
@charset "UTF-8";.my-order[data-v-74a6e87a]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden}.my-order .header-nav[data-v-74a6e87a]{display:flex;flex-direction:column;justify-content:space-between;padding:1rem;height:3.5rem}.my-order .header-nav span[data-v-74a6e87a]{color:#ff4a00}.my-order .header-nav .nav-item[data-v-74a6e87a]{font-weight:700}.my-order .header-nav .nav-item-btn[data-v-74a6e87a]{display:flex;justify-content:space-between;align-items:center}.my-order .header-input[data-v-74a6e87a]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:.0625rem solid #eee}.my-order .order-lists[data-v-74a6e87a]{height:calc(100vh - 16.45rem);overflow-y:auto}.my-order .order-lists .item[data-v-74a6e87a]{padding:1rem;border-bottom:.0625rem solid #eee}.my-order .order-lists .item .top[data-v-74a6e87a]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-lists .item .top .sn[data-v-74a6e87a]{font-weight:700;font-size:.9rem}.my-order .order-lists .item .top .cahier[data-v-74a6e87a]:before{content:"收银";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #2ec479;color:#2ec479;border-radius:.187rem}.my-order .order-lists .item .top .cahier2[data-v-74a6e87a]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #ff4a00;color:#ff4a00;border-radius:.187rem}.my-order .order-lists .item .top .create-time[data-v-74a6e87a]{font-size:.8rem}.my-order .order-lists .item .shop[data-v-74a6e87a]{display:flex;justify-content:space-between}.my-order .order-lists .item .shop .right[data-v-74a6e87a]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-lists .item .shop .right .money[data-v-74a6e87a]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-lists .item .shop .right .count[data-v-74a6e87a]{font-size:.7rem;color:#999}.my-order .order-lists .item .shop .left[data-v-74a6e87a]{height:4.5rem;display:flex;align-items:center}.my-order .order-lists .item .shop .left .shop-img[data-v-74a6e87a]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-lists .item .shop .left .shop-name[data-v-74a6e87a]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-lists .item .bottom[data-v-74a6e87a]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-lists .item .bottom .manage-btn[data-v-74a6e87a]{color:#fff;background-color:#e6a23c;border-radius:.2rem;padding:0 .2rem;margin-left:.5rem}.my-order .order-lists .item-active[data-v-74a6e87a]{background-color:#efefef}.my-order .load-end[data-v-74a6e87a]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-a7693450]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .detail[data-v-a7693450]{height:100%;box-sizing:border-box;position:relative}.my-order .detail .table[data-v-a7693450]{padding:1rem;overflow-y:auto;height:100%}.my-order .detail .table .table-title[data-v-a7693450]{font-weight:700}.my-order .detail .table .table-info[data-v-a7693450]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:.0625rem solid #eee}.my-order .detail .table .table-info[data-v-a7693450]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-a7693450]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-a7693450]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-a7693450]{position:absolute;bottom:0;left:0;z-index:1;width:100%;height:6rem;box-sizing:border-box;background-color:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 2rem;border-top:.0625rem solid #eee}.my-card{display:flex}::-webkit-scrollbar{width:.315rem}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.315rem}::-webkit-scrollbar-thumb:hover{background-color:#999}
|
@charset "UTF-8";.my-order[data-v-74a6e87a]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden}.my-order .header-nav[data-v-74a6e87a]{display:flex;flex-direction:column;justify-content:space-between;padding:1rem;height:3.5rem}.my-order .header-nav span[data-v-74a6e87a]{color:#ff4a00}.my-order .header-nav .nav-item[data-v-74a6e87a]{font-weight:700}.my-order .header-nav .nav-item-btn[data-v-74a6e87a]{display:flex;justify-content:space-between;align-items:center}.my-order .header-input[data-v-74a6e87a]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:.0625rem solid #eee}.my-order .order-lists[data-v-74a6e87a]{height:calc(100vh - 16.45rem);overflow-y:auto}.my-order .order-lists .item[data-v-74a6e87a]{padding:1rem;border-bottom:.0625rem solid #eee}.my-order .order-lists .item .top[data-v-74a6e87a]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-lists .item .top .sn[data-v-74a6e87a]{font-weight:700;font-size:.9rem}.my-order .order-lists .item .top .cahier[data-v-74a6e87a]:before{content:"收银";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #2ec479;color:#2ec479;border-radius:.187rem}.my-order .order-lists .item .top .cahier2[data-v-74a6e87a]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #ff4a00;color:#ff4a00;border-radius:.187rem}.my-order .order-lists .item .top .create-time[data-v-74a6e87a]{font-size:.8rem}.my-order .order-lists .item .shop[data-v-74a6e87a]{display:flex;justify-content:space-between}.my-order .order-lists .item .shop .right[data-v-74a6e87a]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-lists .item .shop .right .money[data-v-74a6e87a]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-lists .item .shop .right .count[data-v-74a6e87a]{font-size:.7rem;color:#999}.my-order .order-lists .item .shop .left[data-v-74a6e87a]{height:4.5rem;display:flex;align-items:center}.my-order .order-lists .item .shop .left .shop-img[data-v-74a6e87a]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-lists .item .shop .left .shop-name[data-v-74a6e87a]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-lists .item .bottom[data-v-74a6e87a]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-lists .item .bottom .manage-btn[data-v-74a6e87a]{color:#fff;background-color:#e6a23c;border-radius:.2rem;padding:0 .2rem;margin-left:.5rem}.my-order .order-lists .item-active[data-v-74a6e87a]{background-color:#efefef}.my-order .load-end[data-v-74a6e87a]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-b5c92dd9]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .detail[data-v-b5c92dd9]{height:100%;box-sizing:border-box;position:relative}.my-order .detail .table[data-v-b5c92dd9]{padding:1rem;overflow-y:auto;height:100%}.my-order .detail .table .table-title[data-v-b5c92dd9]{font-weight:700}.my-order .detail .table .table-info[data-v-b5c92dd9]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:.0625rem solid #eee}.my-order .detail .table .table-info[data-v-b5c92dd9]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-b5c92dd9]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-b5c92dd9]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-b5c92dd9]{position:absolute;bottom:0;left:0;z-index:1;width:100%;height:6rem;box-sizing:border-box;background-color:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 2rem;border-top:.0625rem solid #eee}.my-card{display:flex}::-webkit-scrollbar{width:.315rem}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.315rem}::-webkit-scrollbar-thumb:hover{background-color:#999}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
@charset "UTF-8";.my-order[data-v-42ec4cb4]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden}.my-order .header-nav[data-v-42ec4cb4]{display:flex;flex-direction:column;justify-content:space-between;padding:1rem;height:3.5rem}.my-order .header-nav span[data-v-42ec4cb4]{color:#ff4a00}.my-order .header-nav .nav-item[data-v-42ec4cb4]{font-weight:700}.my-order .header-nav .nav-item-btn[data-v-42ec4cb4]{display:flex;justify-content:space-between;align-items:center}.my-order .header-input[data-v-42ec4cb4]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:.0625rem solid #eee}.my-order .order-lists[data-v-42ec4cb4]{height:calc(100vh - 16.45rem);overflow-y:auto}.my-order .order-lists .item[data-v-42ec4cb4]{padding:1rem;border-bottom:.0625rem solid #eee}.my-order .order-lists .item .top[data-v-42ec4cb4]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-lists .item .top .sn[data-v-42ec4cb4]{font-weight:700;font-size:.9rem}.my-order .order-lists .item .top .cahier[data-v-42ec4cb4]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #2ec479;color:#2ec479;border-radius:.187rem}.my-order .order-lists .item .top .cahier2[data-v-42ec4cb4]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #ff4a00;color:#ff4a00;border-radius:.187rem}.my-order .order-lists .item .top .create-time[data-v-42ec4cb4]{font-size:.8rem}.my-order .order-lists .item .shop[data-v-42ec4cb4]{display:flex;justify-content:space-between}.my-order .order-lists .item .shop .right[data-v-42ec4cb4]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-lists .item .shop .right .money[data-v-42ec4cb4]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-lists .item .shop .right .count[data-v-42ec4cb4]{font-size:.7rem;color:#999}.my-order .order-lists .item .shop .left[data-v-42ec4cb4]{height:4.5rem;display:flex;align-items:center}.my-order .order-lists .item .shop .left .shop-img[data-v-42ec4cb4]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-lists .item .shop .left .shop-name[data-v-42ec4cb4]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-lists .item .bottom[data-v-42ec4cb4]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-lists .item .bottom .manage-btn[data-v-42ec4cb4]{color:#fff;background-color:#e6a23c;border-radius:.2rem;padding:0 .2rem;margin-left:.5rem}.my-order .order-lists .item-active[data-v-42ec4cb4]{background-color:#efefef}.my-order .load-end[data-v-42ec4cb4]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-18a74f9a]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .detail[data-v-18a74f9a]{height:100%;box-sizing:border-box;position:relative}.my-order .detail .table[data-v-18a74f9a]{padding:1rem;box-sizing:border-box;overflow-y:auto;height:100%}.my-order .detail .table .table-title[data-v-18a74f9a]{font-weight:700}.my-order .detail .table .table-info[data-v-18a74f9a]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:.0625rem solid #eee}.my-order .detail .table .table-info[data-v-18a74f9a]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-18a74f9a]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-18a74f9a]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-18a74f9a]{position:absolute;bottom:0;left:0;z-index:1;width:100%;height:6rem;box-sizing:border-box;background-color:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 2rem;border-top:.0625rem solid #eee}.my-card{display:flex}::-webkit-scrollbar{width:.315rem}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.315rem}::-webkit-scrollbar-thumb:hover{background-color:#999}
|
|
|
@ -1 +1 @@
|
||||||
@charset "UTF-8";.my-order[data-v-90e829d8]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden;display:flex;flex-direction:column}.my-order .header-nav[data-v-90e829d8]{display:flex;justify-content:space-between;padding:1rem;height:1.5rem}.my-order .header-nav .nav-item[data-v-90e829d8]{font-weight:700}.my-order .header-nav span[data-v-90e829d8]{color:#ff4a00}.my-order .header-nav .nav-item-clear[data-v-90e829d8]{display:flex;align-items:center;font-size:.8rem;cursor:pointer}.my-order .header-input[data-v-90e829d8]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:.0625rem solid #eee}.my-order .order-lists[data-v-90e829d8]{flex:1;overflow-y:auto}.my-order .order-lists .item[data-v-90e829d8]{padding:1rem;border-bottom:.0625rem solid #eee}.my-order .order-lists .item .top[data-v-90e829d8]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-lists .item .top .sn[data-v-90e829d8]{font-weight:700;font-size:.9rem}.my-order .order-lists .item .top .cahier[data-v-90e829d8]:before{content:"收银";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #2ec479;color:#2ec479;border-radius:.187rem}.my-order .order-lists .item .top .cahier2[data-v-90e829d8]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #ff4a00;color:#ff4a00;border-radius:.187rem}.my-order .order-lists .item .top .create-time[data-v-90e829d8]{font-size:.8rem}.my-order .order-lists .item .shop[data-v-90e829d8]{display:flex;justify-content:space-between}.my-order .order-lists .item .shop .right[data-v-90e829d8]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-lists .item .shop .right .money[data-v-90e829d8]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-lists .item .shop .right .count[data-v-90e829d8]{font-size:.7rem;color:#999}.my-order .order-lists .item .shop .left[data-v-90e829d8]{height:4.5rem;display:flex;align-items:center}.my-order .order-lists .item .shop .left .shop-img[data-v-90e829d8]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-lists .item .shop .left .shop-name[data-v-90e829d8]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-lists .item .bottom[data-v-90e829d8]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-lists .item .bottom .manage-btn[data-v-90e829d8]{color:#fff;background-color:#e6a23c;border-radius:.2rem;padding:0 .2rem;margin-left:.5rem}.my-order .order-lists .item-active[data-v-90e829d8]{background-color:#efefef}.my-order .load-end[data-v-90e829d8]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-f5ee51ef]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .detail[data-v-f5ee51ef]{height:100%;box-sizing:border-box;position:relative}.my-order .detail .table[data-v-f5ee51ef]{padding:1rem;overflow-y:auto;height:100%}.my-order .detail .table .table-title[data-v-f5ee51ef]{font-weight:700}.my-order .detail .table .table-info[data-v-f5ee51ef]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:.0625rem solid #eee}.my-order .detail .table .table-info[data-v-f5ee51ef]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-f5ee51ef]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-f5ee51ef]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-f5ee51ef]{position:absolute;bottom:0;left:0;z-index:1;width:100%;height:6rem;box-sizing:border-box;background-color:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 2rem;border-top:.0625rem solid #eee}.my-card{display:flex}.my-card .my-code{height:70%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.my-card .my-code .box{width:38rem;position:relative}.my-card .my-code .box .input{width:100%;height:3rem;box-sizing:border-box;border-radius:4rem;border:.0625rem solid #1890ff;padding:0 1rem;font-size:1.1rem}.my-card .my-code .box .input:focus{outline:none;box-shadow:0 0 .31rem #1890ff;transition:all .2s ease-in-out}.my-card .my-code .box .btn{position:absolute;right:0;top:0;width:5rem;height:100%;border-radius:0 4rem 4rem 0;background:#1890ff;color:#fff;display:flex;justify-content:center;align-items:center;cursor:pointer}.my-card .my-code .to-list{width:auto;color:#1890ff;font-size:1.1rem;margin-top:3rem;text-align:center;display:flex;align-items:center;cursor:pointer}::-webkit-scrollbar{width:.31rem}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.31rem}::-webkit-scrollbar-thumb:hover{background-color:#999}
|
@charset "UTF-8";.my-order[data-v-8d729586]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden;display:flex;flex-direction:column}.my-order .header-nav[data-v-8d729586]{display:flex;justify-content:space-between;padding:1rem;height:1.5rem}.my-order .header-nav .nav-item[data-v-8d729586]{font-weight:700}.my-order .header-nav span[data-v-8d729586]{color:#ff4a00}.my-order .header-nav .nav-item-clear[data-v-8d729586]{display:flex;align-items:center;font-size:.8rem;cursor:pointer}.my-order .header-input[data-v-8d729586]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:.0625rem solid #eee}.my-order .order-lists[data-v-8d729586]{flex:1;overflow-y:auto}.my-order .order-lists .item[data-v-8d729586]{padding:1rem;border-bottom:.0625rem solid #eee}.my-order .order-lists .item .top[data-v-8d729586]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-lists .item .top .sn[data-v-8d729586]{font-weight:700;font-size:.9rem}.my-order .order-lists .item .top .cahier[data-v-8d729586]:before{content:"收银";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #2ec479;color:#2ec479;border-radius:.187rem}.my-order .order-lists .item .top .cahier2[data-v-8d729586]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #ff4a00;color:#ff4a00;border-radius:.187rem}.my-order .order-lists .item .top .create-time[data-v-8d729586]{font-size:.8rem}.my-order .order-lists .item .shop[data-v-8d729586]{display:flex;justify-content:space-between}.my-order .order-lists .item .shop .right[data-v-8d729586]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-lists .item .shop .right .money[data-v-8d729586]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-lists .item .shop .right .count[data-v-8d729586]{font-size:.7rem;color:#999}.my-order .order-lists .item .shop .left[data-v-8d729586]{height:4.5rem;display:flex;align-items:center}.my-order .order-lists .item .shop .left .shop-img[data-v-8d729586]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-lists .item .shop .left .shop-name[data-v-8d729586]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-lists .item .bottom[data-v-8d729586]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-lists .item .bottom .manage-btn[data-v-8d729586]{color:#fff;background-color:#e6a23c;border-radius:.2rem;padding:0 .2rem;margin-left:.5rem}.my-order .order-lists .item-active[data-v-8d729586]{background-color:#efefef}.my-order .load-end[data-v-8d729586]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-1950b4ed]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .detail[data-v-1950b4ed]{height:100%;box-sizing:border-box;position:relative}.my-order .detail .table[data-v-1950b4ed]{padding:1rem;overflow-y:auto;height:100%}.my-order .detail .table .table-title[data-v-1950b4ed]{font-weight:700}.my-order .detail .table .table-info[data-v-1950b4ed]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:.0625rem solid #eee}.my-order .detail .table .table-info[data-v-1950b4ed]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-1950b4ed]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-1950b4ed]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-1950b4ed]{position:absolute;bottom:0;left:0;z-index:1;width:100%;height:6rem;box-sizing:border-box;background-color:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 2rem;border-top:.0625rem solid #eee}.my-card{display:flex}.my-card .my-code{height:70%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.my-card .my-code .box{width:38rem;position:relative}.my-card .my-code .box .input{width:100%;height:3rem;box-sizing:border-box;border-radius:4rem;border:.0625rem solid #1890ff;padding:0 1rem;font-size:1.1rem}.my-card .my-code .box .input:focus{outline:none;box-shadow:0 0 .31rem #1890ff;transition:all .2s ease-in-out}.my-card .my-code .box .btn{position:absolute;right:0;top:0;width:5rem;height:100%;border-radius:0 4rem 4rem 0;background:#1890ff;color:#fff;display:flex;justify-content:center;align-items:center;cursor:pointer}.my-card .my-code .to-list{width:auto;color:#1890ff;font-size:1.1rem;margin-top:3rem;text-align:center;display:flex;align-items:center;cursor:pointer}::-webkit-scrollbar{width:.31rem}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.31rem}::-webkit-scrollbar-thumb:hover{background-color:#999}
|
|
@ -1 +1 @@
|
||||||
import{a as B,b as L}from"./shop-DqnXs3CE.js";import{r as f,b as s,h as v,c as i,k as b,f as e,w as a,j as N,g as r,d,p as y,E as A}from"./index-BVz4Ohfy.js";import"./axiosAPI-Cd-ap3gb.js";const D={class:"my-card put-storage"},I={class:"order-lists","infinite-scroll-distance":300,"infinite-scroll-delay":500,"infinite-scroll-immediate":!1,style:{overflow:"auto"}},U={__name:"index",setup(S){const u=f([]),t=f({page_no:1,page_size:20,loadend:!1,type:1}),_=f(!1),c=()=>{t.value.loadend||(_.value=!0,B({page_no:t.value.page_no,page_size:t.value.page_size,type:t.value.type}).then(n=>{u.value=[...u.value,...n.data.lists],n.data.lists.length<t.value.page_size&&(t.value.loadend=!0),t.value.page_no++,_.value=!1}))};c();const h=()=>{t.value.page_no=1,t.value.loadend=!1,u.value=[],c()},k=async n=>{L({id:n.id}).then(p=>{n.status=1,A.success("入库成功")})};return(n,p)=>{const g=s("el-radio-button"),x=s("el-radio-group"),o=s("el-table-column"),C=s("el-image"),m=s("el-tag"),V=s("el-button"),E=s("el-table"),w=v("loading"),z=v("infinite-scroll");return i(),b("div",D,[e(x,{style:{"margin-bottom":"20px"},modelValue:t.value.type,"onUpdate:modelValue":p[0]||(p[0]=l=>t.value.type=l),onChange:h},{default:a(()=>[e(g,{label:1,value:1},{default:a(()=>[r("售卖库存")]),_:1}),e(g,{label:2,value:2},{default:a(()=>[r("兑换库存")]),_:1})]),_:1},8,["modelValue"]),N((i(),b("div",I,[e(E,{data:u.value},{default:a(()=>[e(o,{label:"导入人员",prop:"admin_name"}),e(o,{label:"门店确认人员",prop:"staff_name"}),e(o,{label:"商品图",prop:"image"},{default:a(({row:l})=>[e(C,{class:"image",src:l.image},null,8,["src"])]),_:1}),e(o,{label:"商品",prop:"store_name"}),e(o,{label:"数量",prop:"nums"}),e(o,{label:"状态",prop:"status"},{default:a(({row:l})=>[l.status===1?(i(),d(m,{key:0,type:"success"},{default:a(()=>[r("已入库")]),_:1})):l.status===0?(i(),d(m,{key:1,type:"warning"},{default:a(()=>[r("待确认")]),_:1})):l.status===-1?(i(),d(m,{key:2,type:"danger"},{default:a(()=>[r("库存不足")]),_:1})):y("",!0)]),_:1}),e(o,{label:"备注",prop:"mark"}),e(o,{label:"操作",width:"120",fixed:"right"},{default:a(({row:l})=>[l.status==0?(i(),d(V,{key:0,type:"success",onClick:j=>k(l)},{default:a(()=>[r(" 确认入库 ")]),_:2},1032,["onClick"])):y("",!0)]),_:1})]),_:1},8,["data"])])),[[w,_.value],[z,c]])])}}};export{U as default};
|
import{a as B,b as L}from"./shop-C9NEbBkK.js";import{r as f,b as s,h as v,c as i,k as b,f as e,w as a,j as N,g as r,d,p as y,E as A}from"./index-QWlmoZOY.js";import"./axiosAPI-CcLrXseV.js";const D={class:"my-card put-storage"},I={class:"order-lists","infinite-scroll-distance":300,"infinite-scroll-delay":500,"infinite-scroll-immediate":!1,style:{overflow:"auto"}},U={__name:"index",setup(S){const u=f([]),t=f({page_no:1,page_size:20,loadend:!1,type:1}),_=f(!1),c=()=>{t.value.loadend||(_.value=!0,B({page_no:t.value.page_no,page_size:t.value.page_size,type:t.value.type}).then(n=>{u.value=[...u.value,...n.data.lists],n.data.lists.length<t.value.page_size&&(t.value.loadend=!0),t.value.page_no++,_.value=!1}))};c();const h=()=>{t.value.page_no=1,t.value.loadend=!1,u.value=[],c()},k=async n=>{L({id:n.id}).then(p=>{n.status=1,A.success("入库成功")})};return(n,p)=>{const g=s("el-radio-button"),x=s("el-radio-group"),o=s("el-table-column"),C=s("el-image"),m=s("el-tag"),V=s("el-button"),E=s("el-table"),w=v("loading"),z=v("infinite-scroll");return i(),b("div",D,[e(x,{style:{"margin-bottom":"20px"},modelValue:t.value.type,"onUpdate:modelValue":p[0]||(p[0]=l=>t.value.type=l),onChange:h},{default:a(()=>[e(g,{label:1,value:1},{default:a(()=>[r("售卖库存")]),_:1}),e(g,{label:2,value:2},{default:a(()=>[r("兑换库存")]),_:1})]),_:1},8,["modelValue"]),N((i(),b("div",I,[e(E,{data:u.value},{default:a(()=>[e(o,{label:"导入人员",prop:"admin_name"}),e(o,{label:"门店确认人员",prop:"staff_name"}),e(o,{label:"商品图",prop:"image"},{default:a(({row:l})=>[e(C,{class:"image",src:l.image},null,8,["src"])]),_:1}),e(o,{label:"商品",prop:"store_name"}),e(o,{label:"数量",prop:"nums"}),e(o,{label:"状态",prop:"status"},{default:a(({row:l})=>[l.status===1?(i(),d(m,{key:0,type:"success"},{default:a(()=>[r("已入库")]),_:1})):l.status===0?(i(),d(m,{key:1,type:"warning"},{default:a(()=>[r("待确认")]),_:1})):l.status===-1?(i(),d(m,{key:2,type:"danger"},{default:a(()=>[r("库存不足")]),_:1})):y("",!0)]),_:1}),e(o,{label:"备注",prop:"mark"}),e(o,{label:"操作",width:"120",fixed:"right"},{default:a(({row:l})=>[l.status==0?(i(),d(V,{key:0,type:"success",onClick:j=>k(l)},{default:a(()=>[r(" 确认入库 ")]),_:2},1032,["onClick"])):y("",!0)]),_:1})]),_:1},8,["data"])])),[[w,_.value],[z,c]])])}}};export{U as default};
|
|
@ -0,0 +1 @@
|
||||||
|
@charset "UTF-8";.my-order[data-v-44aa5565]{border-radius:1.2rem;height:100%;background-color:#fff;width:30rem;position:relative;overflow:hidden}.my-order .header-nav[data-v-44aa5565]{display:flex;flex-direction:column;justify-content:space-between;padding:1rem;height:3.5rem}.my-order .header-nav span[data-v-44aa5565]{color:#ff4a00}.my-order .header-nav .nav-item[data-v-44aa5565]{font-weight:700}.my-order .header-nav .nav-item-btn[data-v-44aa5565]{display:flex;justify-content:space-between;align-items:center}.my-order .header-input[data-v-44aa5565]{padding:1rem;padding-top:0;height:2.5rem;border-bottom:.0625rem solid #eee}.my-order .order-lists[data-v-44aa5565]{height:calc(100vh - 16.45rem);overflow-y:auto}.my-order .order-lists .item[data-v-44aa5565]{padding:1rem;border-bottom:.0625rem solid #eee}.my-order .order-lists .item .top[data-v-44aa5565]{display:flex;justify-content:space-between;align-items:flex-end}.my-order .order-lists .item .top .sn[data-v-44aa5565]{font-weight:700;font-size:.9rem}.my-order .order-lists .item .top .cahier[data-v-44aa5565]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #2ec479;color:#2ec479;border-radius:.187rem}.my-order .order-lists .item .top .cahier2[data-v-44aa5565]:before{content:"平台";font-weight:400;font-size:.7rem;padding:.1rem;margin-right:.2rem;border:.0625rem solid #ff4a00;color:#ff4a00;border-radius:.187rem}.my-order .order-lists .item .top .create-time[data-v-44aa5565]{font-size:.8rem}.my-order .order-lists .item .shop[data-v-44aa5565]{display:flex;justify-content:space-between}.my-order .order-lists .item .shop .right[data-v-44aa5565]{flex-shrink:0;display:flex;flex-direction:column;justify-content:center}.my-order .order-lists .item .shop .right .money[data-v-44aa5565]{font-size:1rem;color:#ff4a00;font-weight:700}.my-order .order-lists .item .shop .right .count[data-v-44aa5565]{font-size:.7rem;color:#999}.my-order .order-lists .item .shop .left[data-v-44aa5565]{height:4.5rem;display:flex;align-items:center}.my-order .order-lists .item .shop .left .shop-img[data-v-44aa5565]{width:3.5rem;height:3.5rem;border-radius:.3rem;margin-right:.4rem}.my-order .order-lists .item .shop .left .shop-name[data-v-44aa5565]{font-size:.9rem;color:#333;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:3}.my-order .order-lists .item .bottom[data-v-44aa5565]{display:flex;justify-content:space-between;font-size:.9rem;color:#777}.my-order .order-lists .item .bottom .manage-btn[data-v-44aa5565]{color:#fff;background-color:#e6a23c;border-radius:.2rem;padding:0 .2rem;margin-left:.5rem}.my-order .order-lists .item-active[data-v-44aa5565]{background-color:#efefef}.my-order .load-end[data-v-44aa5565]{text-align:center;padding:1rem;color:#333;font-size:.8rem}.my-order[data-v-0f1c9a1a]{border-radius:1.2rem;height:100%;flex:1;background-color:#fff;position:relative;overflow:hidden}.my-order .detail[data-v-0f1c9a1a]{height:100%;box-sizing:border-box;position:relative}.my-order .detail .table[data-v-0f1c9a1a]{padding:1rem;box-sizing:border-box;overflow-y:auto;height:100%}.my-order .detail .table .table-title[data-v-0f1c9a1a]{font-weight:700}.my-order .detail .table .table-info[data-v-0f1c9a1a]{display:flex;flex-wrap:wrap;color:#777;font-size:.9rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:.0625rem solid #eee}.my-order .detail .table .table-info[data-v-0f1c9a1a]:last-child{border-bottom:none}.my-order .detail .table .table-info .info-item[data-v-0f1c9a1a]{width:33%;display:flex;padding-top:1rem}.my-order .detail .table .table-info .info-item .info-item-title[data-v-0f1c9a1a]{flex-shrink:0;padding-right:1rem}.my-order .detail .footer[data-v-0f1c9a1a]{position:absolute;bottom:0;left:0;z-index:1;width:100%;height:6rem;box-sizing:border-box;background-color:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 2rem;border-top:.0625rem solid #eee}.my-card{display:flex}::-webkit-scrollbar{width:.315rem}::-webkit-scrollbar-track{background-color:#f1f1f1}::-webkit-scrollbar-thumb{background-color:#ccc;border-radius:.315rem}::-webkit-scrollbar-thumb:hover{background-color:#999}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{_ as U,u as I,r as u,o as R,b as n,c as S,k as b,e as v,f as e,w as t,i as m,g as C,q as L,s as B,C as E,E as w}from"./index-BVz4Ohfy.js";import{l as K}from"./user-CmzBi8Mn.js";const N=l=>(L("data-v-f9ff2ce9"),l=l(),B(),l),M={class:"body"},T={class:"login"},q=N(()=>v("div",{class:"title"},"里海收银系统 - 登录",-1)),$={__name:"index",setup(l){const d=I(),y=E(),k=u(null),p=u(null),s=u({account:"",password:"",terminal:1}),_=()=>{if(!s.value.account)return w({message:"请填写账号",type:"error"});if(!s.value.password)return w({message:"请填写密码",type:"error"});K(s.value).then(a=>{var o;(o=a.data)!=null&&o.token&&(d.setToken(a.data.token),d.setUserInfo(a.data),y.push("/"))}).catch(a=>{})};return R(()=>{}),(a,o)=>{const h=n("User"),f=n("el-icon"),i=n("el-input"),c=n("el-form-item"),x=n("Lock"),V=n("el-button"),g=n("el-form");return S(),b("div",M,[v("div",T,[q,e(g,null,{default:t(()=>[e(c,null,{default:t(()=>[e(i,{ref_key:"accRef",ref:k,modelValue:s.value.account,"onUpdate:modelValue":o[0]||(o[0]=r=>s.value.account=r),placeholder:"请输入账号",onKeydown:o[1]||(o[1]=m(r=>p.value.focus(),["enter"]))},{prefix:t(()=>[e(f,null,{default:t(()=>[e(h)]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:t(()=>[e(i,{ref_key:"pwdRef",ref:p,modelValue:s.value.password,"onUpdate:modelValue":o[2]||(o[2]=r=>s.value.password=r),type:"password",placeholder:"请输入密码","show-password":"",onKeydown:m(_,["enter"])},{prefix:t(()=>[e(f,null,{default:t(()=>[e(x)]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:t(()=>[e(V,{style:{width:"100%"},type:"primary",onClick:_},{default:t(()=>[C("登录")]),_:1})]),_:1})]),_:1})])])}}},A=U($,[["__scopeId","data-v-f9ff2ce9"]]);export{A as default};
|
import{_ as U,u as I,r as u,o as R,b as n,c as S,k as b,e as v,f as e,w as t,i as m,g as L,q as B,s as C,D as E,E as w}from"./index-QWlmoZOY.js";import{l as K}from"./user-67Kj74w6.js";const N=l=>(B("data-v-f9ff2ce9"),l=l(),C(),l),M={class:"body"},T={class:"login"},q=N(()=>v("div",{class:"title"},"里海收银系统 - 登录",-1)),D={__name:"index",setup(l){const d=I(),y=E(),k=u(null),p=u(null),s=u({account:"",password:"",terminal:1}),_=()=>{if(!s.value.account)return w({message:"请填写账号",type:"error"});if(!s.value.password)return w({message:"请填写密码",type:"error"});K(s.value).then(a=>{var o;(o=a.data)!=null&&o.token&&(d.setToken(a.data.token),d.setUserInfo(a.data),y.push("/"))}).catch(a=>{})};return R(()=>{}),(a,o)=>{const h=n("User"),f=n("el-icon"),i=n("el-input"),c=n("el-form-item"),x=n("Lock"),V=n("el-button"),g=n("el-form");return S(),b("div",M,[v("div",T,[q,e(g,null,{default:t(()=>[e(c,null,{default:t(()=>[e(i,{ref_key:"accRef",ref:k,modelValue:s.value.account,"onUpdate:modelValue":o[0]||(o[0]=r=>s.value.account=r),placeholder:"请输入账号",onKeydown:o[1]||(o[1]=m(r=>p.value.focus(),["enter"]))},{prefix:t(()=>[e(f,null,{default:t(()=>[e(h)]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:t(()=>[e(i,{ref_key:"pwdRef",ref:p,modelValue:s.value.password,"onUpdate:modelValue":o[2]||(o[2]=r=>s.value.password=r),type:"password",placeholder:"请输入密码","show-password":"",onKeydown:m(_,["enter"])},{prefix:t(()=>[e(f,null,{default:t(()=>[e(x)]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:t(()=>[e(V,{style:{width:"100%"},type:"primary",onClick:_},{default:t(()=>[L("登录")]),_:1})]),_:1})]),_:1})])])}}},z=U(D,[["__scopeId","data-v-f9ff2ce9"]]);export{z as default};
|
|
@ -1 +1 @@
|
||||||
import{b as t,c,k as a,e,f as o,w as d,g as l}from"./index-BVz4Ohfy.js";const r={style:{width:"100vw",height:"100vh"}},_={style:{display:"flex","justify-content":"center","padding-top":"20vh"}},m={style:{display:"flex","flex-direction":"column","justify-content":"center","padding-left":"3rem"}},p=e("div",{style:{"font-size":"5rem","font-weight":"bold"}},"404",-1),h=e("div",{style:{"padding-bottom":"1rem"}},"您的页面没有找到",-1),v={__name:"index",setup(f){const s=()=>{window.location="/"};return(y,g)=>{const n=t("el-image"),i=t("el-button");return c(),a("div",r,[e("div",_,[o(n,{loading:"lazy",style:{width:"30rem",height:"20rem"},src:"/src/assets/icon-404-color.svg"}),e("div",m,[p,h,o(i,{type:"primary",onClick:s},{default:d(()=>[l("返回首页")]),_:1})])])])}}};export{v as default};
|
import{b as t,c,k as a,e,f as o,w as d,g as l}from"./index-QWlmoZOY.js";const r={style:{width:"100vw",height:"100vh"}},_={style:{display:"flex","justify-content":"center","padding-top":"20vh"}},m={style:{display:"flex","flex-direction":"column","justify-content":"center","padding-left":"3rem"}},p=e("div",{style:{"font-size":"5rem","font-weight":"bold"}},"404",-1),h=e("div",{style:{"padding-bottom":"1rem"}},"您的页面没有找到",-1),v={__name:"index",setup(f){const s=()=>{window.location="/"};return(y,g)=>{const n=t("el-image"),i=t("el-button");return c(),a("div",r,[e("div",_,[o(n,{loading:"lazy",style:{width:"30rem",height:"20rem"},src:"/src/assets/icon-404-color.svg"}),e("div",m,[p,h,o(i,{type:"primary",onClick:s},{default:d(()=>[l("返回首页")]),_:1})])])])}}};export{v as default};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{f as i}from"./merchant-CYIKGKiv.js";import{_ as d,r as a,b as l,h as p,j as m,c as u,k as h,e as f,f as e,w as v}from"./index-BVz4Ohfy.js";const b={"element-loading-text":"加载中",class:"my-order"},g={class:"table"},x={__name:"indexCount",setup(w){const o=a([]),n=a({page_no:1,page_size:15}),r=a(!1);return(()=>{i(n.value).then(s=>{o.value=s.data.lists})})(),(s,k)=>{const t=l("el-table-column"),c=l("el-table"),_=p("loading");return m((u(),h("div",b,[f("div",g,[e(c,{data:o.value,style:{width:"100%"}},{default:v(()=>[e(t,{prop:"record_date",label:"时间",width:"260"}),e(t,{prop:"cashier_cash_total_amount",label:"现金收银金额(元)"}),e(t,{prop:"cashier_total_amount",label:"线上收银金额(元)"}),e(t,{prop:"platofrm_total_amount",label:"平台订单金额(元)"}),e(t,{prop:"total_amount",label:"总金额(元)"})]),_:1},8,["data"])])])),[[_,r.value]])}}},y=d(x,[["__scopeId","data-v-d25755c6"]]);export{y as default};
|
import{f as i}from"./merchant-BPay2tTH.js";import{_ as d,r as a,b as l,h as p,j as m,c as u,k as h,e as f,f as e,w as v}from"./index-QWlmoZOY.js";const b={"element-loading-text":"加载中",class:"my-order"},g={class:"table"},x={__name:"indexCount",setup(w){const o=a([]),n=a({page_no:1,page_size:15}),r=a(!1);return(()=>{i(n.value).then(s=>{o.value=s.data.lists})})(),(s,k)=>{const t=l("el-table-column"),c=l("el-table"),_=p("loading");return m((u(),h("div",b,[f("div",g,[e(c,{data:o.value,style:{width:"100%"}},{default:v(()=>[e(t,{prop:"record_date",label:"时间",width:"260"}),e(t,{prop:"cashier_cash_total_amount",label:"现金收银金额(元)"}),e(t,{prop:"cashier_total_amount",label:"线上收银金额(元)"}),e(t,{prop:"platofrm_total_amount",label:"平台订单金额(元)"}),e(t,{prop:"total_amount",label:"总金额(元)"})]),_:1},8,["data"])])])),[[_,r.value]])}}},y=d(x,[["__scopeId","data-v-d25755c6"]]);export{y as default};
|
|
@ -1 +1 @@
|
||||||
import{G as a}from"./index-BVz4Ohfy.js";function i(){return a.get("/merchant/Merchant/amount_account")}function r(n){return a.get("/merchant/Merchant/taking_lists",{params:n})}function c(){return a.get("/merchant/Merchant/taking_info")}function e(n){return a.post("/merchant/Merchant/withdraw",n)}function o(n){return a.get("/financial/FinancialRecord/lists",{params:n})}function s(n){return a.get("/financial/FinancialRecord/api_lists",{params:n})}export{i as a,c as b,e as c,r as d,s as e,o as f};
|
import{H as a}from"./index-QWlmoZOY.js";function i(){return a.get("/merchant/Merchant/amount_account")}function r(n){return a.get("/merchant/Merchant/taking_lists",{params:n})}function c(){return a.get("/merchant/Merchant/taking_info")}function e(n){return a.post("/merchant/Merchant/withdraw",n)}function o(n){return a.get("/financial/FinancialRecord/lists",{params:n})}function s(n){return a.get("/financial/FinancialRecord/api_lists",{params:n})}export{i as a,c as b,e as c,r as d,s as e,o as f};
|
|
@ -1 +1 @@
|
||||||
import{_ as e,c as t,k as c}from"./index-BVz4Ohfy.js";const n={},o={style:{width:"1rem",height:"100%"}};function r(s,_){return t(),c("div",o)}const i=e(n,[["render",r]]);export{i as p};
|
import{_ as e,c as t,k as c}from"./index-QWlmoZOY.js";const n={},o={style:{width:"1rem",height:"100%"}};function r(s,_){return t(),c("div",o)}const i=e(n,[["render",r]]);export{i as p};
|
|
@ -1 +0,0 @@
|
||||||
.dra-body[data-v-3ea085c1]{width:100%;display:flex;flex-direction:column;align-items:center;text-align:center}.dra-body .header[data-v-3ea085c1]{width:30rem;display:flex}.dra-body .header>div[data-v-3ea085c1]{flex:1;border:.0625rem solid #ccc;text-align:center;padding:.6rem 0;cursor:pointer}.dra-body .header .left[data-v-3ea085c1]{border-right:none;border-radius:5rem 0 0 5rem}.dra-body .header .right[data-v-3ea085c1]{border-left:none;border-radius:0 5rem 5rem 0}.dra-body .header .active[data-v-3ea085c1]{background-color:#1890ff;color:#fff;transition:.3s;border-color:#1890ff}.dra-body .card1 .code-input[data-v-3ea085c1]{width:100%;height:3rem;font-size:1.2rem}.dra-body .card1 .tips[data-v-3ea085c1]{width:38rem;height:16rem;background:url(./pay-De0xbdxm.png);background-size:100% 100%;background-repeat:no-repeat}.dra-body .card3 .codes[data-v-3ea085c1]{width:38rem;display:flex;align-items:center}.dra-body .card3 .codes .code-input[data-v-3ea085c1]{flex:1;height:3rem;font-size:1.2rem}.dra-body .card3 .codes .get-code-btn[data-v-3ea085c1]{height:3rem;margin-left:1rem}.dra-body .card3 .code-pay[data-v-3ea085c1]{margin-top:4rem;width:100%;height:3rem;border-radius:3rem}.cancel-btn[data-v-3ea085c1]{width:60%;border-color:#1890ff;color:#1890ff;border-radius:5rem;height:3rem;font-size:1.2rem}.drawer-body[data-v-3ea085c1]{width:100%;overflow-x:hidden}.counter[data-v-3ea085c1]{padding:1.25rem;border-radius:1.25rem;background-color:#f3f9ff}.counter .received[data-v-3ea085c1]{height:3rem;padding:0 1.25rem;border:.0625rem solid #1890ff;box-shadow:0 0 .18rem #1890ff;border-radius:.5rem;background-color:#fff;font-size:1.62rem;line-height:3rem;color:#333}.counter .balance[data-v-3ea085c1]{width:100%;box-sizing:border-box;padding:1.12rem 0 1.12rem .625rem;text-align:start;font-size:.95rem;color:#303133;display:flex;justify-content:space-between}.counter .balance .money[data-v-3ea085c1]{color:#ff4a00}.counter .balance .tips[data-v-3ea085c1]{font-size:.8rem;color:#999}.counter .keypad[data-v-3ea085c1]{display:grid;grid-template-columns:auto auto auto auto;grid-gap:.625rem}.counter .keypad .left[data-v-3ea085c1]{grid-column-end:span 3;display:grid;grid-template-columns:auto auto auto;grid-gap:.625rem}.counter .keypad .right[data-v-3ea085c1]{display:grid;grid-template-columns:auto;grid-gap:.625rem}.counter .keypad .el-button[data-v-3ea085c1]{height:3.875rem;width:8.125rem;margin:0!important;border:0;border-radius:.5rem;font-weight:500;font-size:1.75rem!important;line-height:3.87rem;color:#1890ff}.counter .keypad .el-button[data-v-3ea085c1]:focus{box-shadow:none}.counter .keypad .enter[data-v-3ea085c1]{grid-row-end:span 4;height:8.37rem;line-height:8.37rem;background-color:#1890ff;font-weight:500;font-size:1.35rem!important;color:#fff;position:relative}.counter .keypad .enter-disable[data-v-3ea085c1]{background-color:#ccc}
|
|
|
@ -0,0 +1 @@
|
||||||
|
.dra-body[data-v-a76a4ead]{width:100%;display:flex;flex-direction:column;align-items:center;text-align:center}.dra-body .header[data-v-a76a4ead]{width:30rem;display:flex}.dra-body .header>div[data-v-a76a4ead]{flex:1;border:.0625rem solid #ccc;text-align:center;padding:.6rem 0;cursor:pointer}.dra-body .header .left[data-v-a76a4ead]{border-right:none;border-radius:5rem 0 0 5rem}.dra-body .header .right[data-v-a76a4ead]{border-left:none;border-radius:0 5rem 5rem 0}.dra-body .header .active[data-v-a76a4ead]{background-color:#1890ff;color:#fff;transition:.3s;border-color:#1890ff}.dra-body .card1 .code-input[data-v-a76a4ead]{width:100%;height:3rem;font-size:1.2rem}.dra-body .card1 .tips[data-v-a76a4ead]{width:38rem;height:16rem;background:url(./pay-De0xbdxm.png);background-size:100% 100%;background-repeat:no-repeat}.dra-body .card3 .codes[data-v-a76a4ead]{width:38rem;display:flex;align-items:center}.dra-body .card3 .codes .code-input[data-v-a76a4ead]{flex:1;height:3rem;font-size:1.2rem}.dra-body .card3 .codes .get-code-btn[data-v-a76a4ead]{height:3rem;margin-left:1rem}.dra-body .card3 .code-pay[data-v-a76a4ead]{margin-top:4rem;width:100%;height:3rem;border-radius:3rem}.cancel-btn[data-v-a76a4ead]{width:60%;border-color:#1890ff;color:#1890ff;border-radius:5rem;height:3rem;font-size:1.2rem}.drawer-body[data-v-a76a4ead]{width:100%;overflow-x:hidden}.counter[data-v-a76a4ead]{padding:1.25rem;border-radius:1.25rem;background-color:#f3f9ff}.counter .received[data-v-a76a4ead]{height:3rem;padding:0 1.25rem;border:.0625rem solid #1890ff;box-shadow:0 0 .18rem #1890ff;border-radius:.5rem;background-color:#fff;font-size:1.62rem;line-height:3rem;color:#333}.counter .balance[data-v-a76a4ead]{width:100%;box-sizing:border-box;padding:1.12rem 0 1.12rem .625rem;text-align:start;font-size:.95rem;color:#303133;display:flex;justify-content:space-between}.counter .balance .money[data-v-a76a4ead]{color:#ff4a00}.counter .balance .tips[data-v-a76a4ead]{font-size:.8rem;color:#999}.counter .keypad[data-v-a76a4ead]{display:grid;grid-template-columns:auto auto auto auto;grid-gap:.625rem}.counter .keypad .left[data-v-a76a4ead]{grid-column-end:span 3;display:grid;grid-template-columns:auto auto auto;grid-gap:.625rem}.counter .keypad .right[data-v-a76a4ead]{display:grid;grid-template-columns:auto;grid-gap:.625rem}.counter .keypad .el-button[data-v-a76a4ead]{height:3.875rem;width:8.125rem;margin:0!important;border:0;border-radius:.5rem;font-weight:500;font-size:1.75rem!important;line-height:3.87rem;color:#1890ff}.counter .keypad .el-button[data-v-a76a4ead]:focus{box-shadow:none}.counter .keypad .enter[data-v-a76a4ead]{grid-row-end:span 4;height:8.37rem;line-height:8.37rem;background-color:#1890ff;font-weight:500;font-size:1.35rem!important;color:#fff;position:relative}.counter .keypad .enter-disable[data-v-a76a4ead]{background-color:#ccc}
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{G as s}from"./index-BVz4Ohfy.js";import{r}from"./axiosAPI-Cd-ap3gb.js";function a(t){return r.get("/product/product/lists",{params:t})}function i(t){return s.get("/cate/cate/lists",{params:t})}function n(t){return s.get("/system_store_storage/systemstorestorage/lists",{params:t})}function m(t){return s.post("/system_store_storage/systemstorestorage/edit",t)}export{n as a,m as b,i as m,a as s};
|
import{H as s}from"./index-QWlmoZOY.js";import{r}from"./axiosAPI-CcLrXseV.js";function a(t){return r.get("/product/product/lists",{params:t})}function i(t){return s.get("/cate/cate/lists",{params:t})}function n(t){return s.get("/system_store_storage/systemstorestorage/lists",{params:t})}function m(t){return s.post("/system_store_storage/systemstorestorage/edit",t)}export{n as a,m as b,i as m,a as s};
|
|
@ -1 +0,0 @@
|
||||||
import{G as e}from"./index-BVz4Ohfy.js";function o(r){return e.post("/cart/cart/create",r)}function s(r){return e.get("/cart/cart/list",{params:r})}function a(r){return e.post("/store_order/StoreOrder/checkOrder",r)}function i(r){return e.post("/cart/cart/delete",r)}function n(r){return e.post("/store_order/StoreOrder/createOrder",r)}function c(r){return e.post("/store_order/StoreOrder/pay",r)}function d(r){return e.get("/store_order/StoreOrder/lists",{params:r})}function p(r){return e.get("/store_order/storeOrder/detail",{params:r})}function u(r){return e.get("/store_order/storeOrder/writeoff_list",{params:r})}function f(r){return e.post("/store_order/StoreOrder/writeoff_order",r)}function O(r){return e.post("/store_order/StoreOrder/checkSms",r)}function A(r){return e.get("/store_order/StoreOrder/print",{params:r})}export{s as a,o as b,i as c,p as d,n as e,c as f,O as g,A as h,u as i,a as o,d as s,f as w};
|
|
|
@ -0,0 +1 @@
|
||||||
|
import{H as e}from"./index-QWlmoZOY.js";function o(r){return e.post("/cart/cart/create",r)}function s(r){return e.get("/cart/cart/list",{params:r})}function a(r){return e.post("/store_order/StoreOrder/checkOrder",r)}function i(r){return e.post("/cart/cart/delete",r)}function n(r){return e.post("/store_order/StoreOrder/createOrder",r)}function u(r){return e.post("/store_order/StoreOrder/pay",r)}function c(r){return e.get("/store_order/StoreOrder/lists",{params:r})}function p(r){return e.get("/store_order/storeOrder/detail",{params:r})}function d(r){return e.get("/store_order/storeOrder/writeoff_list",{params:r})}function f(r){return e.post("/store_order/StoreOrder/writeoff_order",r)}function O(r){return e.post("/store_order/StoreOrder/checkSms",r)}function _(r){return e.get("/store_order/StoreOrder/print",{params:r})}function A(r){return e.get("/user_product_storage/UserProductStorage/lists",{params:r})}function S(r){return e.post("/user_product_storage/UserProductStorage/supply",r)}export{s as a,o as b,i as c,p as d,n as e,u as f,O as g,_ as h,d as i,S as j,a as o,c as s,A as u,f as w};
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
import{G as e}from"./index-BVz4Ohfy.js";function u(s){return e.post("/login/account",s)}function t(s){return e.get("/user/UserShip/lists",{params:s})}function i(s){return e.post("/user/user/add",s)}function n(s){return e.post("/user/user/archives_sms",s)}function a(s){return e.get("/user/user/lists",{params:s})}function p(s){return e.get("/user/user/detail",{params:s})}function o(s){return e.get("/user/Address/detail",{params:s})}function d(s){return e.post("/user/Address/edit",s)}function c(s){return e.post("/store_order/StoreOrder/rechange_amount",s)}function A(s){return e.post("/user/user/user_ship",s)}function l(s){return e.get("/user/UserLabel/lists",{params:s})}function f(s){return e.post("/user/user/user_label",s)}export{t as a,i as b,n as c,c as d,p as e,A as f,l as g,f as h,o as i,d as j,u as l,a as u};
|
import{H as e}from"./index-QWlmoZOY.js";function u(s){return e.post("/login/account",s)}function t(s){return e.get("/user/UserShip/lists",{params:s})}function i(s){return e.post("/user/user/add",s)}function n(s){return e.post("/user/user/archives_sms",s)}function a(s){return e.get("/user/user/lists",{params:s})}function p(s){return e.get("/user/user/detail",{params:s})}function o(s){return e.get("/user/Address/detail",{params:s})}function d(s){return e.post("/user/Address/edit",s)}function c(s){return e.post("/store_order/StoreOrder/rechange_amount",s)}function A(s){return e.post("/user/user/user_ship",s)}function l(s){return e.get("/user/UserLabel/lists",{params:s})}function f(s){return e.post("/user/user/user_label",s)}export{t as a,i as b,n as c,c as d,p as e,A as f,l as g,f as h,o as i,d as j,u as l,a as u};
|
|
@ -56,8 +56,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script type="module" crossorigin src="./assets/index-BVz4Ohfy.js"></script>
|
<script type="module" crossorigin src="./assets/index-QWlmoZOY.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="./assets/index-F8CM97a-.css">
|
<link rel="stylesheet" crossorigin href="./assets/index-DoF3Xcqg.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,72 @@
|
||||||
|
<script setup>
|
||||||
|
import { ref } from 'vue';
|
||||||
|
const props = defineProps({
|
||||||
|
type: {
|
||||||
|
type: String,
|
||||||
|
default: 'primary'
|
||||||
|
},
|
||||||
|
start:{ // 是否开始倒计时
|
||||||
|
type: Boolean,
|
||||||
|
default: true
|
||||||
|
},
|
||||||
|
time: {
|
||||||
|
type: Number,
|
||||||
|
default: 60
|
||||||
|
},
|
||||||
|
text: {
|
||||||
|
type: String,
|
||||||
|
default: '发送验证码'
|
||||||
|
},
|
||||||
|
timeText: {
|
||||||
|
type: String,
|
||||||
|
default: '秒重新获取'
|
||||||
|
},
|
||||||
|
width: {
|
||||||
|
type: String,
|
||||||
|
default: '100px'
|
||||||
|
},
|
||||||
|
disabled: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
const emit = defineEmits(['sendCode'])
|
||||||
|
|
||||||
|
const onSendCode = () => {
|
||||||
|
emit('sendCode');
|
||||||
|
if(props.start) startCountDown();
|
||||||
|
}
|
||||||
|
|
||||||
|
const countDown = ref(0)
|
||||||
|
const timer = ref(null)
|
||||||
|
|
||||||
|
const startCountDown = () => {
|
||||||
|
countDown.value = props.time
|
||||||
|
timer.value = setInterval(() => {
|
||||||
|
countDown.value--
|
||||||
|
if (countDown.value <= 0) {
|
||||||
|
clearInterval(timer.value)
|
||||||
|
countDown.value = 0
|
||||||
|
}
|
||||||
|
}, 1000)
|
||||||
|
}
|
||||||
|
|
||||||
|
const resetDown = ()=>{
|
||||||
|
clearInterval(timer.value)
|
||||||
|
countDown.value = 0
|
||||||
|
}
|
||||||
|
|
||||||
|
defineExpose({
|
||||||
|
startCountDown,
|
||||||
|
resetDown
|
||||||
|
})
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<el-button :type="type" :style="{ width: width }" @click="onSendCode" :disabled="countDown>0 || disabled">
|
||||||
|
{{ countDown > 0 ? `${countDown}${timeText}` : text }}
|
||||||
|
</el-button>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped lang="scss"></style>
|
|
@ -4,6 +4,7 @@ import { orderCreateApi, orderStatusApi, orderPayApi, storeOrderCheckSmsApi } fr
|
||||||
import { ElMessage } from "element-plus";
|
import { ElMessage } from "element-plus";
|
||||||
import { audioplay } from "@/utils/audio.js";
|
import { audioplay } from "@/utils/audio.js";
|
||||||
import mitt from "@/utils/mitt.js";
|
import mitt from "@/utils/mitt.js";
|
||||||
|
import authCode from "@/components/authCode.vue";
|
||||||
import {
|
import {
|
||||||
storeOrderPrintApi
|
storeOrderPrintApi
|
||||||
} from "@/api/store.js";
|
} from "@/api/store.js";
|
||||||
|
@ -116,7 +117,6 @@ const handleEnter = () => {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
input.value = "";
|
input.value = "";
|
||||||
codeRef.value.focus();
|
codeRef.value.focus();
|
||||||
console.log("=====", 22);
|
|
||||||
return ElMessage.error("请输入正确的支付码");
|
return ElMessage.error("请输入正确的支付码");
|
||||||
}
|
}
|
||||||
orderCreateApi({
|
orderCreateApi({
|
||||||
|
@ -360,7 +360,7 @@ const cashBnt = () => {
|
||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
onPrint(res.data.id);
|
onPrint(res.data.id);
|
||||||
changeActive(1);
|
active.value = 1;
|
||||||
beforeClose();
|
beforeClose();
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
@ -592,7 +592,8 @@ onUnmounted(() => {
|
||||||
<div class="codes">
|
<div class="codes">
|
||||||
<el-input v-model="smsCode" autofocus class="code-input" placeholder="请输入验证码"
|
<el-input v-model="smsCode" autofocus class="code-input" placeholder="请输入验证码"
|
||||||
@keyup.enter="handlecodeEnter" @focus="isFocus = true" @blur="isFocus = false" />
|
@keyup.enter="handlecodeEnter" @focus="isFocus = true" @blur="isFocus = false" />
|
||||||
<el-button type="primary" @click="getSms" class="get-code-btn">获取验证码</el-button>
|
<!-- <el-button type="primary" @click="getSms" class="get-code-btn">获取验证码</el-button> -->
|
||||||
|
<authCode style="margin-left: 1rem;" @sendCode="getSms" :start="uid>0" :key="form.order_id" class="get-code-btn"></authCode>
|
||||||
</div>
|
</div>
|
||||||
<el-button type="primary" @click="handlecodeEnter" class="code-pay">确认支付</el-button>
|
<el-button type="primary" @click="handlecodeEnter" class="code-pay">确认支付</el-button>
|
||||||
<!-- <div class="tips"></div> -->
|
<!-- <div class="tips"></div> -->
|
||||||
|
|
|
@ -31,6 +31,7 @@ const open = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const changeActive = (e) => {
|
const changeActive = (e) => {
|
||||||
|
if(e!=1) codeRef.value.blur();
|
||||||
active.value = e;
|
active.value = e;
|
||||||
console.log(active.value);
|
console.log(active.value);
|
||||||
if (active.value == 2) {
|
if (active.value == 2) {
|
||||||
|
@ -170,7 +171,7 @@ const orderPay = () => {
|
||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
// if(res.data.message) audioplay(res.data.message);
|
// if(res.data.message) audioplay(res.data.message);
|
||||||
beforeClose();
|
beforeClose({msg: '支付成功'});
|
||||||
} else {
|
} else {
|
||||||
if (res.msg == "用户支付中" && res.code == 1) {
|
if (res.msg == "用户支付中" && res.code == 1) {
|
||||||
ElMessage.warning(res.msg);
|
ElMessage.warning(res.msg);
|
||||||
|
@ -212,7 +213,7 @@ const getOrderStatus = (id) => {
|
||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
// if(res.data.message) audioplay(res.data.message);
|
// if(res.data.message) audioplay(res.data.message);
|
||||||
beforeClose();
|
beforeClose({msg: '支付成功'});
|
||||||
} else {
|
} else {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
message:
|
message:
|
||||||
|
@ -246,7 +247,7 @@ const getOrderStatus = (id) => {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const beforeClose = (data) => {
|
const beforeClose = (data=null) => {
|
||||||
window.removeEventListener("keydown", keyboard);
|
window.removeEventListener("keydown", keyboard);
|
||||||
reLoad.value = false;
|
reLoad.value = false;
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
|
@ -254,6 +255,7 @@ const beforeClose = (data) => {
|
||||||
collection.value = "";
|
collection.value = "";
|
||||||
collectionArray.value = [];
|
collectionArray.value = [];
|
||||||
codeRef.value?.blur();
|
codeRef.value?.blur();
|
||||||
|
if(typeof data === 'function') data = null;
|
||||||
emit("paySuccess", data);
|
emit("paySuccess", data);
|
||||||
drawer.value = false;
|
drawer.value = false;
|
||||||
};
|
};
|
||||||
|
@ -318,20 +320,21 @@ const cashBnt = () => {
|
||||||
)
|
)
|
||||||
return ElMessage.error("收款金额应该大于等于应收金额");
|
return ElMessage.error("收款金额应该大于等于应收金额");
|
||||||
if (isRePay.value) orderPay();
|
if (isRePay.value) orderPay();
|
||||||
else
|
else
|
||||||
userRechangeAmountApi({
|
userRechangeAmountApi({
|
||||||
uid: form.value.uid,
|
uid: form.value.uid,
|
||||||
price: form.value.price,
|
price: form.value.price,
|
||||||
pay_type: 17,
|
pay_type: 17,
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
console.log("========");
|
||||||
drawer.value = false;
|
drawer.value = false;
|
||||||
ElMessage({
|
ElMessage({
|
||||||
message: res.msg,
|
message: res.msg,
|
||||||
type: "success",
|
type: "success",
|
||||||
});
|
});
|
||||||
changeActive(1);
|
active.value = 1;
|
||||||
beforeClose();
|
beforeClose({msg:'收款成功'});
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
loading.value = false;
|
loading.value = false;
|
||||||
|
|
|
@ -48,7 +48,8 @@ const setForm = (item, index) => {
|
||||||
dialogVisible.value = false;
|
dialogVisible.value = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
const open = () => {
|
const open = (uid=null) => {
|
||||||
|
if(!uid) where.value.mobile = "";
|
||||||
dialogVisible.value = true;
|
dialogVisible.value = true;
|
||||||
getOrderList(true);
|
getOrderList(true);
|
||||||
};
|
};
|
||||||
|
|
|
@ -31,7 +31,7 @@ const newOrder = (e) => {
|
||||||
ElMessage.success('您有新的订单');
|
ElMessage.success('您有新的订单');
|
||||||
if (isPlaying) return; //正在播放时有新订单直接跳过播放
|
if (isPlaying) return; //正在播放时有新订单直接跳过播放
|
||||||
// 创建音频对象
|
// 创建音频对象
|
||||||
var audio = new Audio("/src/assets/order.mp3");
|
var audio = new Audio("/public/order.mp3");
|
||||||
// 播放音频
|
// 播放音频
|
||||||
audio.play();
|
audio.play();
|
||||||
isPlaying = true;
|
isPlaying = true;
|
||||||
|
@ -51,7 +51,7 @@ const newOrder = (e) => {
|
||||||
// newOrder({
|
// newOrder({
|
||||||
// msg: "您有一笔新的订单",
|
// msg: "您有一笔新的订单",
|
||||||
// });
|
// });
|
||||||
// }, 2000);
|
// }, 3000);
|
||||||
|
|
||||||
const navTo = (name) => {
|
const navTo = (name) => {
|
||||||
router.push({ name });
|
router.push({ name });
|
||||||
|
|
|
@ -229,7 +229,7 @@ onUnmounted(() => {
|
||||||
<el-table-column label="商品信息">
|
<el-table-column label="商品信息">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div style="display: flex; align-items: center">
|
<div style="display: flex; align-items: center">
|
||||||
<el-image style="height: 3rem; width: 3rem" :src="row.cart_info?.image"></el-image>
|
<el-image style="height: 3rem; width: 3rem;flex-shrink: 0;" :src="row.cart_info?.image"></el-image>
|
||||||
<span style="margin-left: 0.5rem">{{ row.cart_info?.name }}</span>
|
<span style="margin-left: 0.5rem">{{ row.cart_info?.name }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -214,7 +214,7 @@ onUnmounted(() => {
|
||||||
<el-table-column label="商品信息">
|
<el-table-column label="商品信息">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div style="display: flex; align-items: center">
|
<div style="display: flex; align-items: center">
|
||||||
<el-image style="height: 3rem; width: 3rem" :src="row.cart_info?.image"></el-image>
|
<el-image style="height: 3rem; width: 3rem;flex-shrink: 0;" :src="row.cart_info?.image"></el-image>
|
||||||
<span style="margin-left: 0.5rem">{{ row.cart_info?.name }}</span>
|
<span style="margin-left: 0.5rem">{{ row.cart_info?.name }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -123,7 +123,8 @@ onUnmounted(() => {
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
<el-date-picker v-model="date" type="daterange" start-placeholder="开始时间" end-placeholder="结束时间"
|
<el-date-picker v-model="date" type="daterange" start-placeholder="开始时间" end-placeholder="结束时间"
|
||||||
size="small" value-format="YYYY/MM/DD" :disabled-date="disabledDate" @change="changeDate"
|
size="small" value-format="YYYY/MM/DD" :disabled-date="disabledDate" @change="changeDate"
|
||||||
:clearable="false" style="width: 14rem; margin-left: 1rem" />
|
:clearable="false" style="width: 10rem; margin: 0 1rem" />
|
||||||
|
<el-button size="small">重置</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="header-input">
|
<div class="header-input">
|
||||||
|
|
|
@ -46,6 +46,7 @@ const getList = () => {
|
||||||
cartListApi().then((res) => {
|
cartListApi().then((res) => {
|
||||||
extend.value = res.data.extend;
|
extend.value = res.data.extend;
|
||||||
list.value = res.data.lists || [];
|
list.value = res.data.lists || [];
|
||||||
|
if(!extend.value?.pay_price) userInfo.value.uid = "";
|
||||||
// if (res.data?.lists?.length > 0) {
|
// if (res.data?.lists?.length > 0) {
|
||||||
// list.value = res.data.lists;
|
// list.value = res.data.lists;
|
||||||
// allPrice.value = res.data?.lists.reduce((previous, current) => {
|
// allPrice.value = res.data?.lists.reduce((previous, current) => {
|
||||||
|
@ -115,7 +116,6 @@ const is_storage = ref(false)
|
||||||
|
|
||||||
const resetView = ()=>{
|
const resetView = ()=>{
|
||||||
is_storage.value = false;
|
is_storage.value = false;
|
||||||
userInfo.value.uid = "";
|
|
||||||
getList();
|
getList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ onUnmounted(() => {
|
||||||
<div class="info" v-if="userInfo.uid">
|
<div class="info" v-if="userInfo.uid">
|
||||||
<div class="flex-bewteen">
|
<div class="flex-bewteen">
|
||||||
<div>手机号: {{ userInfo.mobile || userInfo.account }}</div>
|
<div>手机号: {{ userInfo.mobile || userInfo.account }}</div>
|
||||||
<el-button type="primary" link class="change-user" @click="userListRef.open()">切换用户<el-icon>
|
<el-button type="primary" link class="change-user" @click="userListRef.open(userInfo.uid)">切换用户<el-icon>
|
||||||
<ArrowRight />
|
<ArrowRight />
|
||||||
</el-icon></el-button>
|
</el-icon></el-button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -233,7 +233,7 @@ onUnmounted(() => {
|
||||||
>
|
>
|
||||||
</div> -->
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="update-price" v-if="userInfo.uid">
|
<div class="update-price">
|
||||||
<el-switch
|
<el-switch
|
||||||
v-model="is_storage"
|
v-model="is_storage"
|
||||||
size="large"
|
size="large"
|
||||||
|
|
|
@ -126,6 +126,7 @@ const checkOut = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const goPay = () => {
|
const goPay = () => {
|
||||||
|
if(orderRef.value?.is_storage && !orderRef.value?.userInfo?.uid) return ElMessage.error("选择用户才可以存货");
|
||||||
checkOut();
|
checkOut();
|
||||||
payRef.value.drawer = true;
|
payRef.value.drawer = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -224,7 +224,7 @@ onUnmounted(() => {
|
||||||
<el-table-column label="商品信息">
|
<el-table-column label="商品信息">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div style="display: flex; align-items: center">
|
<div style="display: flex; align-items: center">
|
||||||
<el-image style="height: 3rem; width: 3rem" :src="row.cart_info?.image"></el-image>
|
<el-image style="height: 3rem; width: 3rem;flex-shrink: 0;" :src="row.cart_info?.image"></el-image>
|
||||||
<span style="margin-left: 0.5rem">{{ row.cart_info?.name }}</span>
|
<span style="margin-left: 0.5rem">{{ row.cart_info?.name }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -3,6 +3,7 @@ import { ref, onMounted, onUnmounted, reactive } from "vue";
|
||||||
import { apiProvince, apiCity, apiArea, apiStreet, apiVillage, apiBrigade } from '@/api/public'
|
import { apiProvince, apiCity, apiArea, apiStreet, apiVillage, apiBrigade } from '@/api/public'
|
||||||
import { userShipApi, userAddApi, userArchivesSmsApi } from "@/api/user"
|
import { userShipApi, userAddApi, userArchivesSmsApi } from "@/api/user"
|
||||||
import { ElMessage } from "element-plus";
|
import { ElMessage } from "element-plus";
|
||||||
|
import authCode from "@/components/authCode.vue";
|
||||||
import { useUserStore } from "@/store/user";
|
import { useUserStore } from "@/store/user";
|
||||||
|
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
|
@ -148,6 +149,7 @@ const addUser = () => {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const authCodeRef = ref(null)
|
||||||
const getSms = ()=>{
|
const getSms = ()=>{
|
||||||
formDataRef.value.validateField('mobile',(valid)=>{
|
formDataRef.value.validateField('mobile',(valid)=>{
|
||||||
if(valid){
|
if(valid){
|
||||||
|
@ -155,6 +157,7 @@ const getSms = ()=>{
|
||||||
mobile:formDataInfo.mobile
|
mobile:formDataInfo.mobile
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
ElMessage.success('发送成功')
|
ElMessage.success('发送成功')
|
||||||
|
authCodeRef.value.startCountDown();
|
||||||
}).catch(err=>{
|
}).catch(err=>{
|
||||||
ElMessage.error('发送失败')
|
ElMessage.error('发送失败')
|
||||||
})
|
})
|
||||||
|
@ -177,14 +180,15 @@ defineExpose({
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="验证码" prop="code">
|
<el-form-item label="验证码" prop="code">
|
||||||
<el-input v-model="formDataInfo.code" placeholder="请输入验证码" style="flex: 1;"/>
|
<el-input v-model="formDataInfo.code" placeholder="请输入验证码" style="flex: 1;"/>
|
||||||
<el-button type="primary" style="margin-left: 1rem;" @click="getSms">获取验证码</el-button>
|
<!-- <el-button type="primary" style="margin-left: 1rem;" @click="getSms">获取验证码</el-button> -->
|
||||||
|
<authCode ref="authCodeRef" style="margin-left: 1rem;" @sendCode="getSms" :start="false"></authCode>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="用户姓名" prop="real_name">
|
<el-form-item label="用户姓名" prop="real_name">
|
||||||
<el-input v-model="formDataInfo.real_name" placeholder="请输入用户姓名" />
|
<el-input v-model="formDataInfo.real_name" placeholder="请输入用户姓名" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="用户类型" prop="user_ship">
|
<el-form-item label="用户类型" prop="user_ship">
|
||||||
<el-select v-model="formDataInfo.user_ship" placeholder="请选择用户类型" style="width: 100%;">
|
<el-select v-model="formDataInfo.user_ship" placeholder="请选择用户类型" style="width: 100%;">
|
||||||
<el-option v-for="item in userShip" :key="item.id" :label="item.title" :value="item.id" :disabled="item.id==1" />
|
<el-option v-for="item in userShip" :key="item.id" :label="item.title" :value="item.id" :disabled="item.id==1||item.id==2||item.id==3" />
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="用户地址" prop="selectedValues">
|
<el-form-item label="用户地址" prop="selectedValues">
|
||||||
|
|
|
@ -9,6 +9,7 @@ import { userAddressDetailApi, userAddressEditApi, userDetailApi } from "@/api/u
|
||||||
import { userProductStorageApi, userProductStorageSupplyApi } from "@/api/store"
|
import { userProductStorageApi, userProductStorageSupplyApi } from "@/api/store"
|
||||||
import { apiProvince, apiCity, apiArea, apiStreet, apiVillage, apiBrigade } from '@/api/public'
|
import { apiProvince, apiCity, apiArea, apiStreet, apiVillage, apiBrigade } from '@/api/public'
|
||||||
import { userShipApi, userShipUpdateApi, userLabelListApi, userLabelUpdateApi } from "@/api/user"
|
import { userShipApi, userShipUpdateApi, userLabelListApi, userLabelUpdateApi } from "@/api/user"
|
||||||
|
import authCode from "@/components/authCode.vue";
|
||||||
|
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
@ -38,9 +39,9 @@ const toPay = () => {
|
||||||
});
|
});
|
||||||
payRef.value.drawer = true;
|
payRef.value.drawer = true;
|
||||||
}
|
}
|
||||||
const paySuccess = () => {
|
const paySuccess = (e=null) => {
|
||||||
console.log('支付成功');
|
getUserInfo();
|
||||||
mitt.emit('re-load-user-list');
|
// mitt.emit('re-load-user-list', e ? true : false);
|
||||||
}
|
}
|
||||||
|
|
||||||
const updateShip = ref(false);
|
const updateShip = ref(false);
|
||||||
|
@ -227,61 +228,88 @@ const whereProduct = ref({
|
||||||
page_size: 10,
|
page_size: 10,
|
||||||
loading: false,
|
loading: false,
|
||||||
loadend: false
|
loadend: false
|
||||||
})
|
})
|
||||||
let info = []; // 出库列表
|
let info = []; // 出库列表
|
||||||
const initProduct = (re=false)=>{
|
const initProduct = (re = false) => {
|
||||||
if(re){
|
if (re) {
|
||||||
productList.value = [];
|
productList.value = [];
|
||||||
whereProduct.value.page_no = 1;
|
whereProduct.value.page_no = 1;
|
||||||
whereProduct.value.loadend = false;
|
whereProduct.value.loadend = false;
|
||||||
}
|
}
|
||||||
if(whereProduct.value.loadend || whereProduct.value.loading) return ;
|
if (whereProduct.value.loadend || whereProduct.value.loading) return;
|
||||||
whereProduct.value.loading = true;
|
whereProduct.value.loading = true;
|
||||||
userProductStorageApi({
|
userProductStorageApi({
|
||||||
uid: formData.value.id,
|
uid: formData.value.id,
|
||||||
page_no: whereProduct.value.page_no,
|
page_no: whereProduct.value.page_no,
|
||||||
page_size: whereProduct.value.page_size
|
page_size: whereProduct.value.page_size
|
||||||
}).then(res=>{
|
}).then(res => {
|
||||||
productList.value = [...productList.value, ...res.data.lists];
|
productList.value = [...productList.value, ...res.data.lists];
|
||||||
whereProduct.value.loading = false;
|
whereProduct.value.loading = false;
|
||||||
whereProduct.value.page_no++;
|
whereProduct.value.page_no++;
|
||||||
if(res.data.lists.length < whereProduct.value.page_size) {
|
if (res.data.lists.length < whereProduct.value.page_size) {
|
||||||
whereProduct.value.loadend = true;
|
whereProduct.value.loadend = true;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const outForm = ref({
|
||||||
|
mobile: '',
|
||||||
|
code: ''
|
||||||
|
})
|
||||||
|
const dialogFormVisible = ref(false);
|
||||||
// 预出库
|
// 预出库
|
||||||
const onOutAll = ()=>{
|
const onOutAll = () => {
|
||||||
info = productList.value.filter(item=>item.n_num).map(item=>{
|
outForm.value.mobile = formData.value.phone;
|
||||||
|
outForm.value.code = '';
|
||||||
|
info = productList.value.filter(item => item.n_num).map(item => {
|
||||||
return {
|
return {
|
||||||
product_id: item.product_id,
|
product_id: item.product_id,
|
||||||
nums: item.n_num
|
nums: item.n_num
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
if(info.length==0) return ElMessage.error("请选择商品")
|
if (info.length == 0) return ElMessage.error("请选择商品");
|
||||||
onOutPut();
|
dialogFormVisible.value = true;
|
||||||
|
// onOutPut();
|
||||||
|
}
|
||||||
|
// 发送短信验证码
|
||||||
|
const onSendCode = ()=>{
|
||||||
|
console.log('发送短信验证码');
|
||||||
|
ElMessage.success("验证码已发送");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 出库
|
// 出库
|
||||||
const onOutPut = ()=>{
|
const onOutPut = () => {
|
||||||
|
if(outForm.value.code == '') return ElMessage.error("请输入验证码")
|
||||||
userProductStorageSupplyApi({
|
userProductStorageSupplyApi({
|
||||||
uid: formData.value.id,
|
uid: formData.value.id,
|
||||||
info: info
|
info: info
|
||||||
}).then(res=>{
|
}).then(res => {
|
||||||
isOut.value = false;
|
isOut.value = false;
|
||||||
ElMessage.success("出库成功");
|
ElMessage.success("出库成功");
|
||||||
|
dialogFormVisible.value = false;
|
||||||
initProduct(true);
|
initProduct(true);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const getUserInfo = ()=>{
|
||||||
|
userDetailApi({
|
||||||
|
id: formData.value.id
|
||||||
|
}).then(({ data }) => {
|
||||||
|
data.phone = data.mobile + '';
|
||||||
|
delete data.mobile;
|
||||||
|
formData.value = Object.assign(formData.value, data);
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
mitt.on("set-user-detail", (res) => {
|
mitt.on("set-user-detail", (res) => {
|
||||||
formData.value = res;
|
formData.value = res;
|
||||||
isOut.value = false;
|
isOut.value = false;
|
||||||
userDetailApi({
|
userDetailApi({
|
||||||
id: res.id
|
id: formData.value.id
|
||||||
}).then(({ data }) => {
|
}).then(({ data }) => {
|
||||||
|
data.phone = data.mobile + '';
|
||||||
|
delete data.mobile;
|
||||||
formData.value = Object.assign(res, data);
|
formData.value = Object.assign(res, data);
|
||||||
console.log(formData.value);
|
console.log(formData.value);
|
||||||
})
|
})
|
||||||
|
@ -349,7 +377,7 @@ onUnmounted(() => {
|
||||||
</div>
|
</div>
|
||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<div class="info-item-title">用户电话:</div>
|
<div class="info-item-title">用户电话:</div>
|
||||||
<div class="info-item-info">{{ formData.mobile }}</div>
|
<div class="info-item-info">{{ formData.phone }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="info-item">
|
<div class="info-item">
|
||||||
<div class="info-item-title">用户账号:</div>
|
<div class="info-item-title">用户账号:</div>
|
||||||
|
@ -369,7 +397,7 @@ onUnmounted(() => {
|
||||||
<template v-if="updateShip == false">
|
<template v-if="updateShip == false">
|
||||||
<el-tag type="primary" size="large" v-if="formData.user_ship != 1">{{
|
<el-tag type="primary" size="large" v-if="formData.user_ship != 1">{{
|
||||||
formData.user_ship_name
|
formData.user_ship_name
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
<el-tag type="success" size="large" v-else>{{ formData.user_ship_name }}</el-tag>
|
<el-tag type="success" size="large" v-else>{{ formData.user_ship_name }}</el-tag>
|
||||||
<el-button type="primary" v-if="formData.user_ship != 1" style="margin-left: 1rem;"
|
<el-button type="primary" v-if="formData.user_ship != 1" style="margin-left: 1rem;"
|
||||||
@click="updateShip = true">修改</el-button>
|
@click="updateShip = true">修改</el-button>
|
||||||
|
@ -377,7 +405,7 @@ onUnmounted(() => {
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<el-select v-model="formData.user_ship" placeholder="请选择用户类型" style="width: 10rem;">
|
<el-select v-model="formData.user_ship" placeholder="请选择用户类型" style="width: 10rem;">
|
||||||
<el-option v-for="item in userShip" :key="item.id" :label="item.title"
|
<el-option v-for="item in userShip" :key="item.id" :label="item.title"
|
||||||
:value="item.id" :disabled="item.id == 1" />
|
:value="item.id" :disabled="item.id==1||item.id==2||item.id==3" />
|
||||||
</el-select>
|
</el-select>
|
||||||
<el-button type="primary" style="margin-left: 1rem;"
|
<el-button type="primary" style="margin-left: 1rem;"
|
||||||
@click="updateUserShip">确认</el-button>
|
@click="updateUserShip">确认</el-button>
|
||||||
|
@ -445,32 +473,34 @@ onUnmounted(() => {
|
||||||
</div>
|
</div>
|
||||||
<div class="detail" v-if="formData.id && activeStore == 1" v-loading="whereProduct.loading">
|
<div class="detail" v-if="formData.id && activeStore == 1" v-loading="whereProduct.loading">
|
||||||
<div class="table" v-infinite-scroll="initProduct" :infinite-scroll-distance="300"
|
<div class="table" v-infinite-scroll="initProduct" :infinite-scroll-distance="300"
|
||||||
:infinite-scroll-delay="300" style="overflow: auto" :infinite-scroll-immediate="false">
|
:infinite-scroll-delay="300" style="overflow: auto" :infinite-scroll-immediate="false">
|
||||||
<el-table :data="productList">
|
<el-table :data="productList">
|
||||||
<el-table-column label="商品信息">
|
<el-table-column label="商品信息">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div style="display: flex; align-items: center">
|
<div style="display: flex; align-items: center">
|
||||||
<el-image style="height: 3rem; width: 3rem" :src="row.image"></el-image>
|
<el-image style="height: 3rem; width: 3rem;flex-shrink: 0;" :src="row.image"></el-image>
|
||||||
<span style="margin-left: 0.5rem">{{ row.store_name }}</span>
|
<span style="margin-left: 0.5rem">{{ row.store_name }}</span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="price" label="单价" width="150" />
|
<el-table-column prop="price" label="单价" :width="isOut?130:200" />
|
||||||
<el-table-column prop="nums" v-if="isOut" label="数量" width="250">
|
<el-table-column prop="nums" label="存量" :width="isOut?100:200" />
|
||||||
|
<el-table-column prop="nums" v-if="isOut" label="出库量" width="250">
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<div style="display: flex; align-items: center" v-if="row.nums">
|
<div style="display: flex; align-items: center" v-if="row.nums">
|
||||||
<el-input-number v-model="row.n_num" step-strictly :min="0" :max="row.nums" />
|
<el-input-number v-model="row.n_num" step-strictly :min="0" :max="row.nums" />
|
||||||
<el-button type="primary" style="margin-left: 1rem;" @click="row.n_num = row.nums">全部</el-button>
|
<el-button type="primary" style="margin-left: 1rem;"
|
||||||
|
@click="row.n_num = row.nums">全部</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="nums" v-else label="数量" width="250" />
|
|
||||||
<!-- <el-table-column prop="pay_price" label="总价" width="150" /> -->
|
<!-- <el-table-column prop="pay_price" label="总价" width="150" /> -->
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<div v-if="!isOut">
|
<div v-if="!isOut">
|
||||||
<el-button type="warning" size="large" @click="isOut = true" :disabled="productList.length == 0">商品出库</el-button>
|
<el-button type="warning" size="large" @click="isOut = true"
|
||||||
|
:disabled="productList.length == 0">商品出库</el-button>
|
||||||
<!-- <el-button type="primary" size="large" @click="onOutAll">全部出库</el-button> -->
|
<!-- <el-button type="primary" size="large" @click="onOutAll">全部出库</el-button> -->
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
|
@ -483,6 +513,25 @@ onUnmounted(() => {
|
||||||
<el-empty></el-empty>
|
<el-empty></el-empty>
|
||||||
</div>
|
</div>
|
||||||
<payUser ref="payRef" @paySuccess="paySuccess"></payUser>
|
<payUser ref="payRef" @paySuccess="paySuccess"></payUser>
|
||||||
|
<el-dialog v-model="dialogFormVisible" title="出库验证" width="500">
|
||||||
|
<el-form :model="outForm">
|
||||||
|
<el-form-item label="手机号:">
|
||||||
|
<el-input v-model="outForm.mobile" autocomplete="off" readonly />
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="验证码:">
|
||||||
|
<el-input v-model="outForm.code" autocomplete="off" placeholder="请输入验证码" style="flex: 1;" />
|
||||||
|
<authCode style="margin-left: 1rem;" @sendCode="onSendCode" :key="outForm.mobile"></authCode>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
<template #footer>
|
||||||
|
<div class="dialog-footer">
|
||||||
|
<el-button @click="dialogFormVisible = false">取消</el-button>
|
||||||
|
<el-button type="primary" @click="onOutPut">
|
||||||
|
确认
|
||||||
|
</el-button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -93,8 +93,8 @@ const resetWhere = ()=>{
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
mitt.on('re-load-user-list', () => {
|
mitt.on('re-load-user-list', (e) => {
|
||||||
getOrderList(true);
|
if(e) getOrderList(true);
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
onUnmounted(() => {
|
onUnmounted(() => {
|
||||||
|
|
Loading…
Reference in New Issue