From b3c833eeb97a7ef0e32d05f9ee3604fed6e4a37b Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期三, 26 七月 2023 15:55:46 +0800 Subject: [PATCH] 增加装卸员相关页面和相关功能 --- pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue | 20 -------------------- 1 files changed, 0 insertions(+), 20 deletions(-) diff --git a/pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue b/pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue index 113ebf5..2baa004 100644 --- a/pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue +++ b/pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice.vue @@ -291,10 +291,8 @@ } else if (this.weighList.orderType == '澶栬喘' || this.weighList.orderType == '鍐呰喘' || this.weighList .orderType == '杞叆') { if (this.weighList.hair == 0) { - // this.temporaryWeighObj.hair = this.realTimeWeigh; this.temporaryWeighObj.hair = newV; } else { - // this.temporaryWeighObj.skin = this.realTimeWeigh; this.temporaryWeighObj.skin = newV; this.temporaryWeighObj.clean = (this.weighList.hair - this.temporaryWeighObj.skin).toFixed(2); this.isweigh = this.temporaryWeighObj.clean > this.weighList.orderSurplus || this.temporaryWeighObj @@ -303,13 +301,6 @@ } }, // 鐩戝惉閲嶉噺鍙樺寲 - // globalweigh: { - // handler(v) { - // this.weighData.weigh = this.realTimeWeigh = v; - // console.log(this.realTimeWeigh, '鐪熷疄閲嶉噺鏀瑰彉浜�'); - // }, - // deep: true - // }, globalweigh(newV) { this.weighData.weigh = this.realTimeWeigh = newV; console.log(this.realTimeWeigh, '鐪熷疄閲嶉噺鏀瑰彉浜�'); @@ -334,13 +325,6 @@ // 鍔犲噺鐓ゆ寜閽鐢ㄤ笌鍚� addAndSubtractCoalDisabled() { return this.realTimeWeigh == 0; - // if (this.weighList.orderType == '澶栭攢' || this.weighList.orderType == '鍐呴攢' || this.weighList.orderType == '杞嚭') { - // if (this.weighList.hair == 0) { - // return true; - // } else if (this.weighList.hair != 0) { - // return false; - // } - // } }, // 鏄惁鏀剧┖鎸夐挳绂佺敤 isEvacuation() { @@ -348,15 +332,11 @@ '杞嚭') { return (this.weighList.skin === 0 ? this.temporaryWeighObj.skin : this.weighList.skin) == this .temporaryWeighObj.hair; - // return this.weighList.skin == this.temporaryWeighObj.hair || this.temporaryWeighObj.skin == this - // .temporaryWeighObj.hair; } if (this.weighList.orderType == '澶栬喘' || this.weighList.orderType == '鍐呰喘' || this.weighList.orderType == '杞叆') { return (this.weighList.hair === 0 ? this.temporaryWeighObj.skin : this.weighList.hair) == this .temporaryWeighObj.hair; - // return this.weighList.hair == this.temporaryWeighObj.skin || this.temporaryWeighObj.skin == this - // .temporaryWeighObj.hair; } }, sideline() { -- Gitblit v1.9.1