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.
73 lines
2.1 KiB
73 lines
2.1 KiB
2 years ago
|
"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 + cusSelects)();
|
||
|
}
|
||
|
const cusSelects = () => "../../../compoment/cus-selects-fan/cus-selects-fan.js";
|
||
|
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||
|
__name: "CustomerOrdersDetails",
|
||
|
setup(__props) {
|
||
|
let details = common_vendor.reactive({
|
||
|
schanvalue: "",
|
||
|
typearr: [
|
||
|
{
|
||
|
value: 1,
|
||
|
label: "齐套"
|
||
|
},
|
||
|
{
|
||
|
value: 2,
|
||
|
label: "部分扫"
|
||
|
},
|
||
|
{
|
||
|
value: 3,
|
||
|
label: "未扫"
|
||
|
}
|
||
|
]
|
||
|
});
|
||
|
function checktype(e) {
|
||
|
if (e == "") {
|
||
|
details.schanvalue = "";
|
||
|
}
|
||
|
details.typearr.map((item) => {
|
||
|
if (item.value == e) {
|
||
|
details.schanvalue = item.label;
|
||
|
console.log(details.schanvalue);
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
const { schanvalue, typearr } = common_vendor.toRefs(details);
|
||
|
return (_ctx, _cache) => {
|
||
|
return {
|
||
|
a: common_vendor.p({
|
||
|
title: "自提扫描",
|
||
|
placeholder: true,
|
||
|
border: "true",
|
||
|
autoBack: true,
|
||
|
leftIconSize: "35"
|
||
|
}),
|
||
|
b: common_vendor.o(checktype),
|
||
|
c: common_vendor.p({
|
||
|
data: common_vendor.unref(typearr),
|
||
|
value: common_vendor.unref(schanvalue),
|
||
|
placeholder: "全部",
|
||
|
arrLeft: 5,
|
||
|
size: "145",
|
||
|
clearable: true
|
||
|
}),
|
||
|
d: common_vendor.f([1, 2, 3, 4, 5, 1, 2, 1, 4, 1, 3, 1], (item, k0, i0) => {
|
||
|
return {
|
||
|
a: common_vendor.n(item < 3 ? "tip tp1" : item < 5 ? "tip tp2" : "tip tp3")
|
||
|
};
|
||
|
})
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
});
|
||
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "F:/物流/logPm/pagesHome/pages/CustomerOrdersDetails/CustomerOrdersDetails.vue"]]);
|
||
|
wx.createPage(MiniProgramPage);
|