货无忧
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.

88 lines
3.0 KiB

2 years ago
"use strict";
const common_vendor = require("../../../common/vendor.js");
if (!Array) {
const _easycom_u_navbar2 = common_vendor.resolveComponent("u-navbar");
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
const _easycom_u_datetime_picker2 = common_vendor.resolveComponent("u-datetime-picker");
(_easycom_u_navbar2 + _easycom_u_icon2 + _easycom_u_datetime_picker2)();
}
const _easycom_u_navbar = () => "../../../uni_modules/uview-plus/components/u-navbar/u-navbar.js";
const _easycom_u_icon = () => "../../../uni_modules/uview-plus/components/u-icon/u-icon.js";
const _easycom_u_datetime_picker = () => "../../../uni_modules/uview-plus/components/u-datetime-picker/u-datetime-picker.js";
if (!Math) {
(_easycom_u_navbar + _easycom_u_icon + _easycom_u_datetime_picker)();
}
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "signinScan",
setup(__props) {
let details = common_vendor.reactive({
datatime: "",
show: false
});
function showtime(value) {
console.log(value);
details.show = value;
}
function checktime(event) {
console.log(event);
details.datatime = common_vendor.index.$u.timeFormat(event.value, "yyyy-mm-dd");
details.show = false;
console.log(details.datatime);
}
function gocustomersign() {
common_vendor.index.navigateTo({
url: "/pagesHome/pages/CustomerSign/CustomerSign"
});
}
function cleartime() {
console.log(cleartime);
details.datatime = "";
}
const { datatime, dataList, show } = common_vendor.toRefs(details);
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.p({
title: "签收扫描",
placeholder: true,
border: "true",
autoBack: true,
leftIconSize: "35"
}),
b: common_vendor.unref(datatime),
c: !common_vendor.unref(datatime)
}, !common_vendor.unref(datatime) ? {
d: common_vendor.o(($event) => showtime(true)),
e: common_vendor.p({
name: "calendar",
color: "#999999",
size: "50"
})
} : {
f: common_vendor.o(cleartime),
g: common_vendor.p({
name: "close-circle",
color: "#999999",
size: "40"
})
}, {
h: common_vendor.o(() => {
}),
i: common_vendor.o(($event) => showtime(true)),
j: common_vendor.f([1, 2, 3, 4, 5, 6, 7], (item, k0, i0) => {
return {};
}),
k: common_vendor.o(gocustomersign),
l: common_vendor.o(($event) => showtime(false)),
m: common_vendor.o(checktime),
n: common_vendor.p({
show: common_vendor.unref(show),
mode: "datetime",
itemHeight: "80"
})
});
};
}
});
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "F:/物流/logPm/pagesHome/pages/signinScan/signinScan.vue"]]);
wx.createPage(MiniProgramPage);