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.
79 lines
2.9 KiB
79 lines
2.9 KiB
"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("../../../config/host.js"); |
|
require("../../../utils/base64.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: "CustomerSign", |
|
setup(__props) { |
|
let details = common_vendor.reactive({ |
|
items: {}, |
|
id: "", |
|
datalist: [] |
|
}); |
|
common_vendor.onLoad((op) => { |
|
details.items = JSON.parse(op.item); |
|
details.id = JSON.parse(op.item).id; |
|
initpage(); |
|
}); |
|
async function initpage() { |
|
let data = { |
|
id: details.id |
|
}; |
|
let response = await api_user.signforcustom(data); |
|
details.datalist = response.data.records; |
|
} |
|
function gosinorderscan(item) { |
|
common_vendor.index.navigateTo({ |
|
url: "/pagesHome/pages/signOrderScan/signOrderScan?item=" + JSON.stringify(item) |
|
}); |
|
} |
|
const { items, datalist } = common_vendor.toRefs(details); |
|
return (_ctx, _cache) => { |
|
return { |
|
a: common_vendor.p({ |
|
title: "客户签收", |
|
placeholder: true, |
|
border: "true", |
|
autoBack: true, |
|
leftIconSize: "35" |
|
}), |
|
b: common_vendor.t(common_vendor.unref(items).type_name), |
|
c: common_vendor.t(common_vendor.unref(items).deliStatus_name), |
|
d: common_vendor.t(common_vendor.unref(items).vehicleName), |
|
e: common_vendor.t(common_vendor.unref(items).driverName), |
|
f: common_vendor.t(common_vendor.unref(items).loadingTeamName), |
|
g: common_vendor.t(common_vendor.unref(items).isstock), |
|
h: common_vendor.t(common_vendor.unref(items).customersNumber), |
|
i: common_vendor.t(common_vendor.unref(items).orderNumber), |
|
j: common_vendor.t(common_vendor.unref(items).scannedNumber), |
|
k: common_vendor.t(common_vendor.unref(items).signNub), |
|
l: common_vendor.f(common_vendor.unref(datalist), (item, k0, i0) => { |
|
return { |
|
a: common_vendor.t(item.consignee), |
|
b: common_vendor.t(item.deliveryStatus), |
|
c: common_vendor.t(item.ordNub), |
|
d: common_vendor.t(item.reservationNum), |
|
e: common_vendor.t(item.signNub), |
|
f: common_vendor.o(($event) => gosinorderscan(item)) |
|
}; |
|
}) |
|
}; |
|
}; |
|
} |
|
}); |
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "F:/物流/logPm/pagesHome/pages/CustomerSign/CustomerSign.vue"]]); |
|
wx.createPage(MiniProgramPage);
|
|
|