From 8d93d4a5e413f6687d3659bbd1dfff7171f092f3 Mon Sep 17 00:00:00 2001 From: ZY <zc857179121@qq.com> Date: 星期二, 01 四月 2025 10:56:13 +0800 Subject: [PATCH] 1 --- Monitor-APP/pages/home/home.vue | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Monitor-APP/pages/home/home.vue b/Monitor-APP/pages/home/home.vue index 8d4873b..ed86c39 100644 --- a/Monitor-APP/pages/home/home.vue +++ b/Monitor-APP/pages/home/home.vue @@ -253,7 +253,7 @@ <view>鍟嗗搧缂栫爜锛歿{item.matnr}}</view> <view>鍟嗗搧鍚嶇О锛歿{item.maknx}}</view> <view>瑙勬牸锛歿{item.specs}}</view> - <view>鍥惧彿锛歿{item.model}}</view> + <view>鍥惧彿锛歿{item.model ? item.model :''}}</view> <view>鏁伴噺锛歿{item.count}} / {{item.total ? item.total : '--'}}</view> @@ -600,10 +600,23 @@ if (res.data[0].ioType === 101) { that.infoText.title = '鍏ㄦ澘鍑哄簱' } else if (res.data[0].ioType === 103) { - that.infoText.title = '妫�鏂欏嚭搴�' + that.infoText.title = '鎷f枡鍑哄簱' } else if (res.data[0].ioType === 107) { that.infoText.title = '鐩樼偣鍑哄簱' + }else if (res.data[0].ioType === 1) { + that.infoText.title = '鍏ㄦ澘鍏ュ簱' + }else if (res.data[0].ioType === 10) { + that.infoText.title = '绌烘澘鍏ュ簱' + }else if (res.data[0].ioType === 54) { + that.infoText.title = '骞舵澘鍏ュ簱' + }else if (res.data[0].ioType === 110) { + that.infoText.title = '绌烘澘鍑哄簱' + }else if (res.data[0].ioType === 53) { + that.infoText.title = '鎷f枡鍐嶅叆搴�' + }else if (res.data[0].ioType === 57) { + that.infoText.title = '鐩樼偣鍐嶅叆搴�' } + that.infoText.staNo = res.data[0].staNo that.swiperList = res.data[0].matDtos // that.infoText.matnr = res.data[0].matDtos[0].matnr -- Gitblit v1.9.1