|
@ -89,9 +89,11 @@ const searchTableParams = ref([ |
|
|
// 查询页面返回 |
|
|
// 查询页面返回 |
|
|
const searchTableSuccess = (formField, searchField, val, basicFormRef, type, row ) => { |
|
|
const searchTableSuccess = (formField, searchField, val, basicFormRef, type, row ) => { |
|
|
nextTick(() => { |
|
|
nextTick(() => { |
|
|
const setV = {} |
|
|
const setV = {} |
|
|
setV[formField] = val[0][searchField] |
|
|
setV[formField] = val[0][searchField] |
|
|
basicFormRef.setValues(setV) |
|
|
setV['itemName'] = val[0]['name'] |
|
|
|
|
|
basicFormRef.setValues(setV) |
|
|
|
|
|
basicFormRef.setValues(setV) |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -103,7 +105,7 @@ const { getList, setSearchParams } = tableMethods |
|
|
|
|
|
|
|
|
// 列表头部按钮 |
|
|
// 列表头部按钮 |
|
|
const HeadButttondata = [ |
|
|
const HeadButttondata = [ |
|
|
// defaultButtons.defaultAddBtn({hasPermi:'wms:package:create'}), // 新增 |
|
|
defaultButtons.defaultAddBtn({hasPermi:'wms:package:create'}), // 新增 |
|
|
// defaultButtons.defaultImportBtn({hasPermi:'wms:package:import'}), // 导入 |
|
|
// defaultButtons.defaultImportBtn({hasPermi:'wms:package:import'}), // 导入 |
|
|
defaultButtons.defaultExportBtn({hasPermi:'wms:package:export'}), // 导出 |
|
|
defaultButtons.defaultExportBtn({hasPermi:'wms:package:export'}), // 导出 |
|
|
defaultButtons.defaultFreshBtn(null), // 刷新 |
|
|
defaultButtons.defaultFreshBtn(null), // 刷新 |
|
|