From 15cbb02e50649b400b42c6178d6566379740e2ef Mon Sep 17 00:00:00 2001 From: my_ong <429426262@qq.com> Date: Sun, 9 Mar 2025 15:55:23 +0800 Subject: [PATCH] =?UTF-8?q?sparkles:=20:sparkles:=20=E4=BA=BA=E5=B7=A5?= =?UTF-8?q?=E7=9B=98=E7=82=B9=E5=8A=9F=E8=83=BD=EF=BC=8C=E5=BE=85=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/api-lock.json | 15 ++ src/api/material/mods/material/all.ts | 2 + src/views/stock/component/manual-form.vue | 207 ++++++++++++++++++ .../stock/stocktaking/stocktaking-page.vue | 14 +- 4 files changed, 236 insertions(+), 2 deletions(-) create mode 100644 src/views/stock/component/manual-form.vue diff --git a/src/api/api-lock.json b/src/api/api-lock.json index 1660930..75f6a60 100644 --- a/src/api/api-lock.json +++ b/src/api/api-lock.json @@ -3976,6 +3976,21 @@ "enum": [], "typeProperties": [] } + }, + { + "description": "是否赋码", + "required": false, + "in": "query", + "name": "assignRule", + "dataType": { + "typeArgs": [], + "typeName": "boolean", + "isDefsType": false, + "templateIndex": -1, + "compileTemplateKeyword": "#/definitions/", + "enum": [], + "typeProperties": [] + } } ] }, diff --git a/src/api/material/mods/material/all.ts b/src/api/material/mods/material/all.ts index 924e81d..c15df6d 100644 --- a/src/api/material/mods/material/all.ts +++ b/src/api/material/mods/material/all.ts @@ -6,6 +6,8 @@ import type { AxiosResponse } from 'axios' export interface Params { /** 类型 */ type?: string + /** 是否赋码 */ + assignRule?: boolean } export default async function ( diff --git a/src/views/stock/component/manual-form.vue b/src/views/stock/component/manual-form.vue new file mode 100644 index 0000000..bda57ff --- /dev/null +++ b/src/views/stock/component/manual-form.vue @@ -0,0 +1,207 @@ + + + diff --git a/src/views/stock/stocktaking/stocktaking-page.vue b/src/views/stock/stocktaking/stocktaking-page.vue index 46c9d5a..3798ae9 100644 --- a/src/views/stock/stocktaking/stocktaking-page.vue +++ b/src/views/stock/stocktaking/stocktaking-page.vue @@ -108,6 +108,10 @@ > + + + +