diff --git a/src/typings/md.d.ts b/src/typings/md.d.ts index 3985b1e..6fa6302 100644 --- a/src/typings/md.d.ts +++ b/src/typings/md.d.ts @@ -1,210 +1,212 @@ declare namespace Md { - interface CopperBar { - weightMeasureName: string; - id: number; - weightMeasureId: string; - copperbarName: string; - copperbarDiameter: string; - unitWeight: string; - createBy: string; - createTime: string; - } - interface CopperBarSearch { - copperbarName: string; - copperbarDiameter: string; - weightMeasureId: string | null; - pageNum: number; - pageSize: number; - total: number; - } - interface CopperBarAdd { - weightMeasureName: string; - id?: number; - copperbarDiameter: string; - copperbarName: string; - unitWeight: string; - weightMeasureId: string | null; - } - interface WorkGroupMember { - memberName: string; - memberId: string; - workgroupName: string; - orkgroupCode: string; - headName: string; - ifEnable: number; - createTime: string; - } - interface WorkMember { - userId: number; - userName: string; - nickName: string; - email: string; - phonenumber: string; - } - interface WorkGroupSearch { - workgroupId?: string; - memberName: string; - memberId: string; - pageNum: number; - pageSize: number; - total: number; - } - interface workUser { - phonenumber: string; - userName: string | null; - pageNum: number; - pageSize: number; - total: number | undefined; - } + interface CopperBar { + weightMeasureName: string; + id: number; + weightMeasureId: string; + copperbarName: string; + copperbarDiameter: string; + unitWeight: string; + createBy: string; + createTime: string; + } + interface CopperBarSearch { + copperbarName: string; + copperbarDiameter: string; + weightMeasureId: string | null; + pageNum: number; + pageSize: number; + total: number; + } + interface CopperBarAdd { + weightMeasureName: string; + id?: number; + copperbarDiameter: string; + copperbarName: string; + unitWeight: string; + weightMeasureId: string | null; + } + interface WorkGroupMember { + memberName: string; + memberId: string; + workgroupName: string; + orkgroupCode: string; + headName: string; + ifEnable: number; + createTime: string; + } + interface WorkMember { + userId: number; + userName: string; + nickName: string; + email: string; + phonenumber: string; + } + interface WorkGroupSearch { + workgroupId?: string; + memberName: string; + memberId: string; + pageNum: number; + pageSize: number; + total: number; + } + interface workUser { + phonenumber: string; + userName: string | null; + pageNum: number; + pageSize: number; + total: number | undefined; + } } declare namespace List { - type DataForm = { - productId: number | string | null; - id: number; - processRouteId: string | null; - productTypeId: string; - productTypeName: string; - productName: string; - productCode: string; - productSize: string; - productSizeInternational: string; - numMeasureId: string; - weightMeasureId: string; - specification: string; - processRouteName: string; - numMeasureName: string; - weightMeasureName: string; - createTime: string; - remark: string; - ifEnable: number; - }; - type SearchForm = { - productTypeId: string; - productName: string; - specification: string; - pageNum: number; - pageSize: number; - total: number; - }; - type AddForm = { - processRouteName: string; - id?: number; - productTypeId: string; - productSize: string; - productSizeInternational: string; - specification: string; - processRouteId: string | null; - productName: string; - productTypeName?: string; - weightMeasureId: string | null; - weightMeasureName?: string; - remark: string; - ifEnable: number; - }; + type DataForm = { + productId: number | string | null; + id: number; + processRouteId: string | null; + productTypeId: string; + productTypeName: string; + productName: string; + productCode: string; + productSize: string; + productSizeInternational: string; + numMeasureId: string; + weightMeasureId: string; + specification: string; + processRouteName: string; + numMeasureName: string; + weightMeasureName: string; + createTime: string; + remark: string; + ifEnable: number; + }; + type SearchForm = { + productTypeId: string; + productName: string; + specification: string; + pageNum: number; + pageSize: number; + total: number; + }; + type AddForm = { + processRouteName: string; + id?: number; + productTypeId: string; + productSize: string; + productSizeInternational: string; + specification: string; + processRouteId: string | null; + productName: string; + productTypeName?: string; + weightMeasureId: string | null; + weightMeasureName?: string; + remark: string; + ifEnable: number; + }; } declare namespace Type { - interface searchForm { - id: string | null; - typeCode: string; - ifEnable: number | null; - pageNum: number; - pageSize: number; - total: number; - } - interface addForm { - id?: number; - typeName: string; - typeCode: string; - parentTypeId: number | null; - ifEnable: number; - } - interface DataForm { - createBy: string; - createTime: string; - updateBy: string; - updateTime: string; - remark: string; - id: number; - typeName: string; - typeCode: string; - parentTypeId: number; - ancestors: string; - ifEnable: number; - version: number; - isDeleted: number; - attr1: string | null; - attr2: string | null; - attr3: string | null; - children?: DataForm[]; - } + interface searchForm { + id: string | null; + typeCode: string; + ifEnable: number | null; + pageNum: number; + pageSize: number; + total: number; + } + interface addForm { + id?: number; + typeName: string; + typeCode: string; + parentTypeId: number | null; + ifEnable: number; + } + interface DataForm { + createBy: string; + createTime: string; + updateBy: string; + updateTime: string; + remark: string; + id: number; + typeName: string; + typeCode: string; + parentTypeId: number; + ancestors: string; + ifEnable: number; + version: number; + isDeleted: number; + attr1: string | null; + attr2: string | null; + attr3: string | null; + children?: DataForm[]; + } } declare namespace Item { - interface List { - id: number; - itemCode: string; - itemName: string; - itemTypeName: string; - itemTypeCode?: string; - itemTypeId: string | null | number; - workstageId: string | null; - workstageName: string; - numMeasureName: string; - minStock: string; - maxStock: string; - createTime: string; - remark: string; - ifEnable: number; - attr1: string | null; - attr2: string | null; - attr3: string | null; - } - interface SearchForm { - itemCode: string; - numMeasureId?: string | null; - itemName: string; - numMeasureName?: string; - itemTypeName?: string; - itemTypeId?: string | number | null; - pageNum: number; - pageSize: number; - total: number; - weightMeasureId?: string | null; - } - interface AddForm { - remark: string; - id?: number | null; - specification?: string; - itemTypeId: string | number | null; - itemTypeName?: string; - workstageId: string | null; - workstageName?: string; - itemName: string; - weightMeasureId?: string | null; - weightMeasureName?: string; - ifEnable: number; - } + interface List { + id: number; + itemCode: string; + itemName: string; + itemTypeName: string; + itemTypeCode?: string; + itemTypeId: string | null | number; + workstageId: string | null; + workstageName: string; + numMeasureName: string; + minStock: string; + maxStock: string; + createTime: string; + remark: string; + color: string, + ifEnable: number; + attr1: string | null; + attr2: string | null; + attr3: string | null; + } + interface SearchForm { + itemCode: string; + numMeasureId?: string | null; + itemName: string; + numMeasureName?: string; + itemTypeName?: string; + itemTypeId?: string | number | null; + pageNum: number; + pageSize: number; + total: number; + weightMeasureId?: string | null; + } + interface AddForm { + remark: string; + id?: number | null; + specification?: string; + itemTypeId: string | number | null; + itemTypeName?: string; + workstageId: string | null; + workstageName?: string; + itemName: string; + color?: string; + weightMeasureId?: string | null; + weightMeasureName?: string; + ifEnable: number; + } } declare namespace PrintTemplate { - interface Data { - clientCode: null | string; - clientId: null | string; - clientName: null | string; - code: null | string; - content: null | string; - createBy: null | string; - createTime: null | string; - defaultPrinterName: null | string; - enableFlag: null | string; - remark: null | string; - status: null | string; - templateCode: null | string; - templateId: null | string; - templateName: null | string; - type: null | string; - updateBy: null | string; - updateTime: null | string; - userId: null | string; - userNickName: null | string; - } + interface Data { + clientCode: null | string; + clientId: null | string; + clientName: null | string; + code: null | string; + content: null | string; + createBy: null | string; + createTime: null | string; + defaultPrinterName: null | string; + enableFlag: null | string; + remark: null | string; + status: null | string; + templateCode: null | string; + templateId: null | string; + templateName: null | string; + type: null | string; + updateBy: null | string; + updateTime: null | string; + userId: null | string; + userNickName: null | string; + } } diff --git a/src/typings/page-route.d.ts b/src/typings/page-route.d.ts index 5517272..db8ce04 100644 --- a/src/typings/page-route.d.ts +++ b/src/typings/page-route.d.ts @@ -170,6 +170,7 @@ declare namespace PageRoute { | 'scm_accessorySupplier' | 'storage' | 'storage_copperWire' + | 'storage_auxiliaryProduceinfo' | 'storage_earlyWarning' | 'storage_enamelCover' | 'storage_finishedProductInventory' diff --git a/src/views/auxiliaryProduceinfo/components/table-action-modal.vue b/src/views/auxiliaryProduceinfo/components/table-action-modal.vue index 084ae20..eedeff3 100644 --- a/src/views/auxiliaryProduceinfo/components/table-action-modal.vue +++ b/src/views/auxiliaryProduceinfo/components/table-action-modal.vue @@ -1,100 +1,100 @@ diff --git a/src/views/auxiliaryProduceinfo/index.vue b/src/views/auxiliaryProduceinfo/index.vue index 881802a..4d28f06 100644 --- a/src/views/auxiliaryProduceinfo/index.vue +++ b/src/views/auxiliaryProduceinfo/index.vue @@ -1,134 +1,134 @@ diff --git a/src/views/client/information/index.vue b/src/views/client/information/index.vue index ed1970d..dee5976 100644 --- a/src/views/client/information/index.vue +++ b/src/views/client/information/index.vue @@ -1,240 +1,240 @@ diff --git a/src/views/md/itemlist/index.vue b/src/views/md/itemlist/index.vue index e24627c..97c0665 100644 --- a/src/views/md/itemlist/index.vue +++ b/src/views/md/itemlist/index.vue @@ -1,141 +1,144 @@ diff --git a/src/views/procure/procureOrder/index.vue b/src/views/procure/procureOrder/index.vue index 03f591b..ddd3b58 100644 --- a/src/views/procure/procureOrder/index.vue +++ b/src/views/procure/procureOrder/index.vue @@ -355,7 +355,7 @@ function getListTotal(total, num, price) { // } // eslint-disable-next-line no-param-reassign, @typescript-eslint/no-unused-vars - return total.form.totalPrice.toFixed(4); + return total.form.totalPrice; } const editFlag = ref(false); const getTotalPric = computed(() => { diff --git a/src/views/produce/feed/index.vue b/src/views/produce/feed/index.vue index f321b2c..939ef70 100644 --- a/src/views/produce/feed/index.vue +++ b/src/views/produce/feed/index.vue @@ -1,24 +1,24 @@ diff --git a/src/views/produce/report/index.vue b/src/views/produce/report/index.vue index 155807c..70f6321 100644 --- a/src/views/produce/report/index.vue +++ b/src/views/produce/report/index.vue @@ -1,24 +1,24 @@ diff --git a/src/views/produce/workOrderArrange/index.vue b/src/views/produce/workOrderArrange/index.vue index e2e5472..3488974 100644 --- a/src/views/produce/workOrderArrange/index.vue +++ b/src/views/produce/workOrderArrange/index.vue @@ -1,52 +1,52 @@ diff --git a/src/views/storage/materialstock/index.vue b/src/views/storage/materialstock/index.vue index d8b990e..029eeb4 100644 --- a/src/views/storage/materialstock/index.vue +++ b/src/views/storage/materialstock/index.vue @@ -1,151 +1,151 @@