Browse Source

补料申请 去掉只能选择一条数据提示

hella_online_20240829
wangyufei 4 months ago
parent
commit
b8498ac217
  1. 8
      src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue

8
src/views/wms/issueManage/repleinsh/repleinshRequestMain/index.vue

@ -379,10 +379,10 @@ const submitForm = async (formType, submitData) => {
data.id = data.masterId
}
data.subList = tableData.value //
if( data.subList.length>1){
message.warning('明细只能选择一条数据')
return;
}
// if( data.subList.length>1){ //
// message.warning('')
// return;
// }
if(tableData.value.find(item => (item.qty <= 0))) {
message.warning('数量必须大于0')
formRef.value.formLoading = false

Loading…
Cancel
Save