Browse Source

修复bug

master
chenfang 9 months ago
parent
commit
1742b997eb
  1. 16
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts
  2. 32
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue
  3. 6
      src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts

16
src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRecordMain/customerreceiptRecordMain.data.ts

@ -460,14 +460,14 @@ export const CustomerreceiptRecordDetail = useCrudSchemas(reactive<CrudSchema[]>
width: 150
},
},
{
label: '包装号',
field: 'packingNumber',
sort: 'custom',
table: {
width: 150
},
},
// {
// label: '包装号',
// field: 'packingNumber',
// sort: 'custom',
// table: {
// width: 150
// },
// },
{
label: '从包装号',
field: 'fromPackingNumber',

32
src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/index.vue

@ -167,6 +167,38 @@ InventorymoveRequestDetail.allSchemas.tableFormColumns.map(item => {
item.tableForm.disabled = false
}
}
if(item.field == "toLocationCode"){
if (toInventoryStatus.value == 'HOLD') {
item.tableForm.searchCondition = [{
key: 'available',
value: 'TRUE',
isMainValue: false
},
{
key: 'type',
value: 'HOLD',
isMainValue: false
}]
}
if (toInventoryStatus.value == 'SCRAP') {
item.tableForm.searchCondition = [{
key: 'available',
value: 'TRUE',
isMainValue: false
},
{
key: 'type',
value: 'SCRAP',
isMainValue: false
}]
}else {
item.tableForm.searchCondition = {
key: 'available',
value: 'TRUE',
isMainValue: false
}
}
}
})
//

6
src/views/wms/moveManage/inventorymove/inventorymoveRequestMain/inventorymoveRequestMain.data.ts

@ -839,9 +839,9 @@ export const InventorymoveRequestDetailRules = reactive({
// toBatch: [
// { required: true, message: '请输入到批次', trigger: 'blur' }
// ],
// toLocationCode: [
// { required: true, message: '请选择到库位代码', trigger: 'change' }
// ],
toLocationCode: [
{ required: true, message: '请选择到库位代码', trigger: 'change' }
],
// toInventoryStatus: [
// { required: true, message: '请选择到库存状态', trigger: 'change' }
// ],

Loading…
Cancel
Save