diff --git a/src/components/J-Picker/jPicker.vue b/src/components/J-Picker/jPicker.vue index 35c130f..b208873 100644 --- a/src/components/J-Picker/jPicker.vue +++ b/src/components/J-Picker/jPicker.vue @@ -186,7 +186,6 @@ export default { this.listData = n; if (this.valKey) { //看看指定了选中值的键名否,没有则默认为数据源index - for (let j = 0, len = n.length; j < len; j++) { if (n[j][this.valKey] == this.val) { this.nSel = j; diff --git a/src/pages/raw/handover/returning/index.vue b/src/pages/raw/handover/returning/index.vue index d2788c6..6df08ac 100644 --- a/src/pages/raw/handover/returning/index.vue +++ b/src/pages/raw/handover/returning/index.vue @@ -12,16 +12,6 @@ {{ $t('message.screen') }} - @@ -37,10 +27,6 @@ - @@ -188,6 +174,7 @@ export default class returningDom extends BasePage { this.Location.push(pickerName); }); this.wlCode = this.Location[0]; + this.form.wkposCode = this.Location[0].sendSpot; this.form.sapFactoryCode = await this.model.queryDefaultFactoryCode(); if (!uni.getStorageSync('data')) { return;