Browse Source

fix: [SBBJ-972] 校验库位移动代码

master
zengqinyuan 1 month ago
parent
commit
20c2bd94c6
  1. 7
      src/pages/outLocation/addForm.vue

7
src/pages/outLocation/addForm.vue

@ -112,7 +112,7 @@
<view class="input" v-if="form1.moveCode">
{{ form1.moveCode }}
</view>
<view class="placeholder" v-else> 请选择备件</view>
<view class="placeholder" v-else> 请选择库位移动代码</view>
<u-icon name="arrow-right" color="#aaaaaa" size="28"></u-icon>
</view>
</u-form-item>
@ -309,6 +309,11 @@ function addSpare() {
return
}
}
if (!form1.value.moveCode) {
proxy.$modal.showToast('请选择库位移动代码')
return
}
form.value.itemNumbers.push(form1.value)
isPopupShow.value = false
}

Loading…
Cancel
Save