Browse Source

HL-5801发料申请新增,粘贴物料批量添加,添加后不要按物料排序,粘贴顺序是什么就是什么,包括创建申请后,导出的申请也不要改变顺序

hella_online_20240904
yufei_wang 3 months ago
parent
commit
3418c48f3e
  1. 3
      src/views/wms/issueManage/issue/issueRequestMain/index.vue

3
src/views/wms/issueManage/issue/issueRequestMain/index.vue

@ -487,6 +487,9 @@ const submitForm = async (formType, submitData) => {
if(data.masterId){ if(data.masterId){
data.id = data.masterId data.id = data.masterId
} }
tableData.value.forEach((item,index)=>{
item['orderNumber'] = index+1
})
data.subList = tableData.value // data.subList = tableData.value //
if(tableData.value.find(item => (item.qty <= 0))) { if(tableData.value.find(item => (item.qty <= 0))) {
message.warning('数量必须大于0') message.warning('数量必须大于0')

Loading…
Cancel
Save