1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336 |
- import type {
- u_company,
- u_billcode,
- u_sc_workgroup,
- u_sys_post,
- sys_option,
- u_cust,
- u_cust_rep,
- u_station,
- u_cust_interview,
- oa_emp_workplan,
- u_mtrltype,
- u_mtrlware,
- u_mtrlware_mx,
- u_mtrlware_location,
- u_storage_loca,
- u_scdef,
- FileData,
- FileClass,
- sys_print_template
- // u_mtrldef,
- // u_quote,
- // u_quotemx,
- // u_outwaremx
- } from "@/typings/business";
- import type { uSale } from "@/typings/modules/sale";
- import type { uTech } from "@/typings/modules/technology";
- // 请求响应参数(不包含data)
- export interface Result {
- code: string;
- msg: string;
- }
- // 请求响应参数(包含data)
- export interface ResultData<T = any> extends Result {
- data: T;
- }
- // 分页响应参数
- export interface ResPage<T> {
- list: T[];
- pageNum: number;
- pageSize: number;
- total: number;
- }
- // 分页请求参数
- export interface ReqPage {
- pageNum: number;
- pageSize: number;
- }
- // 文件上传模块
- export namespace Upload {
- export interface ResFileUrl {
- fileUrl: string;
- }
- }
- // 获取递归数据结构
- export interface Recursion {
- /**
- * @description 文本
- */
- text: string;
- /**
- * @description 值
- */
- value: number;
- /**
- * @description 子级递归列表
- */
- children?: Recursion[];
- }
- // 登录模块
- export namespace Login {
- /**
- * @name response: 获取账套
- */
- export interface ResToken {
- /**
- * @description 账户列表
- */
- accounts: string[];
- /**
- * @description IP地址
- */
- ip: string;
- /**
- * @description 端口号
- */
- port: number;
- }
- /**
- * @name request: 登陆
- */
- export interface ReqLoginForm {
- // /**
- // * @argument 账号
- // */
- // account: string;
- // /**
- // * @argument 用户ID
- // */
- // userid: string;
- // /**
- // * @argument 密码
- // */
- // password: string;
- // /**
- // * @argument 客户端类型 (20-工位机平板用户名密码登陆(默认), 30-插件)
- // * 10-OA用户名密码登陆
- // * 11-移动端用户验证码登录
- // * 20-工位机平板用户名密码登陆
- // * 21-工位机刷卡登陆
- // * 22-工位机临时登陆
- // * 23-工位机扫码登录
- // * 30-插件
- // */
- // clientType: number;
- // /**
- // * @argument 请求登陆的客户端类型
- // */
- // typeName: string;
- // /**
- // * @argument 登录设备唯一码
- // */
- // phoneUUID?: string;
- usercode: string;
- psw: string;
- }
- /**
- * @name response: 登陆返回模型
- */
- export interface ResLogin {
- /**
- * @description 登陆成功只需求返回用户名与权限就可以,token应该由客户端建立会话后一直保存
- */
- token: string;
- username: string;
- usercode: string;
- empid: number;
- /**
- * @argument 可用权限列表
- */
- rsltFunids?: number[];
- usermode: number;
- }
- export interface ReqL1APPUserInfo {
- /**
- * @argument 请求权限列表
- */
- funids: number[];
- /**
- * @argument 请求系统选项列表
- */
- options: (number | string)[];
- }
- export interface ResL1APPUserInfo {
- /**
- * @argument 账套名称
- */
- account?: string;
- /**
- * @argument 用户帐号
- */
- usercode?: string;
- /**
- * @argument 用户名称
- */
- username: string;
- /**
- * @argument 员工ID
- */
- empid?: number;
- /**
- * @argument 分部ID
- */
- scid?: number;
- /**
- * @argument 部门ID
- */
- deptid?: number;
- usermode?: number;
- // /**
- // * @argument UUID
- // */
- // uuid?: string;
- // /**
- // * @argument 极光推送ID
- // */
- // ajpushid?: string;
- /**
- * @argument 可用权限列表
- */
- rsltFunids?: number[];
- /**
- * @argument 系统选项列表
- */
- optionList?: sys_option[];
- // /**
- // * @argument 存在新结构MtrlConfigStr,但没开始用
- // */
- // statusname?: string;
- // woodcodename?: string;
- // pcodename?: string;
- // zxmtrlmodename?: string;
- // usermtrlmodename?: string;
- // mtrlsectypename?: string;
- // outrepstrTips?: string;
- // outrepcode?: string;
- // dollarRate?: number;
- // dollarMoneyid?: number;
- // gw_inuse?: number | null;
- // gw_power1?: number | null;
- // gw_power3?: number | null;
- // ifnotin?: number | null;
- // phoneNumber?: string;
- // phoneUUID?: string;
- // /**
- // * @argument 公告栏列表
- // */
- // postList?: u_sys_post[];
- // powerWrkgrp?: u_sc_workgroup[];
- // /**
- // * @argument 该客户是否金龙恒
- // */
- // isJLH?: boolean;
- // /**
- // * @argument 商品所有类别
- // */
- // mtrltypeAllList?: Set<string>;
- // /**
- // * @argument 商品主要类别
- // */
- // mtrltypeList?: string[];
- // /**
- // * @argument 畅销类别
- // */
- // saletypeList?: string[];
- // /**
- // * @argument 产品系列
- // */
- // bandList?: string[];
- // /**
- // * @argument 单据塔头
- // */
- // billcodeList?: u_billcode[];
- // /**
- // * @argument 分账套权限
- // */
- // companyList?: u_company[];
- // /**
- // * @argument 分部权限
- // */
- // scstr?: string;
- // /**
- // * @argument 物料分类
- // */
- // mtrltypestr?: string;
- // /**
- // * @argument 仓库权限-查询
- // */
- // storagestr?: string;
- // /**
- // * @argument 仓库权限-新增
- // */
- // storagestr_new?: string;
- // /**
- // * @argument 仓库权限-审核
- // */
- // storagestr_audit?: string;
- // /**
- // * @argument 出纳账号
- // */
- // accountsidstr?: string;
- }
- }
- /**
- * @name 用户
- */
- export namespace User {
- /**
- * @name response: 获取分部出参
- */
- export interface ResL1UserScdef {
- /**
- * @argument 分部列表
- */
- scdefList?: u_scdef[];
- }
- }
- /**
- * @description 布局接口
- */
- export namespace DwLayout {
- export interface ReqGetDwLayout {
- /**
- * @description 用户ID
- */
- empid?: number;
- /**
- * @description 窗口名
- */
- dwname: string;
- /**
- * @description 表格名
- */
- itemname: string;
- /**
- * @description 是否压缩
- */
- ifcompress: number;
- /**
- * @description 是否删除token.empid的布局信息
- */
- ifdel?: number;
- }
- export interface ReqSetDwLayout extends ReqGetDwLayout {
- /**
- * @description 自定义值
- */
- itemvalue?: string;
- }
- export interface ResGetDwLayout {
- /**
- * @argument 自定义值
- */
- itemvalue: string;
- }
- }
- /**
- * @name 销售
- */
- export namespace Saletask {
- /**
- * @name request: 获取客户所属区域入参
- */
- export interface ReqCusare {
- /**
- * @description 是否递归输出:1:是
- */
- RecurionType?: number;
- }
- export interface ResCusare {
- /**
- * @description 文本
- */
- RecurionList: Recursion[];
- }
- /**
- * @name request: 获取客户列表
- */
- export interface ReqCustList {
- /**
- * @description 区域ID
- */
- cusareaid?: number;
- /**
- * @description 关键词
- */
- keyword?: string;
- /**
- * @description 客户ID
- */
- cusid?: number;
- /**
- * @description 是否有效
- */
- inuse?: number;
- /**
- * @description 状态
- */
- state?: number;
- /**
- * @description 客户名称
- */
- name?: string;
- /**
- * @description 客户编码xxx
- */
- cuscode?: string;
- /**
- * @description 联系电话
- */
- tele?: string;
- /**
- * @description 页码
- */
- pageindex?: number;
- /**
- * @description 每页大小
- */
- pagesize?: number;
- }
- /**
- * @name response: 获取客户列表
- */
- export interface ResCustList {
- custList: u_cust[];
- }
- /**
- * @name request: 获取客户档案详情
- */
- export interface ReqCustDetail {
- /**
- * @description 客户ID
- */
- cusid: number;
- /**
- * @description 活动列表: 0:客户基础信息补充,1:联系人信息,2:货运部信息,3:走访记录,4:工作计划
- */
- active: number[];
- /**
- * @description 开始日期
- */
- fdate?: string;
- /**
- * @description 结束日期
- */
- edate?: string;
- }
- /**
- * @name response: 获取客户列表
- */
- export interface ResCustDetail {
- /**
- * @description 客户信息
- */
- cust: u_cust;
- /**
- * @description 客户关系列表
- */
- custRelList: u_cust_rep[];
- /**
- * @description 站点列表
- */
- stationList: u_station[];
- /**
- * @description 客户访谈列表
- */
- interviewList: u_cust_interview[];
- /**
- * @description 工作计划列表
- */
- workplanList: oa_emp_workplan[];
- }
- /**
- * @name request: 获取物料库存入参
- */
- export interface ReqMtrlWareList {
- /**
- * 仓库
- */
- storageid?: number;
- /**
- * 仓位
- */
- locacode?: string;
- /**
- * keyword
- */
- keyword?: string;
- /**
- * tab: 仓位库存
- */
- iflocacode?: boolean;
- /**
- * tab: 库存分析
- */
- ifanalyze?: number;
- /**
- * 物料编码
- */
- mtrlcode?: string;
- /**
- * 物料名称
- */
- mtrlname?: string;
- /**
- * 物料类别id
- */
- mtrltypeid?: number;
- /**
- * 规格
- */
- mtrlmode?: string;
- /**
- * 自定义
- */
- mtrlsectype?: string;
- /**
- * 自定义1
- */
- zxmtrlmode?: string;
- /**
- * 自定义2
- */
- usermtrlmode?: string;
- /**
- * 生产批号
- */
- plancode?: string;
- /**
- * 条码
- */
- barcode?: string;
- /**
- * 库存id
- */
- mtrlwareid?: number;
- pageindex: number;
- pagesize: number;
- /**
- * 1 显示0库存 0不显示0库存
- */
- ifzeromtrlware?: number;
- }
- /**
- * @name response: 获取物料库存出参
- */
- export interface ResMtrlWareList {
- mtrlwareList: u_mtrlware[];
- locaList: u_storage_loca[];
- }
- /**
- * @name request: 获取物料库存明细入参
- */
- export interface ReqMtrlwareDetailList {
- /**
- * 分部
- */
- scid?: number;
- /**
- * 仓库
- */
- storageid?: number;
- /**
- * 库存id
- */
- mtrlwareid?: number;
- /**
- * 明细tab页
- */
- tabs?: string[];
- /**
- * 是否显示未出仓库存
- */
- ifnotout?: number;
- }
- /**
- * @name response: 获取物料库存明细出参
- */
- export interface ResMtrlwareDetailList {
- mtrlwareMxList: u_mtrlware_mx[];
- locaList: u_mtrlware_location[];
- }
- /**
- * @name request: 获取销售订单列表入参
- */
- export interface ReqSaleTaskList {
- /**
- * @description: 分部id
- */
- scid?: number;
- /**
- * @description: 订单id
- */
- taskid?: number;
- /**
- * @description: 建单人
- */
- assignEmp?: string;
- /**
- * @description: 参数:日期开始
- */
- begindate?: Date;
- /**
- * @description: 参数:日期结束
- */
- enddate?: Date;
- /**
- * @description: 单据编号
- */
- keyword?: string;
- /**
- * @description: 订单号
- */
- taskcode?: string;
- /**
- * @description: 客户名称
- */
- custname?: string;
- /**
- * @description: 相关号
- */
- relcode?: string;
- /**
- * @description: 商品编码
- */
- mtrlcode?: string;
- /**
- * @description: 生产批号
- */
- mtrlcuscode?: string;
- /**
- * @description: 状态
- */
- flag?: number;
- /**
- * @description 页码
- */
- pageindex?: number;
- /**
- * @description 每页大小
- */
- pagesize?: number;
- }
- /**
- * @name response: 获取销售订单列表出参
- */
- export interface ResSaleTaskList {
- saletaskList: uSale.u_saletask[];
- }
- /**
- * @name request: 获取销售订单明细列表入参
- */
- export interface ReqSaleTaskMxList {
- /**
- * @description: 分部id
- */
- scid?: number;
- /**
- * @description: 订单id
- */
- taskid?: number;
- }
- /**
- * @name response: 获取销售订单明细列表出参
- */
- export interface ResSaleTaskMxList {
- saletaskmxList: uSale.u_saletask_mx[];
- }
- /**
- * @name request: 获取销售报价单列表入参
- */
- export interface ReqSaleQuoteList {
- /**
- * @description: scid
- */
- scid?: number;
- /**
- * @description: billid
- */
- billid?: number;
- /**
- * @description: billtype
- */
- billtype?: number;
- /**
- * @description: 单据编号
- */
- keyword?: string;
- /**
- * @description: 相关号
- */
- relcode?: string;
- /**
- * @description: quotecode
- */
- quotecode?: string;
- /**
- * @description: flag
- */
- flag?: number;
- /**
- * @description 页码
- */
- pageindex?: number;
- /**
- * @description 每页大小
- */
- pagesize?: number;
- }
- /**
- * @name request: 获取销售报价单明细列表入参
- */
- export interface ReqSaleQuoteMx {
- /**
- * @description: 分部id
- */
- scid?: number;
- /**
- * @description: 订单id
- */
- billid?: number;
- }
- /**
- * @name request: 获取销售发货单列表出参
- */
- export interface ReqSaleOutwareList {
- /**
- * @description 分部id
- */
- scid?: number;
- /**
- * @description 单据id
- */
- outwareid?: number;
- /**
- * @description: 仓库id
- */
- storageid?: number;
- /**
- * @description: 参数:日期开始
- */
- begindate?: Date;
- /**
- * @description: 参数:日期结束
- */
- enddate?: Date;
- /**
- * @description: 审核状态 -1/null 全部,1 待仓审,2 待财审,3 已财审
- */
- flag?: number;
- /**
- * @description: 确认状态 null/-1 全部, 0 待确认, 2 初确认, 1 已确认
- */
- priceflag?: number;
- /**
- * @description: 客户名称
- */
- cusname?: string;
- /**
- * @description: 单据编号
- */
- keyword?: string;
- /**
- * @description: 车牌号码
- */
- carcode?: string;
- /**
- * @description: billtype
- */
- billtype?: number;
- /**
- * @description: thflag
- */
- thflag?: number;
- /**
- * @description: pageindex
- */
- pageindex?: number;
- /**
- * @description: pagesize
- */
- pagesize?: number;
- }
- /**
- * @name request: 获取销售发货单明细出参
- */
- export interface ReqSaleOutwareMx {
- /**
- * @description: 分部id
- */
- scid?: number;
- /**
- * @description: 订单id
- */
- outwareid?: number;
- }
- }
- /**
- * @name 技术
- */
- export namespace Technology {
- /**
- * @name request: 获取物料类别入参
- */
- export interface ReqMtrlType {
- /**
- * @description 是否递归输出:1:是
- */
- RecurionType?: number;
- parentid?: number;
- }
- /**
- * @name response: 获取物料类别出参
- */
- export interface ResMtrlType {
- /**
- * @description 物料类别递归树
- */
- RecurionList: Recursion[];
- DataList: u_mtrltype[];
- }
- /**
- * @name request: 获取物料信息入参
- */
- export interface ReqMtrldefList {
- /**
- * @description 材料ID
- */
- mtrlid?: number;
- /**
- * @description 仓库ID
- */
- storageid?: number;
- /**
- * @description 属性
- * */
- mtrlprp?: number;
- /**
- * @description 物料类别
- */
- mtrltypeid?: number;
- /**
- * @description 材料来源
- * */
- mtrlorigin?: number;
- /**
- * @description 是否使用
- * */
- isuse?: number;
- /**
- * @description 关键词
- */
- keyword?: string;
- /**
- * @description 材料名称
- * */
- mtrlname?: string;
- /**
- * @description 材料编码
- * */
- mtrlcode?: string;
- /**
- * @description 材料模式
- * */
- mtrlmode?: string;
- /**
- * @description 材料选择类型
- */
- mtrlsectype?: string;
- /**
- * @description 主线材料模式
- * */
- zxmtrlmode?: string;
- /**
- * @description 用户材料模式
- * */
- usermtrlmode?: string;
- /**
- * @description 计划编码
- */
- plancode?: string;
- /**
- * @description 产品类别
- */
- mtrltype?: string;
- }
- /**
- * @name response: 获取物料信息出参
- */
- export interface ResMtrldefList {
- mtrldefList: uTech.u_mtrldef[];
- }
- /**
- * @name request: 获取物料信息入参
- */
- export interface ReqMtrldefDetailList {
- /**
- * @description 材料ID
- */
- mtrlid?: number;
- }
- /**
- * @name response: 获取物料信息出参
- */
- export interface ResMtrldefDetailList {
- mtrldef: uTech.u_mtrldef;
- }
- }
- /**
- * @name 通用接口
- */
- export namespace GenericApi {
- /**
- * @name request: 获取通用接口:查询数据入参
- */
- export interface ReqCommonDynamicSelect {
- dsname?: string;
- queryparams?: any;
- /**
- * @description 排序 "attr1 desc, attr2 esc"
- */
- orderstr?: string;
- /**
- * @description: pageindex
- */
- pageindex?: number;
- /**
- * @description: pagesize
- */
- pagesize?: number;
- /**
- * @description 用户习惯dwname: 产品名称
- */
- dwname?: string;
- /**
- * @description 用户习惯itemname:窗口名称
- */
- itemname?: string;
- /**
- * @description 用户习惯是否加密储存
- */
- ifcompress?: string;
- }
- interface CommonDynamicSelectTableInfo {
- columns: any[];
- }
- /**
- * @name response: 获取通用接口:查询数据出参
- */
- export interface ResCommonDynamicSelect {
- datatable: any[];
- fields: any[];
- /**
- * @description: pageindex
- */
- pageindex?: number;
- /**
- * @description: pagesize
- */
- pagesize?: number;
- /**
- * @description: 数据总条数
- */
- tablecnt?: number;
- /**
- * @description: 表格布局{columns}
- */
- tableinfo?: CommonDynamicSelectTableInfo;
- }
- export interface CommonClass {
- /**
- * @description uo名称
- */
- uoName: string;
- /**
- * @description 动作名称
- */
- functionName: string;
- /**
- * @description uo入参
- */
- SParms: any;
- /**
- * @description 是否需要保存到数据库
- */
- ifcommit: boolean;
- /**
- * @description 需要返回的字段名称
- */
- returnStrList?: string[];
- }
- // /**
- // * @name request: 获取通用接口:uo逻辑入参
- // */
- // export interface ReqCommonBill {
- // CList: CommonClass[];
- // }
- /**
- * @name response: 获取通用接口:uo逻辑出参
- */
- export interface ResCommonBill {
- /**
- * @description 返回的字段属性,根据returnStrList
- */
- reJob: any;
- }
- export interface ReqFormulaCompute {
- /**
- * @description 计算公式
- */
- formulas: any[];
- }
- export interface ResFormulaCompute {
- /**
- * @description 返回的结果
- */
- values: number[];
- }
- export interface ReqGetERPMtrldefList {
- /**
- * @description 物料id
- */
- mtrlid?: number;
- keyword?: string;
- isuse?: number;
- mtrltype?: string;
- }
- export interface ResGetERPMtrldefList {
- /**
- * @description 返回的结果
- */
- mtrldefList: any[];
- }
- export interface ReqGetERPConfigureList {
- /**
- * @description 配置id
- */
- typeid?: number;
- }
- export interface ResGetERPConfigureList {
- /**
- * @description 返回的结果
- */
- configureList: any[];
- }
- export interface ReqGetERPWrkGrpList {
- /**
- * @description 工组id
- */
- wrkgrpid?: number;
- }
- export interface ResGetERPWrkGrpList {
- /**
- * @description 返回的结果
- */
- workgroupList: any[];
- }
- }
- export namespace FileApi {
- export interface ReqFileClass {
- billType: number;
- }
- export interface ResFileClass {
- list: FileClass[];
- /**
- * @description 附件删除权限: -1:无权限,0:全部
- */
- classdelstr: string;
- /**
- * @description 附件新增权限: -1:无权限,0:全部
- */
- classeditstr: string;
- /**
- * @description 附件查看权限: -1:无权限,0:全部
- */
- classviewstr: string;
- }
- export interface ReqFileData {
- fjdata: FileData;
- }
- export interface ResFileData {
- FjFileList: FileData[];
- }
- export interface ReqCacheFile {
- filemd5: string;
- width?: number;
- height?: number;
- }
- export interface ResCacheFile {
- filedata: any;
- filetype: string;
- FileName: string;
- }
- export interface ReqUploadFile {
- fileList: FileData[];
- }
- }
- export namespace PrintTemplate {
- export interface ReqGetPrintTemplate {
- dwname: string;
- printid?: number;
- }
- export interface ResGetPrintTemplate {
- list: sys_print_template[];
- }
- export interface ReqSavePrintTemplate {
- template: sys_print_template;
- }
- }
- export namespace Basicinfo {
- export interface ResUserList {
- userList: any[];
- }
- export interface ResSaveUserList {
- empid: number;
- }
- export interface ResDelUserList {
- useridList: number[];
- }
- export interface ReqDeleteBasicinfo {
- list: any[];
- }
- export interface ResDeleteBasicinfo {}
- export interface ReqBanBasicinfo {
- list: any[];
- type: Number;
- }
- export interface ResBanBasicinfo {}
- export interface ReqSaveBedNetType {
- bednet: any;
- }
- export interface ReqSaveMattressType {
- mattress: any;
- }
- export interface ReqSaveMattressFormula {
- mattress: any;
- }
- export interface ReqSaveShrinkage {
- shrinkage: any;
- }
- export interface ReqSaveSpring {
- spring: any;
- }
- export interface ReqAuditSpring {
- list: any[];
- type: number;
- }
- export interface ReqSaveBedNetVar {
- bednetvar: any;
- }
- export interface ReqGetMtrlTypeList {
- parentid?: any;
- RecurionType?: any;
- }
- export interface ResGetMtrlTypeList {
- list: any[];
- reList: any[];
- }
- export interface ReqSaveMtrlType {
- mtrltype: any;
- }
- export interface ReqSaveMtrlDef {
- mtrls: any[];
- }
- export interface ReqSaveMultiPrice {
- price: any;
- }
- export interface ReqSaveBedNetArea {
- area: any;
- }
- export interface ReqSaveMattressExtra {
- data: any;
- }
- export interface ReqSaveConfigure {
- configure: any;
- }
- export interface ReqGetMtrlDefList {
- pricelistid: number;
- mtrltypeids: number[];
- }
- export interface ResGetMtrlDefList {
- list: any[];
- pagesize: number;
- pageindex: number;
- totalcnt: number;
- }
- export interface ReqCopyMtrlDef {
- pricelistid_from: number;
- pricelistid_to: number;
- rate: number;
- mtrlids: number[];
- }
- export interface ReqImportApi {
- filedata: FileData[];
- }
- export interface ResImportApi {
- successMsg: string;
- taskcodeList: any[];
- }
- export interface ReqFormulaCheck {
- formula: string;
- }
- }
- export namespace SalePrice {
- export interface ResPriceList {
- list: any[];
- }
- export interface ReqSaveDept {
- dept: any;
- }
- export interface ResSaveDept {}
- export interface ReqDeleteDept {
- list: any[];
- }
- export interface ResDeleteDept {}
- export interface ReqSaveProfitrate {
- list: any[];
- }
- export interface ResSaveProfitrate {}
- export interface ReqSaveWorkmanShip {
- workmanship: any;
- }
- export interface ResSaveWorkmanShip {}
- export interface ReqDeleteWorkmanShip {
- list: any[];
- }
- export interface ResDeleteWorkmanShip {}
- export interface ReqAuditSalePrice {
- list: any[];
- type: number;
- }
- export interface ResAuditSalePrice {}
- }
- export namespace Mattress {
- export interface ReqSaveMattress {
- mattress: any;
- mattressMx?: any[];
- subspecs?: any[];
- check_original?: number;
- }
- export interface ResSaveMattress {
- mattressid: number;
- mattresscode: string;
- message: string;
- mxmessage: string[];
- }
- export interface ReqMultiMattress {
- mattressids: number[];
- /**
- * @description 业务下单
- */
- xd_flag?: number;
- /**
- * @description 审核
- */
- flag?: number;
- }
- export interface ReqMultiMattressBcp {
- list: any[];
- type?: number;
- }
- export interface ResSaveMattressBcp {
- mattress: any;
- }
- export interface ReqSaveBedNet {
- bednet: any;
- bednetMx?: any;
- spring?: any;
- }
- export interface ResSaveBedNet {
- bednet: any;
- message: string;
- }
- export interface ResComputeBednet {
- bednet?: any;
- bednetMx?: any;
- replace: any;
- formulas: any;
- message: string;
- }
- export interface ResComputeMattress {
- replace: any;
- formulas: any;
- message: string;
- formulas_origin: any;
- formulas_bednet: any;
- differ?: any;
- }
- export interface ReqRefreshMattressInterface {
- mattressid: number;
- isPz?: number;
- isCheck?: number;
- isEdit?: number;
- configcodetype?: number;
- }
- export interface ResRefreshMattressInterface {
- mxList: any[];
- }
- export interface ResGetMattressInterfaceList {
- mattress: any;
- interfaceList: any[];
- qdList: any[];
- }
- export interface ReqSaveMattressInterface {
- mattress: any;
- interfaceList: any[];
- qdList: any[];
- }
- export interface ReqMattressImport {
- mattressid?: number;
- mattresstypeid: number;
- ifbcptype: number;
- packtype: number;
- pricelistid?: number;
- }
- export interface ResMattressImport {
- mattressMx: any[];
- biandai_qty?: number;
- diancengarea?: any[];
- extraProcessesMx?: any[];
- extraCostsMx?: any[];
- extraEnum?: any[];
- extraTypeEnum?: any[];
- }
- export interface ResMattressSubspecs {
- mattresses?: any[];
- bednetMxs?: any[];
- mtrllist?: any[];
- }
- }
|