Browse Source

HL-6282 库存修改需要允许修改批次

hella_online_20241024
chenfang 1 month ago
parent
commit
bd115518e2
  1. 2
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue
  2. 16
      src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts

2
src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/index.vue

@ -462,7 +462,7 @@ const submitForm = async (formType, submitData) => {
return return
} }
let findInventoryStatus = tableData.value.find(item=>item.fromInventoryStatus&&item.toInventoryStatus&&item.fromInventoryStatus==item.toInventoryStatus&&item.fromQty&&item.toQty&&item.fromQty==item.toQty&&item.fromExpireDate&&item.toExpireDate&&item.fromExpireDate==item.toExpireDate&&item.originFrozen==item.frozen) let findInventoryStatus = tableData.value.find(item=>item.fromBatch&&item.toBatch&&item.fromBatch==item.toBatch&&item.fromInventoryStatus&&item.toInventoryStatus&&item.fromInventoryStatus==item.toInventoryStatus&&item.fromQty&&item.toQty&&item.fromQty==item.toQty&&item.fromExpireDate&&item.toExpireDate&&item.fromExpireDate==item.toExpireDate&&item.originFrozen==item.frozen)
if(findInventoryStatus){ if(findInventoryStatus){
message.warning('您未修改数据') message.warning('您未修改数据')
return return

16
src/views/wms/moveManage/inventorychange/inventorychangeRequestMain/inventorychangeRequestMain.data.ts

@ -505,14 +505,14 @@ export const InventorychangeRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: { table: {
width: 150 width: 150
}, },
tableForm: { // tableForm: {
disabled: true // disabled: true
}, // },
form: { // form: {
componentProps: { // componentProps: {
disabled: true // disabled: true
} // }
} // }
}, },
// { // {
// label: '从器具号', // label: '从器具号',

Loading…
Cancel
Save