|
@ -300,10 +300,10 @@ const getDefaultToLocationCode = async ()=>{ |
|
|
}) |
|
|
}) |
|
|
console.log('params',params) |
|
|
console.log('params',params) |
|
|
let res = await LocationApi.selectBusinessTypeToLocation(params) |
|
|
let res = await LocationApi.selectBusinessTypeToLocation(params) |
|
|
console.log('获取到库位默认值',res) |
|
|
// console.log('获取到库位默认值',res) |
|
|
if(res&&res.list.length>0){ |
|
|
// if(res&&res.list.length>0){ |
|
|
formRef.value.formRef.formModel["toLocationCode"] = res.list[0]['code'] |
|
|
// formRef.value.formRef.formModel["toLocationCode"] = res.list[0]['code'] |
|
|
} |
|
|
// } |
|
|
} |
|
|
} |
|
|
const clearInput = (field, row, index) => { |
|
|
const clearInput = (field, row, index) => { |
|
|
if(field=='supplierCode'){ |
|
|
if(field=='supplierCode'){ |
|
|