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

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

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

Loading…
Cancel
Save