diff --git a/src/api/erp/product/product/index.ts b/src/api/erp/product/product/index.ts index e922d3d1..7270a803 100644 --- a/src/api/erp/product/product/index.ts +++ b/src/api/erp/product/product/index.ts @@ -20,6 +20,12 @@ export interface ProductVO { purchasePrice: number // 采购价格,单位:元 salePrice: number // 销售价格,单位:元 minPrice: number // 最低价格,单位:元 + deviceIds?: string // 关联设备ID列表 + moldIds?: string // 关联模具ID列表 + devices?: { id: number; name: string }[] // 关联设备列表 + molds?: { id: number; name: string }[] // 关联模具列表 + deviceList?: any[] + moldList?: any[] } // ERP 产品 API diff --git a/src/components/TableSelectDialog/TableSelectDialog.vue b/src/components/TableSelectDialog/TableSelectDialog.vue new file mode 100644 index 00000000..4e278809 --- /dev/null +++ b/src/components/TableSelectDialog/TableSelectDialog.vue @@ -0,0 +1,146 @@ + + + diff --git a/src/views/erp/product/product/ProductForm.vue b/src/views/erp/product/product/ProductForm.vue index 51c85318..77918894 100644 --- a/src/views/erp/product/product/ProductForm.vue +++ b/src/views/erp/product/product/ProductForm.vue @@ -133,6 +133,26 @@ + + + + + + + + + + {{ t('common.cancel') }} + +