Browse Source

YT-990发货策略,选择生成线,保存后显示空

intex
zhaoyiran 2 weeks ago
parent
commit
072e658e5f
  1. 22
      src/views/wms/basicDataManage/strategySetting/strategy/deliverStrategy/AddForm.vue
  2. 8
      src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue

22
src/views/wms/basicDataManage/strategySetting/strategy/deliverStrategy/AddForm.vue

@ -530,8 +530,8 @@ const formData = ref({
{ ParamCode: 'InventoryStatus', Operator: 'IN', Value: [] }, { ParamCode: 'InventoryStatus', Operator: 'IN', Value: [] },
// //
{ ParamCode: 'StorageType', Operator: 'IN', Value: [] }, { ParamCode: 'StorageType', Operator: 'IN', Value: [] },
// // 线
{ ParamCode: 'TransactionType', Operator: 'IN', Value: '' } { ParamCode: 'Productionline', Operator: 'IN', Value: '' }
], ],
configuration: { configuration: {
// //
@ -626,10 +626,10 @@ const options = reactive({
], ],
// //
warehouseTypeOptions: [ warehouseTypeOptions: [
{ value: 'WarehouseCode', label: '仓库' }, { value: 'WarehouseCode', label: '仓库' },
{ value: 'AreaCode', label: '库区' }, { value: 'AreaCode', label: '库区' },
{ value: 'LocationGroupCode', label: '库位组' }, { value: 'LocationGroupCode', label: '库位组' },
{ value: 'LocationCode', label: '库位' } { value: 'LocationCode', label: '库位' }
], ],
warehouseList: [], warehouseList: [],
originWarehouseList: [], originWarehouseList: [],
@ -837,7 +837,7 @@ const searchTransactionType = ()=>{
'请选择生产线', '请选择生产线',
Productionline.allSchemas, Productionline.allSchemas,
ProductionlineApi.getProductionlinePage, ProductionlineApi.getProductionlinePage,
'TransactionType', 'Productionline',
'code', 'code',
true, true,
undefined, undefined,
@ -923,8 +923,8 @@ const searchWarehouse = ()=>{
} }
const searchTableSuccess = (formField, searchField, val, type, row) => { const searchTableSuccess = (formField, searchField, val, type, row) => {
if(formField=='TransactionType'){ if(formField=='Productionline'){
let transactionType = formData.value.condition.find(item=>item['ParamCode']=='TransactionType') let transactionType = formData.value.condition.find(item=>item['ParamCode']=='Productionline')
if(transactionType){ if(transactionType){
transactionType.Value = val.map(item=>(item['code'])).join(',') transactionType.Value = val.map(item=>(item['code'])).join(',')
} }
@ -1130,8 +1130,8 @@ const resetForm = () => {
{ ParamCode: 'InventoryStatus', Operator: 'IN', Value: [] }, { ParamCode: 'InventoryStatus', Operator: 'IN', Value: [] },
// //
{ ParamCode: 'StorageType', Operator: 'IN', Value: [] }, { ParamCode: 'StorageType', Operator: 'IN', Value: [] },
// // 线
{ ParamCode: 'TransactionType', Operator: 'IN', Value: '' } { ParamCode: 'Productionline', Operator: 'IN', Value: '' }
], ],
configuration: { configuration: {

8
src/views/wms/basicDataManage/strategySetting/strategy/downShelfStrategy/AddForm.vue

@ -804,10 +804,10 @@ const options = reactive({
], ],
// //
warehouseTypeOptions: [ warehouseTypeOptions: [
{ value: 'WarehouseCode', label: '仓库' }, { value: 'WarehouseCode', label: '仓库' },
{ value: 'AreaCode', label: '库区' }, { value: 'AreaCode', label: '库区' },
{ value: 'LocationGroupCode', label: '库位组' }, { value: 'LocationGroupCode', label: '库位组' },
{ value: 'LocationCode', label: '库位' } { value: 'LocationCode', label: '库位' }
], ],
warehouseList: [], warehouseList: [],
originWarehouseList: [], originWarehouseList: [],

Loading…
Cancel
Save