Commit 0916cb41 by 张立顺

fix 提单bug修复

1 parent 3a2f5967
...@@ -475,6 +475,7 @@ Page({ ...@@ -475,6 +475,7 @@ Page({
// 校验是否填写昨日日报 // 校验是否填写昨日日报
let staffCheck = await checkDailyReport(); let staffCheck = await checkDailyReport();
if (staffCheck) return true; if (staffCheck) return true;
console.log(item.url, 'item.url');
wx.$router.go(item.url); wx.$router.go(item.url);
} }
} else { } else {
......
...@@ -23,9 +23,9 @@ Page({ ...@@ -23,9 +23,9 @@ Page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
skylight:"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/skylight.png", skylight: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/skylight.png",
tricorn:"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/tricorn.png", tricorn: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/tricorn.png",
windshield:"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/windshield.png", windshield: "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/miniProgram/windshield.png",
scanIcon: scanIcon:
"https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/ocr_icon.png", "https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/ocr_icon.png",
selectIcon: selectIcon:
...@@ -692,7 +692,7 @@ Page({ ...@@ -692,7 +692,7 @@ Page({
totalPrice: Number(g.price), totalPrice: Number(g.price),
number: e.count, number: e.count,
merchantGoodsId: g.merchantGoodsId, merchantGoodsId: g.merchantGoodsId,
upgradePrice:g.sellPrice upgradePrice: g.sellPrice
}); });
}); });
} }
...@@ -701,7 +701,7 @@ Page({ ...@@ -701,7 +701,7 @@ Page({
orderObj.subOrderList = subOrderList.concat(arr); orderObj.subOrderList = subOrderList.concat(arr);
} }
// if (!filmArr.length) return "车膜升级请选择太阳膜产品录单"; // if (!filmArr.length) return "车膜升级请选择太阳膜产品录单";
if (subOrderList.length == 0) { if (orderObj.subOrderList.length == 0) {
return "商品不能为空"; return "商品不能为空";
} }
// } else { // } else {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!