|
@ -70,12 +70,12 @@ const { t } = useI18n() // 国际化 |
|
|
|
|
|
|
|
|
// 查询列表参数设置 |
|
|
// 查询列表参数设置 |
|
|
const searchTableParams = ref([{ |
|
|
const searchTableParams = ref([{ |
|
|
formField: 'customerCode', |
|
|
formField: 'customercode', |
|
|
searchTableTitle: '客户信息', |
|
|
searchTableTitle: '客户信息', |
|
|
searchTableAllSchemas: Customer.allSchemas, |
|
|
searchTableAllSchemas: Customer.allSchemas, |
|
|
searchTablePage: CustomerApi.getCustomerPage |
|
|
searchTablePage: CustomerApi.getCustomerPage |
|
|
},{ |
|
|
},{ |
|
|
formField: 'itemCode', |
|
|
formField: 'itemcode', |
|
|
searchTableTitle: '物料信息', |
|
|
searchTableTitle: '物料信息', |
|
|
searchTableAllSchemas: ItemBasic.allSchemas, |
|
|
searchTableAllSchemas: ItemBasic.allSchemas, |
|
|
searchTablePage: ItembasicApi.getItembasicPage |
|
|
searchTablePage: ItembasicApi.getItembasicPage |
|
@ -144,10 +144,6 @@ const openForm = (type: string, row?: any) => { |
|
|
|
|
|
|
|
|
// 查询页面返回 |
|
|
// 查询页面返回 |
|
|
const searchTableSuccess = (formField, searchField, val, formRef) => { |
|
|
const searchTableSuccess = (formField, searchField, val, formRef) => { |
|
|
console.log(144, formField) |
|
|
|
|
|
console.log(145, searchField) |
|
|
|
|
|
console.log(146, val) |
|
|
|
|
|
console.log(147, formRef) |
|
|
|
|
|
nextTick(() => { |
|
|
nextTick(() => { |
|
|
const setV = {} |
|
|
const setV = {} |
|
|
setV[formField] = val[0][searchField] |
|
|
setV[formField] = val[0][searchField] |
|
@ -206,7 +202,8 @@ const importSuccess = () => { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** 初始化 **/ |
|
|
/** 初始化 **/ |
|
|
onMounted(() => { |
|
|
onMounted(async() => { |
|
|
getList() |
|
|
getList() |
|
|
|
|
|
importTemplateData.templateUrl = await SalepriceApi.importTemplate() |
|
|
}) |
|
|
}) |
|
|
</script> |
|
|
</script> |
|
|