|
@ -57,6 +57,7 @@ |
|
|
@submitForm="submitForm" |
|
|
@submitForm="submitForm" |
|
|
:isShowButton = isShowButton |
|
|
:isShowButton = isShowButton |
|
|
:basicFormWidth="75" |
|
|
:basicFormWidth="75" |
|
|
|
|
|
:tableFormDataLength="false" |
|
|
/> |
|
|
/> |
|
|
|
|
|
|
|
|
<!-- 详情 --> |
|
|
<!-- 详情 --> |
|
@ -130,6 +131,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
setV['inPackUnit'] = val[0]['code'] |
|
|
setV['inPackUnit'] = val[0]['code'] |
|
|
}else if(formField == 'outPackUnit') { |
|
|
}else if(formField == 'outPackUnit') { |
|
|
setV['outPackUnit'] = val[0]['code'] |
|
|
setV['outPackUnit'] = val[0]['code'] |
|
|
|
|
|
}else if(formField == 'itemCode') { |
|
|
|
|
|
setV['itemCode'] = val[0]['code'] |
|
|
}else{ |
|
|
}else{ |
|
|
setV[formField] = setV[0][searchField] |
|
|
setV[formField] = setV[0][searchField] |
|
|
} |
|
|
} |
|
@ -285,7 +288,7 @@ const handleExport = async () => { |
|
|
// 发起导出 |
|
|
// 发起导出 |
|
|
exportLoading.value = true |
|
|
exportLoading.value = true |
|
|
const data = await ItemareaApi.exportItemarea(tableObject.params) |
|
|
const data = await ItemareaApi.exportItemarea(tableObject.params) |
|
|
download.excel(data, '发货申请主.xlsx') |
|
|
download.excel(data, '物料库区配置管理主.xlsx') |
|
|
} catch { |
|
|
} catch { |
|
|
} finally { |
|
|
} finally { |
|
|
exportLoading.value = false |
|
|
exportLoading.value = false |
|
|