Commit e7cd33d6 by 张立顺

fix bug

1 parent d8937811
...@@ -721,7 +721,8 @@ Page({ ...@@ -721,7 +721,8 @@ Page({
// console.log(carBandList[index], carBandList[index][checkName], 'carBandList[name[checkName]]'); // console.log(carBandList[index], carBandList[index][checkName], 'carBandList[name[checkName]]');
carBandList[index].name != carBandList[index[checkName]] carBandList[index].name != carBandList[index[checkName]]
// console.log(checkVlaue != carBandList[index][name], orderObj.lastStaffUuid && userInfo.uuid != orderObj.lastStaffUuid); // console.log(checkVlaue != carBandList[index][name], orderObj.lastStaffUuid && userInfo.uuid != orderObj.lastStaffUuid);
if (carBandList[index][name] != '' && checkVlaue != carBandList[index][name] && orderObj.lastStaffUuid && userInfo.uuid != orderObj.lastStaffUuid) { // console.log(carBandList[index][name]);
if (carBandList[index][checkName] != '' && carBandList[index][checkName] != null && checkVlaue != carBandList[index][name] && orderObj.lastStaffUuid && userInfo.uuid != orderObj.lastStaffUuid) {
wx.showModal({ wx.showModal({
title: '预警提示', title: '预警提示',
content: `${context}与 ${orderObj.lastStaffName} 提交不一致,再次确认!不一致提交日报时,${context}将被清空。`, content: `${context}与 ${orderObj.lastStaffName} 提交不一致,再次确认!不一致提交日报时,${context}将被清空。`,
......
...@@ -414,6 +414,8 @@ Page({ ...@@ -414,6 +414,8 @@ Page({
deliveryCount: '', deliveryCount: '',
brandName: '其他', brandName: '其他',
brandId: -1, brandId: -1,
firstBrandId: '',
firstBrandName: ""
}] }]
} }
this.setData({ this.setData({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!