diff --git a/src/components/device/index.vue b/src/components/device/index.vue index 5e2be8a..5bc6421 100644 --- a/src/components/device/index.vue +++ b/src/components/device/index.vue @@ -35,44 +35,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -102,13 +64,18 @@ import { deviceAddress } from '../../api/api' onLoad() { deviceAddress({orgIds: this.GLOBAL.paramsvariables}).then((response)=>{ let data = response.data.data + console.log(data) this.PDANum = data[0].num this.PDAName = data[0].deviceName this.diCiNum = data[1].num this.diCiName = data[1].deviceName this.daoZhaNum = data[2].num + this.daoZhaName = data[2].deviceName this.youDaoNum = data[3].num + if(this.youDaoNum == 0){ + this.youDaoNum = '-' + } this.youDaoName = data[3].deviceName }).catch((response)=>{ console.log(response); diff --git a/src/components/orderMessage/index.vue b/src/components/orderMessage/index.vue index 19e4376..d1d015a 100644 --- a/src/components/orderMessage/index.vue +++ b/src/components/orderMessage/index.vue @@ -10,8 +10,8 @@
  • 收费金额
  • -