Browse Source

修复部分bug

master
qb 10 months ago
parent
commit
33eec5eb95
  1. 1
      config/host.js
  2. 2
      pagesHome/pages/CustomerSign/CustomerSign.vue
  3. 33
      pagesHome/pages/signinScan/signinScan.vue
  4. 6
      unpackage/dist/dev/app-plus/app-service.js

1
config/host.js

@ -16,6 +16,7 @@
// const devhost = 'http://192.168.6.141:8777/'
// cg
// const devhost = 'http://192.168.10.57:13000/'
7
// 正式
const devhost = 'https://h5uapi.huitongys.com/'
// cg

2
pagesHome/pages/CustomerSign/CustomerSign.vue

@ -149,6 +149,8 @@
utils.ttsspke('请选择签收客户')
// #endif
console.log('op.item :>> ', op.item);
details.items = JSON.parse(op.item)
details.id = JSON.parse(op.item).id
// initpage()

33
pagesHome/pages/signinScan/signinScan.vue

@ -242,15 +242,42 @@
details.show = false
console.log(details.datatime);
}
function gocustomersign(item : { id : string }) {
function gocustomersign(item) {
console.log('item :>> ', item);
const data = {
type_name: item.type_name,
deliStatus_name: item.deliStatus_name,
vehicleName: item.vehicleName,
driverName: item.driverName,
loadingTeamName: item.loadingTeamName,
isstock: item.isstock,
customersNumber: item.customersNumber,
orderNumber: item.orderNumber,
id: item.id
}
uni.navigateTo({
url: '/pagesHome/pages/CustomerSign/CustomerSign?item=' + JSON.stringify(item)
url: '/pagesHome/pages/CustomerSign/CustomerSign?item=' + JSON.stringify(data)
})
}
function goSignDetailScan(item) {
console.log('item :>> ', item);
const data = {
type_name: item.type_name,
deliStatus_name: item.deliStatus_name,
vehicleName: item.vehicleName,
driverName: item.driverName,
loadingTeamName: item.loadingTeamName,
isstock: item.isstock,
customersNumber: item.customersNumber,
orderNumber: item.orderNumber,
loadCusNub: item.loadCusNub,
loadOrdNub: item.loadOrdNub,
signNub: item.signNub,
signNubSr: item.signNubSr,
id: item.id
}
uni.navigateTo({
url: '/pagesHome/pages/SignDetailScan/SignDetailScan?item=' + JSON.stringify(item)
url: '/pagesHome/pages/SignDetailScan/SignDetailScan?item=' + JSON.stringify(data)
})
}
function cleartime() {

6
unpackage/dist/dev/app-plus/app-service.js vendored

@ -1747,7 +1747,7 @@ if (uni.restoreGlobal) {
};
};
const Base64$1 = new Base64();
const devhost = "http://192.168.10.25:13000/";
const devhost = "http://192.168.10.57:13000/";
const imghost = "";
const host = devhost;
const APPKEY = "h5u:h5u_secret";
@ -20849,7 +20849,7 @@ This will fail in production if not fixed.`);
}
async function scandata() {
if (Number(details.planNum) === Number(details.scanNum))
return utils.handleToast("该客户已齐套");
return utils.handleToast("该客户已齐套, 请返回上一级页面");
if (Number(details.status) !== 0)
return;
let data = {
@ -26124,7 +26124,7 @@ This will fail in production if not fixed.`);
)
]),
vue.createElementVNode("view", null, [
vue.createElementVNode("view", null, "配送件数"),
vue.createElementVNode("view", null, "计划件数"),
vue.createElementVNode(
"view",
null,

Loading…
Cancel
Save