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.
74 lines
2.6 KiB
74 lines
2.6 KiB
1 year ago
|
"use strict";
|
||
|
const common_vendor = require("../../../common/vendor.js");
|
||
|
const api_user = require("../../../api/user.js");
|
||
|
require("../../../utils/request.js");
|
||
|
require("../../../store/index.js");
|
||
|
require("../../../utils/functions.js");
|
||
|
require("../../../utils/IDCardVerification.js");
|
||
|
require("../../../utils/base64.js");
|
||
|
require("../../../config/host.js");
|
||
|
require("../../../utils/md5.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: "MergeTrayDetails",
|
||
|
setup(__props) {
|
||
|
let trayCode = common_vendor.ref("");
|
||
|
let resdata = common_vendor.ref({});
|
||
|
common_vendor.onLoad((op) => {
|
||
|
trayCode.value = op.tray;
|
||
|
init();
|
||
|
});
|
||
|
async function init() {
|
||
|
let data = {
|
||
|
trayCode: trayCode.value
|
||
|
};
|
||
|
let res = await api_user.warehouseTrayTypescanTargetTrayCode(data);
|
||
|
resdata.value = res.data;
|
||
|
}
|
||
|
return (_ctx, _cache) => {
|
||
|
var _a, _b;
|
||
|
return {
|
||
|
a: common_vendor.p({
|
||
|
title: "合托托盘",
|
||
|
bgColor: "#D3832A",
|
||
|
leftIconColor: "#ffffff",
|
||
|
titleStyle: "color:#ffffff",
|
||
|
placeholder: true,
|
||
|
autoBack: true,
|
||
|
leftIconSize: "35"
|
||
|
}),
|
||
|
b: common_vendor.unref(resdata).trayCode,
|
||
|
c: common_vendor.o(($event) => common_vendor.unref(resdata).trayCode = $event.detail.value),
|
||
|
d: common_vendor.t((_a = common_vendor.unref(resdata)) == null ? void 0 : _a.totalNum),
|
||
|
e: common_vendor.f((_b = common_vendor.unref(resdata)) == null ? void 0 : _b.list, (item, index, i0) => {
|
||
|
return common_vendor.e({
|
||
|
a: common_vendor.t(index + 1),
|
||
|
b: common_vendor.n(item.isFleeing == "0" ? "xzc" : ""),
|
||
|
c: common_vendor.n(item.isFleeing == "1" ? "xze" : ""),
|
||
|
d: item.orderCode
|
||
|
}, item.orderCode ? {
|
||
|
e: common_vendor.t(item.orderCode)
|
||
|
} : {}, {
|
||
|
f: item.code
|
||
|
}, item.code ? {
|
||
|
g: common_vendor.t(item.code)
|
||
|
} : {}, {
|
||
|
h: item.num
|
||
|
}, item.num ? {
|
||
|
i: common_vendor.t(item.num)
|
||
|
} : {});
|
||
|
})
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
});
|
||
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "F:/物流/logPm/pagesHome/pages/MergeTrayDetails/MergeTrayDetails.vue"]]);
|
||
|
wx.createPage(MiniProgramPage);
|