Commit 364b3763 authored by Facius's avatar Facius

退件传参错误

parent 361c6fc7
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
var pages = getCurrentPages(); var pages = getCurrentPages();
if(pages.length >= 2) { if(pages.length >= 2) {
var prevPage = pages[pages.length - 2]; //上一个页面 var prevPage = pages[pages.length - 2]; //上一个页面
const parts = prevPage.$vm._data.selectedParts const parts = prevPage.$vm.selectedParts
if(this.$u.test.isEmpty(parts)) { if(this.$u.test.isEmpty(parts)) {
this.$u.route({type: 'back'}) this.$u.route({type: 'back'})
} }
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
}, },
validateForm() { validateForm() {
if(this.$u.test.isEmpty(this.parts)) { if(this.$u.test.isEmpty(this.parts)) {
this.$u.toast('物流公司不能为空') this.$u.toast('备件不能为空')
return false return false
} }
if(this.curWay == 0) { if(this.curWay == 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment