You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
3.2 KiB
103 lines
3.2 KiB
"use strict"; |
|
const common_vendor = require("../../common/vendor.js"); |
|
if (!Array) { |
|
const _easycom_u_navbar2 = common_vendor.resolveComponent("u-navbar"); |
|
_easycom_u_navbar2(); |
|
} |
|
const _easycom_u_navbar = () => "../../uni_modules/uview-plus/components/u-navbar/u-navbar.js"; |
|
if (!Math) { |
|
_easycom_u_navbar(); |
|
} |
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({ |
|
__name: "index", |
|
setup(__props) { |
|
let details = common_vendor.reactive({ |
|
tablist: [ |
|
// { |
|
// type:1, |
|
// name:'库内', |
|
// minilist:[ |
|
// { |
|
// icon:'http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png', |
|
// name:'下架扫描', |
|
// router:'/pagesHome/pages/DownScan/DownScan', |
|
// }, |
|
// ] |
|
// }, |
|
{ |
|
type: 1, |
|
name: "出库", |
|
minilist: [ |
|
{ |
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
name: "拣货扫描", |
|
router: "/pagesHome/pages/pickingScan/pickingScan" |
|
}, |
|
{ |
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
name: "自提扫描", |
|
router: "/pagesHome/pages/SelfPickupScan/SelfPickupScan" |
|
} |
|
] |
|
}, |
|
{ |
|
type: 1, |
|
name: "配送", |
|
minilist: [ |
|
{ |
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
name: "装车扫描", |
|
router: "/pagesHome/pages/LoadingScan/LoadingScan" |
|
}, |
|
{ |
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
name: "签收扫描", |
|
router: "/pagesHome/pages/signinScan/signinScan" |
|
} |
|
] |
|
}, |
|
{ |
|
type: 1, |
|
name: "离线上传", |
|
minilist: [ |
|
{ |
|
icon: "http://htys.oss-cn-chengdu.aliyuncs.com/htys/afb031efec7d2f8620ee68c71f87a80e.png", |
|
name: "离线上传", |
|
router: "/pagesHome/pages/OfflineUpload/OfflineUpload" |
|
} |
|
] |
|
} |
|
] |
|
}); |
|
function gopathpage(path) { |
|
common_vendor.index.navigateTo({ |
|
url: path |
|
}); |
|
} |
|
const { tablist } = common_vendor.toRefs(details); |
|
return (_ctx, _cache) => { |
|
return { |
|
a: common_vendor.p({ |
|
title: "工作台", |
|
placeholder: true, |
|
border: "true", |
|
leftIcon: "" |
|
}), |
|
b: common_vendor.f(common_vendor.unref(tablist), (item, k0, i0) => { |
|
return { |
|
a: common_vendor.t(item.name), |
|
b: common_vendor.f(item.minilist, (ite, k1, i1) => { |
|
return { |
|
a: ite.icon, |
|
b: common_vendor.t(ite.name), |
|
c: common_vendor.o(($event) => gopathpage(ite.router)) |
|
}; |
|
}) |
|
}; |
|
}) |
|
}; |
|
}; |
|
} |
|
}); |
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "F:/物流/logPm/pages/index/index.vue"]]); |
|
wx.createPage(MiniProgramPage);
|
|
|