Browse Source

优化库存查询工具返回信息

longjoedyy 3 weeks ago
parent
commit
8c6b89d930
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/ware_tools.py

+ 2 - 2
tools/ware_tools.py

@@ -10,11 +10,11 @@ def get_mtrlware_default_config():
             "入参说明": {
             "入参说明": {
                 "backend_url": "后端API地址",
                 "backend_url": "后端API地址",
                 "token": "认证令牌",
                 "token": "认证令牌",
-                "mtrlname": "物料名称",
+                "mtrlname": "物料名称 或 物料编码, 支持模糊查询",
             },
             },
             "返回值说明": {
             "返回值说明": {
                 "格式": "一个包含物料库存数据的字符串",
                 "格式": "一个包含物料库存数据的字符串",
-                "字段含义": "mtrlcode:物料编码, mtrlname:物料名称, storagename:仓库名称, noallocqty:库存数量, unit:单位, noauditingqty:已开单数量, notauditnoallocqty:未开单数量, pzinfo:配置信息, buydays:采购周期天数",
+                "字段含义": "mtrlcode:物料编码, mtrlname:物料名称, storagename:仓库名称, noallocqty:库存数量, unit:单位, noauditingqty:已开单数量, notauditnoallocqty:未开单数量, pzinfo:配置信息, buydays:采购周期天数,query_status:查询状态",
             },
             },
             "输出格式要求": [
             "输出格式要求": [
                 "以自然语言描述形式输出,不要使用表格",
                 "以自然语言描述形式输出,不要使用表格",