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 @@ > + + + +