|
|
@ -305,6 +305,7 @@ const querySupplierParams = ref({ |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
const WarehouseCodeOrArea = ref('WarehouseCode') |
|
|
|
/** 打开弹窗 */ |
|
|
|
const open = async (type: string, strategyCode: string, id?: number) => { |
|
|
|
formStrategyCode.value = strategyCode |
|
|
@ -343,7 +344,8 @@ const open = async (type: string, strategyCode: string, id?: number) => { |
|
|
|
// item.Value = item.Value.split(',') |
|
|
|
// } |
|
|
|
// }) |
|
|
|
warehouseCodeObj.value = formData.value.condition.find(item => item['ParamCode'] == 'WarehouseCode') || '' |
|
|
|
warehouseCodeObj.value = formData.value.condition.find(item => item['ParamCode'] == 'WarehouseCode' || item['ParamCode'] == 'Area') || '' |
|
|
|
WarehouseCodeOrArea.value= formData.value.condition.find(item => item['ParamCode'] == 'WarehouseCode') ? 'WarehouseCode' : 'Area' |
|
|
|
} |
|
|
|
if (data.configuration) { |
|
|
|
formData.value.configuration = JSON.parse(data.configuration) |
|
|
@ -353,6 +355,7 @@ const open = async (type: string, strategyCode: string, id?: number) => { |
|
|
|
formLoading.value = false |
|
|
|
} |
|
|
|
} else { |
|
|
|
WarehouseCodeOrArea.value='WarehouseCode' |
|
|
|
|
|
|
|
Butttondata.value = [ |
|
|
|
defaultButtons.formSaveBtn(null), // 保存 |
|
|
@ -448,6 +451,7 @@ const resetForm = () => { |
|
|
|
PutAway:'TRUE' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
const searchTableRef = ref() |
|
|
@ -647,7 +651,6 @@ const blurDockCode = async () => { |
|
|
|
const OperatorChange = (e, item) => { |
|
|
|
item.ScreenOperator = rangeOptions.find((item) =>item.value === e)?.screenValue |
|
|
|
} |
|
|
|
const WarehouseCodeOrArea = ref('WarehouseCode') |
|
|
|
// 选择客户还是承运商 |
|
|
|
const changeWarehouseArea = (e) => { |
|
|
|
formData.value.condition[0].Value = '' |
|
|
|