diff --git a/src/api/api-lock.json b/src/api/api-lock.json index dbe5e42..f5f99a3 100644 --- a/src/api/api-lock.json +++ b/src/api/api-lock.json @@ -3437,8 +3437,8 @@ ] }, { - "description": "增加/编辑申请单", - "name": "saveOrUpdateApply", + "description": "提交申请单", + "name": "saveApply", "method": "put", "path": "/apply", "response": { @@ -3704,120 +3704,6 @@ ] } ] - }, - { - "description": "盘点管理", - "name": "stocktaking", - "interfaces": [ - { - "description": "增加/编辑盘点", - "name": "saveOrUpdateStocktaking", - "method": "put", - "path": "/stocktaking", - "response": { - "typeArgs": [], - "typeName": "Stocktaking", - "isDefsType": true, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "parameters": [ - { - "required": true, - "in": "body", - "name": "requestBody", - "dataType": { - "typeArgs": [], - "typeName": "Stocktaking", - "isDefsType": true, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - } - } - ] - }, - { - "description": "分页查询盘点列表", - "name": "stocktakingList", - "method": "get", - "path": "/stocktaking-list", - "response": { - "typeArgs": [], - "typeName": "IPageStocktaking", - "isDefsType": true, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "parameters": [ - { - "description": "页码", - "required": false, - "in": "query", - "name": "page", - "dataType": { - "typeArgs": [], - "typeName": "number", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - } - }, - { - "description": "页面大小", - "required": false, - "in": "query", - "name": "size", - "dataType": { - "typeArgs": [], - "typeName": "number", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - } - }, - { - "description": "类型", - "required": false, - "in": "query", - "name": "type", - "dataType": { - "typeArgs": [], - "typeName": "number", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - } - }, - { - "description": "搜索关键词", - "required": false, - "in": "query", - "name": "key", - "dataType": { - "typeArgs": [], - "typeName": "string", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - } - } - ] - } - ] } ], "name": "material", @@ -3939,7 +3825,7 @@ ] }, { - "description": "入库/出库 申请单", + "description": "入库/出库/盘点 申请单", "name": "ApplyForm", "templateArgs": [], "properties": [ @@ -3971,6 +3857,36 @@ "description": "申请日期", "required": false }, + { + "dataType": { + "typeArgs": [], + "typeName": "", + "isDefsType": false, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [ + "'ALL'", + "'PARTIAL'" + ], + "typeProperties": [] + }, + "name": "auditType", + "description": "盘点类型(1: 全盘 2: 部分盘点)", + "required": false + }, + { + "dataType": { + "typeArgs": [], + "typeName": "Codebook", + "isDefsType": true, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [], + "typeProperties": [] + }, + "name": "auditTypeInfo", + "required": false + }, { "dataType": { "typeArgs": [], @@ -3994,8 +3910,40 @@ "enum": [], "typeProperties": [] }, - "name": "exceptionExplain", - "description": "异常说明", + "name": "exception", + "description": "异常原因", + "required": false + }, + { + "dataType": { + "typeArgs": [], + "typeName": "", + "isDefsType": false, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [ + "'NO_ACTION'", + "'IGNORE_AND_SAVE'", + "'REPLENISH'", + "'OTHER'" + ], + "typeProperties": [] + }, + "name": "handle", + "description": "处理方式(0-无需处理 1-忽略并修改库存 2-补充库存 3-其他)", + "required": false + }, + { + "dataType": { + "typeArgs": [], + "typeName": "Codebook", + "isDefsType": true, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [], + "typeProperties": [] + }, + "name": "handleInfo", "required": false }, { @@ -4022,21 +3970,53 @@ "typeProperties": [] }, "name": "isConfirm", - "description": "是否确认", + "description": "是否确认(0: 未确认 1: 已确认)", "required": false }, { "dataType": { "typeArgs": [], - "typeName": "number", + "typeName": "string", "isDefsType": false, "templateIndex": -1, "compileTemplateKeyword": "#/definitions/", "enum": [], "typeProperties": [] }, + "name": "result", + "description": "结果(系统自动生成)", + "required": false + }, + { + "dataType": { + "typeArgs": [], + "typeName": "", + "isDefsType": false, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [ + "'PURCHASE_RECEIPT'", + "'RETURN_RECEIPT'", + "'LOAN_OUT'", + "'AUDIT'" + ], + "typeProperties": [] + }, "name": "type", - "description": "类型", + "description": "类型(1: 采购入库申请 2: 归还入库申请 3: 出库外借申请 4: 盘点申请)", + "required": false + }, + { + "dataType": { + "typeArgs": [], + "typeName": "Codebook", + "isDefsType": true, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [], + "typeProperties": [] + }, + "name": "typeInfo", "required": false }, { @@ -4080,6 +4060,7 @@ "typeProperties": [] }, "name": "applyDetails", + "description": "申请单明细", "required": false }, { @@ -4094,6 +4075,79 @@ }, "name": "applyForm", "required": false + }, + { + "dataType": { + "typeArgs": [ + { + "typeArgs": [], + "typeName": "MaterialStockDetail", + "isDefsType": true, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [], + "typeProperties": [] + } + ], + "typeName": "Array", + "isDefsType": false, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [], + "typeProperties": [] + }, + "name": "detailList", + "description": "扫码的条码集合", + "required": false + } + ] + }, + { + "description": "枚举码本", + "name": "Codebook", + "templateArgs": [], + "properties": [ + { + "dataType": { + "typeArgs": [], + "typeName": "string", + "isDefsType": false, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [], + "typeProperties": [] + }, + "name": "code", + "description": "码本编码", + "required": true + }, + { + "dataType": { + "typeArgs": [], + "typeName": "string", + "isDefsType": false, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [], + "typeProperties": [] + }, + "name": "description", + "description": "码本名称", + "required": true + }, + { + "dataType": { + "typeArgs": [], + "typeName": "string", + "isDefsType": false, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [], + "typeProperties": [] + }, + "name": "name", + "description": "码本值", + "required": true } ] }, @@ -4294,87 +4348,6 @@ } ] }, - { - "name": "IPageStocktaking", - "templateArgs": [], - "properties": [ - { - "dataType": { - "typeArgs": [], - "typeName": "number", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "name": "current", - "required": false - }, - { - "dataType": { - "typeArgs": [], - "typeName": "number", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "name": "pages", - "required": false - }, - { - "dataType": { - "typeArgs": [ - { - "typeArgs": [], - "typeName": "Stocktaking", - "isDefsType": true, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - } - ], - "typeName": "Array", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "name": "records", - "required": false - }, - { - "dataType": { - "typeArgs": [], - "typeName": "number", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "name": "size", - "required": false - }, - { - "dataType": { - "typeArgs": [], - "typeName": "number", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "name": "total", - "required": false - } - ] - }, { "description": "物料信息", "name": "Material", @@ -4383,15 +4356,31 @@ { "dataType": { "typeArgs": [], - "typeName": "number", + "typeName": "", "isDefsType": false, "templateIndex": -1, "compileTemplateKeyword": "#/definitions/", + "enum": [ + "'LOW_VALUE'", + "'HIGH_VALUE'" + ], + "typeProperties": [] + }, + "name": "assignRule", + "description": "赋码规则(0-低值易耗品(不参与赋码) 1-高价值工具类(参与唯一赋码)", + "required": false + }, + { + "dataType": { + "typeArgs": [], + "typeName": "Codebook", + "isDefsType": true, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", "enum": [], "typeProperties": [] }, - "name": "assignRule", - "description": "赋码规则", + "name": "assignRuleInfo", "required": false }, { @@ -4520,10 +4509,38 @@ ] }, { - "description": "盘点信息", - "name": "Stocktaking", + "description": "物料明细数据表", + "name": "MaterialStockDetail", "templateArgs": [], "properties": [ + { + "dataType": { + "typeArgs": [], + "typeName": "number", + "isDefsType": false, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [], + "typeProperties": [] + }, + "name": "applyId", + "description": "入库申请单", + "required": false + }, + { + "dataType": { + "typeArgs": [], + "typeName": "string", + "isDefsType": false, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [], + "typeProperties": [] + }, + "name": "barcode", + "description": "条码", + "required": false + }, { "dataType": { "typeArgs": [], @@ -4537,48 +4554,6 @@ "name": "createdTime", "required": false }, - { - "dataType": { - "typeArgs": [], - "typeName": "string", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "name": "date", - "description": "盘点日期", - "required": false - }, - { - "dataType": { - "typeArgs": [], - "typeName": "string", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "name": "exception", - "description": "异常原因", - "required": false - }, - { - "dataType": { - "typeArgs": [], - "typeName": "string", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "name": "exceptionHandle", - "description": "异常情况处理方式", - "required": false - }, { "dataType": { "typeArgs": [], @@ -4592,62 +4567,6 @@ "name": "id", "required": false }, - { - "dataType": { - "typeArgs": [], - "typeName": "string", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "name": "operator", - "description": "盘点人", - "required": false - }, - { - "dataType": { - "typeArgs": [], - "typeName": "string", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "name": "result", - "description": "盘点结果(系统自动生成)", - "required": false - }, - { - "dataType": { - "typeArgs": [], - "typeName": "string", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "name": "reviewResult", - "description": "盘点审核结果", - "required": false - }, - { - "dataType": { - "typeArgs": [], - "typeName": "string", - "isDefsType": false, - "templateIndex": -1, - "compileTemplateKeyword": "#/definitions/", - "enum": [], - "typeProperties": [] - }, - "name": "reviewer", - "description": "盘点审核人", - "required": false - }, { "dataType": { "typeArgs": [], @@ -4658,22 +4577,39 @@ "enum": [], "typeProperties": [] }, + "name": "materialId", + "description": "物料ID", + "required": false + }, + { + "dataType": { + "typeArgs": [], + "typeName": "", + "isDefsType": false, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [ + "'IN'", + "'OUT'", + "'OFF'" + ], + "typeProperties": [] + }, "name": "status", - "description": "盘点任务状态", + "description": "状态", "required": false }, { "dataType": { "typeArgs": [], - "typeName": "number", - "isDefsType": false, + "typeName": "Codebook", + "isDefsType": true, "templateIndex": -1, "compileTemplateKeyword": "#/definitions/", "enum": [], "typeProperties": [] }, - "name": "type", - "description": "盘点类型", + "name": "statusInfo", "required": false }, { diff --git a/src/api/material/api.d.ts b/src/api/material/api.d.ts index 2bf6e1d..78d2a22 100644 --- a/src/api/material/api.d.ts +++ b/src/api/material/api.d.ts @@ -29,7 +29,7 @@ declare namespace material { } /** - * 入库/出库 申请单 + * 入库/出库/盘点 申请单 */ export interface ApplyForm { /** 申请人 */ @@ -38,20 +38,38 @@ declare namespace material { /** 申请日期 */ applyDate?: string; + /** 盘点类型(1: 全盘 2: 部分盘点) */ + auditType?: 'ALL' | 'PARTIAL'; + + /** auditTypeInfo */ + auditTypeInfo?: material.Codebook; + /** createdTime */ createdTime?: string; - /** 异常说明 */ - exceptionExplain?: string; + /** 异常原因 */ + exception?: string; + + /** 处理方式(0-无需处理 1-忽略并修改库存 2-补充库存 3-其他) */ + handle?: 'NO_ACTION' | 'IGNORE_AND_SAVE' | 'REPLENISH' | 'OTHER'; + + /** handleInfo */ + handleInfo?: material.Codebook; /** id */ id?: number; - /** 是否确认 */ + /** 是否确认(0: 未确认 1: 已确认) */ isConfirm?: boolean; - /** 类型 */ - type?: number; + /** 结果(系统自动生成) */ + result?: string; + + /** 类型(1: 采购入库申请 2: 归还入库申请 3: 出库外借申请 4: 盘点申请) */ + type?: 'PURCHASE_RECEIPT' | 'RETURN_RECEIPT' | 'LOAN_OUT' | 'AUDIT'; + + /** typeInfo */ + typeInfo?: material.Codebook; /** updatedTime */ updatedTime?: string; @@ -61,19 +79,25 @@ declare namespace material { * 申请单 */ export interface ApplyInfo { - /** applyDetails */ + /** 申请单明细 */ applyDetails?: Array; /** applyForm */ applyForm?: material.ApplyForm; + + /** 扫码的条码集合 */ + detailList?: Array; } /** * 物料信息 */ export interface Material { - /** 赋码规则 */ - assignRule?: number; + /** 赋码规则(0-低值易耗品(不参与赋码) 1-高价值工具类(参与唯一赋码) */ + assignRule?: 'LOW_VALUE' | 'HIGH_VALUE'; + + /** assignRuleInfo */ + assignRuleInfo?: material.Codebook; /** 编码 */ code?: string; @@ -104,41 +128,29 @@ declare namespace material { } /** - * 盘点信息 + * 物料明细数据表 */ - export interface Stocktaking { + export interface MaterialStockDetail { + /** 入库申请单 */ + applyId?: number; + + /** 条码 */ + barcode?: string; + /** createdTime */ createdTime?: string; - /** 盘点日期 */ - date?: string; - - /** 异常原因 */ - exception?: string; - - /** 异常情况处理方式 */ - exceptionHandle?: string; - /** id */ id?: number; - /** 盘点人 */ - operator?: string; + /** 物料ID */ + materialId?: number; - /** 盘点结果(系统自动生成) */ - result?: string; + /** 状态 */ + status?: 'IN' | 'OUT' | 'OFF'; - /** 盘点审核结果 */ - reviewResult?: string; - - /** 盘点审核人 */ - reviewer?: string; - - /** 盘点任务状态 */ - status?: number; - - /** 盘点类型 */ - type?: number; + /** statusInfo */ + statusInfo?: material.Codebook; /** updatedTime */ updatedTime?: string; diff --git a/src/api/material/mods/apply/index.ts b/src/api/material/mods/apply/index.ts index be446a2..2f80ace 100644 --- a/src/api/material/mods/apply/index.ts +++ b/src/api/material/mods/apply/index.ts @@ -3,11 +3,11 @@ * */ import applies from './applies'; -import saveOrUpdateApply from './saveOrUpdateApply'; +import saveApply from './saveApply'; import detail from './detail'; export default { applies, - saveOrUpdateApply, + saveApply, detail, }; diff --git a/src/api/material/mods/apply/materials.ts b/src/api/material/mods/apply/materials.ts deleted file mode 100644 index 9da3738..0000000 --- a/src/api/material/mods/apply/materials.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @desc 分页查询申请单列表 - */ -import { defaultSuccess, defaultError, http } from '@/plugins/axios'; -import type { AxiosResponse } from 'axios'; -import type { IPage } from '@/api/api'; -export interface Params { - /** 页码 */ - page?: number; - /** 页面大小 */ - size?: number; - /** 搜索关键词 */ - key?: string; -} - -export default async function ( - /** 类型 */ - type: number, - - params: Params, - success: (data: IPage) => void = defaultSuccess, - fail: (error: { code: string; error?: string }) => void = defaultError, -): Promise { - return http({ - method: 'get', - url: `/apply/${type}`, - - params, - }) - .then((data: AxiosResponse, unknown>) => { - success(data.data); - }) - .catch((error: { code: string; error?: string }) => fail(error)); -} diff --git a/src/api/material/mods/apply/saveOrUpdateApply.ts b/src/api/material/mods/apply/saveApply.ts similarity index 94% rename from src/api/material/mods/apply/saveOrUpdateApply.ts rename to src/api/material/mods/apply/saveApply.ts index de920c8..61a741e 100644 --- a/src/api/material/mods/apply/saveOrUpdateApply.ts +++ b/src/api/material/mods/apply/saveApply.ts @@ -1,5 +1,5 @@ /** - * @desc 增加/编辑申请单 + * @desc 提交申请单 */ import { defaultSuccess, defaultError, http } from '@/plugins/axios'; import type { AxiosResponse } from 'axios'; diff --git a/src/api/material/mods/index.ts b/src/api/material/mods/index.ts index 86d492d..2499b18 100644 --- a/src/api/material/mods/index.ts +++ b/src/api/material/mods/index.ts @@ -2,10 +2,7 @@ import apply from './apply'; import material from './material'; -import stocktaking from './stocktaking'; - export default { apply, material, - stocktaking, }; diff --git a/src/api/material/mods/material/deleteUser.ts b/src/api/material/mods/material/deleteUser.ts deleted file mode 100644 index 419489b..0000000 --- a/src/api/material/mods/material/deleteUser.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * @desc 删除物料 - */ -import { defaultSuccess, defaultError, http } from '@/plugins/axios'; -import type { AxiosResponse } from 'axios'; -export default async function ( - /** 物料id */ - id: number, - - success: (data: void) => void = defaultSuccess, - fail: (error: { code: string; error?: string }) => void = defaultError, -): Promise { - return http({ - method: 'delete', - url: `/material/${id}`, - }) - .then((data: AxiosResponse) => { - success(data.data); - }) - .catch((error: { code: string; error?: string }) => fail(error)); -} diff --git a/src/api/material/mods/stocktaking/index.ts b/src/api/material/mods/stocktaking/index.ts deleted file mode 100644 index 66d21df..0000000 --- a/src/api/material/mods/stocktaking/index.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * @description 盘点管理 - * - */ -import saveOrUpdateStocktaking from './saveOrUpdateStocktaking'; -import stocktakingList from './stocktakingList'; - -export default { - saveOrUpdateStocktaking, - stocktakingList, -}; diff --git a/src/api/material/mods/stocktaking/materialList.ts b/src/api/material/mods/stocktaking/materialList.ts deleted file mode 100644 index 6cfc588..0000000 --- a/src/api/material/mods/stocktaking/materialList.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * @desc 分页查询盘点列表 - */ -import { defaultSuccess, defaultError, http } from '@/plugins/axios'; -import type { AxiosResponse } from 'axios'; -import type { IPage } from '@/api/api'; -export interface Params { - /** 页码 */ - page?: number; - /** 页面大小 */ - size?: number; - /** 类型 */ - type?: number; - /** 搜索关键词 */ - key?: string; -} - -export default async function ( - params: Params, - success: (data: IPage) => void = defaultSuccess, - fail: (error: { code: string; error?: string }) => void = defaultError, -): Promise { - return http({ - method: 'get', - url: `/stocktaking-list`, - - params, - }) - .then((data: AxiosResponse, unknown>) => { - success(data.data); - }) - .catch((error: { code: string; error?: string }) => fail(error)); -} diff --git a/src/api/material/mods/stocktaking/saveOrUpdateStocktaking.ts b/src/api/material/mods/stocktaking/saveOrUpdateStocktaking.ts deleted file mode 100644 index 1fda7f4..0000000 --- a/src/api/material/mods/stocktaking/saveOrUpdateStocktaking.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * @desc 增加/编辑盘点 - */ -import { defaultSuccess, defaultError, http } from '@/plugins/axios'; -import type { AxiosResponse } from 'axios'; -export default async function ( - /** 请求体 */ - requestBody: material.Stocktaking, - - success: (data: material.Stocktaking) => void = defaultSuccess, - fail: (error: { code: string; error?: string }) => void = defaultError, -): Promise { - return http({ - method: 'put', - url: `/stocktaking`, - data: requestBody, - }) - .then((data: AxiosResponse) => { - success(data.data); - }) - .catch((error: { code: string; error?: string }) => fail(error)); -} diff --git a/src/api/material/mods/stocktaking/stocktakingList.ts b/src/api/material/mods/stocktaking/stocktakingList.ts deleted file mode 100644 index 6cfc588..0000000 --- a/src/api/material/mods/stocktaking/stocktakingList.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * @desc 分页查询盘点列表 - */ -import { defaultSuccess, defaultError, http } from '@/plugins/axios'; -import type { AxiosResponse } from 'axios'; -import type { IPage } from '@/api/api'; -export interface Params { - /** 页码 */ - page?: number; - /** 页面大小 */ - size?: number; - /** 类型 */ - type?: number; - /** 搜索关键词 */ - key?: string; -} - -export default async function ( - params: Params, - success: (data: IPage) => void = defaultSuccess, - fail: (error: { code: string; error?: string }) => void = defaultError, -): Promise { - return http({ - method: 'get', - url: `/stocktaking-list`, - - params, - }) - .then((data: AxiosResponse, unknown>) => { - success(data.data); - }) - .catch((error: { code: string; error?: string }) => fail(error)); -} diff --git a/src/views/stock/component/applyConfirm.vue b/src/views/stock/component/applyConfirm.vue index 4358e1e..3c93c63 100644 --- a/src/views/stock/component/applyConfirm.vue +++ b/src/views/stock/component/applyConfirm.vue @@ -12,9 +12,17 @@ - + + + - + + + @@ -63,7 +71,7 @@ interface RowVO { id: number name: string - scan: string + assignRule: string applyNum: number scanNum: number remark: string diff --git a/src/views/stock/component/applyForm.vue b/src/views/stock/component/applyForm.vue index 13edb31..468297c 100644 --- a/src/views/stock/component/applyForm.vue +++ b/src/views/stock/component/applyForm.vue @@ -8,9 +8,9 @@ - 采购入库 - 归还入库 - 出库外借 + 采购入库 + 归还入库 + 出库外借 @@ -18,8 +18,7 @@ + show-search :options="options" @deselect="removeEvent" @select="insertEvent"> @@ -34,7 +33,11 @@ - + + +