diff --git a/pages/hdyy/wrcdj/wrc-load.vue b/pages/hdyy/wrcdj/wrc-load.vue index 293fdae..da5aade 100644 --- a/pages/hdyy/wrcdj/wrc-load.vue +++ b/pages/hdyy/wrcdj/wrc-load.vue @@ -35,9 +35,9 @@ - - + + @@ -89,12 +89,14 @@ this.checkedArr = this.dataList.filter(el => el.checked === true) this.allCheck = this.checkedArr.length === this.dataList.length }, - toZh () { + toXzwl () { if (!this.dataList.length) { uni.navigateTo({ url: '/pages/hdyy/wrcdj/wrczh-matersave?title=物料维护' }) } + }, + toZh () { if (this.dataList.length) { this._install() } @@ -102,7 +104,7 @@ async _install () { this.disabled = true try { - let res = await install(this.checkedArr) + let res = await install(this.dataList) if (res) { uni.showToast({ title: res.message,