Ben Lin
2024-05-29 c89adfd5c5df23b6b102766092867adc2330ebb7
通用查询分页
已修改7个文件
1126 ■■■■ 文件已修改
src/api/tigerapi/model/warehoueseModel.ts 1018 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/tigerapi/system.ts 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/tigerapi/wms/region.ts 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tigerprojects/mes/prod/biz_mes_wo/biz_mes_wo.data.ts 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tigerprojects/mes/prod/biz_mes_wo/index.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tigerprojects/wms/region/index.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/tigerprojects/wms/region/region.data.ts 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/tigerapi/model/warehoueseModel.ts
@@ -3,7 +3,7 @@
//仓库树
export interface HouseListItem {
  ID: string;
  AUTH_ORG:string;
  AUTH_ORG: string;
  HOUSE_NAME: string;
  HOUSE_CODE: string;
  PARENT_HOUSE: string;
@@ -182,7 +182,7 @@
}
//领料单明细
export type MaterialReqDetailParams = {
  BILLCODE?:string;
  BILLCODE?: string;
  ITEM_CODE?: string;
  STATUS?: string;
  BIZTYPE?: string;
@@ -190,72 +190,72 @@
export type MaterialReqDetailPageParams = BasicPageParams & MaterialReqDetailParams;
export interface MaterialReqDetailListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    BILLCODE: string;
    BILLLINE: string;
    LINESTATUS: string;
    ITEM_CODE: string;
    UNITCODE: string;
    PRQTY: number;
    QTY: number;
    DELIVERYDATE: string;
    WAREHOUSECODE: string;
    SOURCETYPE: number;
    SOURCECODE: string;
    SOURCELINE: string;
    REMARK: string;
    ERP_BILL_CODE: string;
    ITEM_NAME: string;
    OWEQTY: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  BILLCODE: string;
  BILLLINE: string;
  LINESTATUS: string;
  ITEM_CODE: string;
  UNITCODE: string;
  PRQTY: number;
  QTY: number;
  DELIVERYDATE: string;
  WAREHOUSECODE: string;
  SOURCETYPE: number;
  SOURCECODE: string;
  SOURCELINE: string;
  REMARK: string;
  ERP_BILL_CODE: string;
  ITEM_NAME: string;
  OWEQTY: string;
}
//领料单条码明细
export type MaterialReqDetailSNParams = {
  BILLCODE?:string;
  BILLCODE?: string;
  ITEM_CODE?: string;
  SN?:string;
  SN?: string;
  STATUS?: string;
  BIZTYPE?: string;
};
export type MaterialReqDetailSNPageParams = BasicPageParams & MaterialReqDetailSNParams;
export interface MaterialReqDetailSNListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
  ORDER_NO:string;
  ORDER_LINE:string;
    SN: string;
    ITEM_CODE: string;
    QTY: number;
    STATUS: number;
    LOCATION_CODE: string;
    ERP_WH: string;
    ALLOC_QTY: number;
    SOURCE_CODE: string;
    SOURCE_ORDER: string;
    SOURCE_LINE: string;
    LINE_NO: string;
    SEGMENT: string;
    SMT_NO: string;
    STATION_NO: string;
    FEEDER_NO: string;
    FEEDER_TYPE: string;
    LOAD_SEQ: number;
    IS_FIRST: string;
    NEED_CUTTING: string;
    REMARK: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  ORDER_NO: string;
  ORDER_LINE: string;
  SN: string;
  ITEM_CODE: string;
  QTY: number;
  STATUS: number;
  LOCATION_CODE: string;
  ERP_WH: string;
  ALLOC_QTY: number;
  SOURCE_CODE: string;
  SOURCE_ORDER: string;
  SOURCE_LINE: string;
  LINE_NO: string;
  SEGMENT: string;
  SMT_NO: string;
  STATION_NO: string;
  FEEDER_NO: string;
  FEEDER_TYPE: string;
  LOAD_SEQ: number;
  IS_FIRST: string;
  NEED_CUTTING: string;
  REMARK: string;
}
//销售出库单实体
export type SaleoutorderParams = {
@@ -297,29 +297,29 @@
export type SaleoutorderDetailPageParams = BasicPageParams & SaleoutorderDetailParams;
export interface SaleoutorderDetailListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    BILLCODE: string;
    BILLLINE: string;
    LINESTATUS: string;
    ITEM_CODE: string;
    UNITCODE: string;
    PRQTY: number;
    QTY: number;
    DELIVERYDATE: string;
    WAREHOUSECODE: string;
    SOURCETYPE: number;
    SOURCECODE: string;
    SOURCELINE: string;
    REMARK: string;
    CUST_CODE: string;
    ERP_BILL_CODE: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  BILLCODE: string;
  BILLLINE: string;
  LINESTATUS: string;
  ITEM_CODE: string;
  UNITCODE: string;
  PRQTY: number;
  QTY: number;
  DELIVERYDATE: string;
  WAREHOUSECODE: string;
  SOURCETYPE: number;
  SOURCECODE: string;
  SOURCELINE: string;
  REMARK: string;
  CUST_CODE: string;
  ERP_BILL_CODE: string;
}
//销售出库单实体条码明细
export type SaleoutorderDetailSNParams = {
@@ -331,36 +331,36 @@
export type SaleoutorderDetailSNPageParams = BasicPageParams & SaleoutorderDetailSNParams;
export interface SaleoutorderDetailSNListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    ORDER_NO: string;
    ORDER_LINE: string;
    SN: string;
    ITEM_CODE: string;
    QTY: number;
    STATUS: number;
    LOCATION_CODE: string;
    ERP_WH: string;
    ALLOC_QTY: number;
    SOURCE_CODE: string;
    SOURCE_ORDER: string;
    SOURCE_LINE: string;
    LINE_NO: string;
    SEGMENT: string;
    SMT_NO: string;
    STATION_NO: string;
    FEEDER_NO: string;
    FEEDER_TYPE: string;
    LOAD_SEQ: number;
    IS_FIRST: string;
    NEED_CUTTING: string;
    REMARK: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  ORDER_NO: string;
  ORDER_LINE: string;
  SN: string;
  ITEM_CODE: string;
  QTY: number;
  STATUS: number;
  LOCATION_CODE: string;
  ERP_WH: string;
  ALLOC_QTY: number;
  SOURCE_CODE: string;
  SOURCE_ORDER: string;
  SOURCE_LINE: string;
  LINE_NO: string;
  SEGMENT: string;
  SMT_NO: string;
  STATION_NO: string;
  FEEDER_NO: string;
  FEEDER_TYPE: string;
  LOAD_SEQ: number;
  IS_FIRST: string;
  NEED_CUTTING: string;
  REMARK: string;
}
//其他出库单实体
export type OtheroutorderParams = {
@@ -400,29 +400,29 @@
export type OtheroutorderDetailPageParams = BasicPageParams & OtheroutorderDetailParams;
export interface OtheroutorderDetailListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    BILLCODE: string;
    BILLLINE: string;
    LINESTATUS: string;
    ITEM_CODE: string;
    UNITCODE: string;
    PRQTY: number;
    QTY: number;
    OWE_QTY: number;
    DELIVERYDATE: string;
    WAREHOUSECODE: string;
    SOURCETYPE: number;
    SOURCECODE: string;
    SOURCELINE: string;
    REMARK: string;
    ERP_BILL_CODE: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  BILLCODE: string;
  BILLLINE: string;
  LINESTATUS: string;
  ITEM_CODE: string;
  UNITCODE: string;
  PRQTY: number;
  QTY: number;
  OWE_QTY: number;
  DELIVERYDATE: string;
  WAREHOUSECODE: string;
  SOURCETYPE: number;
  SOURCECODE: string;
  SOURCELINE: string;
  REMARK: string;
  ERP_BILL_CODE: string;
}
//其他出库单实体条码明细
export type OtheroutorderDetailSNParams = {
@@ -434,36 +434,36 @@
export type OtheroutorderDetailSNPageParams = BasicPageParams & OtheroutorderDetailSNParams;
export interface OtheroutorderDetailSNListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    ORDER_NO: string;
    ORDER_LINE: string;
    SN: string;
    ITEM_CODE: string;
    QTY: number;
    STATUS: number;
    LOCATION_CODE: string;
    ERP_WH: string;
    ALLOC_QTY: number;
    SOURCE_CODE: string;
    SOURCE_ORDER: string;
    SOURCE_LINE: string;
    LINE_NO: string;
    SEGMENT: string;
    SMT_NO: string;
    STATION_NO: string;
    FEEDER_NO: string;
    FEEDER_TYPE: string;
    LOAD_SEQ: number;
    IS_FIRST: string;
    NEED_CUTTING: string;
    REMARK: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  ORDER_NO: string;
  ORDER_LINE: string;
  SN: string;
  ITEM_CODE: string;
  QTY: number;
  STATUS: number;
  LOCATION_CODE: string;
  ERP_WH: string;
  ALLOC_QTY: number;
  SOURCE_CODE: string;
  SOURCE_ORDER: string;
  SOURCE_LINE: string;
  LINE_NO: string;
  SEGMENT: string;
  SMT_NO: string;
  STATION_NO: string;
  FEEDER_NO: string;
  FEEDER_TYPE: string;
  LOAD_SEQ: number;
  IS_FIRST: string;
  NEED_CUTTING: string;
  REMARK: string;
}
//销售退货单实体
export type SalebackorderParams = {
@@ -502,33 +502,33 @@
export type SalebackorderDetailPageParams = BasicPageParams & SalebackorderDetailParams;
export interface SalebackorderDetailListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    BILLCODE: string;
    BILLLINE: string;
    LINESTATUS: string;
    ITEM_CODE: string;
    UNITCODE: string;
    PRQTY: number;
    INVENTORYQTY: number;
    GOODQTY: number;
    NGQTY: number;
    SCRAPQTY: number;
    GOODINSTOCKQTY: number;
    NGINSTOCKQTY: number;
    SCRAPINSTCOKQTY: number;
    WAREHOUSECODE: string;
    SOURCETYPE: number;
    SOURCECODE: string;
    SOURCELINE: number;
    REMARK: string;
    ERP_BILL_CODE: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  BILLCODE: string;
  BILLLINE: string;
  LINESTATUS: string;
  ITEM_CODE: string;
  UNITCODE: string;
  PRQTY: number;
  INVENTORYQTY: number;
  GOODQTY: number;
  NGQTY: number;
  SCRAPQTY: number;
  GOODINSTOCKQTY: number;
  NGINSTOCKQTY: number;
  SCRAPINSTCOKQTY: number;
  WAREHOUSECODE: string;
  SOURCETYPE: number;
  SOURCECODE: string;
  SOURCELINE: number;
  REMARK: string;
  ERP_BILL_CODE: string;
}
//销售退货单实体条码明细
export type SalebackorderDetailSNParams = {
@@ -539,19 +539,19 @@
export type SalebackorderDetailSNPageParams = BasicPageParams & SalebackorderDetailSNParams;
export interface SalebackorderDetailSNListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    SN: string;
    ITEM_CODE: string;
    QTY: number;
    BUSINESSCODE: string;
    BUSINESSLINE: number;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  SN: string;
  ITEM_CODE: string;
  QTY: number;
  BUSINESSCODE: string;
  BUSINESSLINE: number;
}
//送检单实体
export type InspectionParams = {
@@ -834,22 +834,22 @@
};
export type TransferdtlsnPageParams = BasicPageParams & TransferdtlsnParams;
export interface TransferDetailSNListItem {
    ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    SN: string;
    ITEM_CODE: string;
    QTY: number;
    BILLCODE: string;
    BILLDATE: Date;
    BILLLINE: string;
    LINESTATUS: string;
  ID: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  SN: string;
  ITEM_CODE: string;
  QTY: number;
  BILLCODE: string;
  BILLDATE: Date;
  BILLLINE: string;
  LINESTATUS: string;
}
// 完工入库单实体
export type FinishedwarehouseParams = {
@@ -888,55 +888,55 @@
export type FinishedwarehouseDetailPageParams = BasicPageParams & FinishedwarehouseDetailParams;
export interface FinishedwarehouseDetailListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    BILLCODE: string;
    BILLLINE: string;
    LINESTATUS: string;
    ITEM_CODE: string;
    UNITCODE: string;
    PRQTY: number;
    INVENTORYQTY: number;
    INSTOCKQTY: number;
    WAREHOUSECODE: string;
    SOURCETYPE: number;
    SOURCECODE: string;
    SOURCELINE: string;
    REMARK: string;
    ERP_BILL_CODE: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  BILLCODE: string;
  BILLLINE: string;
  LINESTATUS: string;
  ITEM_CODE: string;
  UNITCODE: string;
  PRQTY: number;
  INVENTORYQTY: number;
  INSTOCKQTY: number;
  WAREHOUSECODE: string;
  SOURCETYPE: number;
  SOURCECODE: string;
  SOURCELINE: string;
  REMARK: string;
  ERP_BILL_CODE: string;
}
// 完工入库单条码明细
export type FinishedwarehouseDetailSNParams = {
  BUSINESSCODE?:string;
  BUSINESSCODE?: string;
  ITEM_CODE?: string;
  SN?: string;
};
export type FinishedwarehouseDetailSNPageParams = BasicPageParams & FinishedwarehouseDetailSNParams;
export interface FinishedwarehouseDetailSNListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    CARTONNO: string;
    BUSINESSCODE: string;
    BUSINESSLINE: string;
    SOURCECODE: string;
    ITEM_CODE: string;
    Qty: number;
    SN: string;
    PALLETNO: string;
    DATECODE: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  CARTONNO: string;
  BUSINESSCODE: string;
  BUSINESSLINE: string;
  SOURCECODE: string;
  ITEM_CODE: string;
  Qty: number;
  SN: string;
  PALLETNO: string;
  DATECODE: string;
}
// 送货单实体
export type DeliveryParams = {
@@ -989,47 +989,47 @@
export type DeliveryDetailPageParams = BasicPageParams & DeliveryDetailParams;
export interface DeliveryDetailListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    DELIVERY_NO: string;
    LINE_NO: number;
    ERP_PO_NO: string;
    PO_LINE_NO: number;
    PO_TYPE: number;
    ITEM_CODE: string;
    ITEM_NAME: string;
    SPECIFICATION: string;
    QTY: number;
    UNIT: string;
    VALUATION_QTY: number;
    PRICE: number;
    TAX_PRICE: number;
    STATUS: number;
    RECEIVE_STATUS: number;
    BUYER: string;
    EXPECTED_DATE: string;
    ANSWER_DATE: string;
    CURRENCY_CODE: string;
    CURRENCY_NAME: string;
    VERIFY_STATUS: number;
    VERIFY_RESULT: number;
    REMARK: string;
    BRAND_NAME: string;
    BATCH_NUMBER: string;
    UNIT_NAME: string;
    PACKING_QTY: number;
    APPLY_DELIVERY_QTY: number;
    GROSS_WEIGHT: number;
    NET_WEIGHT: number;
    UNIT_WEIGHTCODE: string;
    UNIT_WEIGHTNAME: string;
    URGENT_FLAG: number;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  DELIVERY_NO: string;
  LINE_NO: number;
  ERP_PO_NO: string;
  PO_LINE_NO: number;
  PO_TYPE: number;
  ITEM_CODE: string;
  ITEM_NAME: string;
  SPECIFICATION: string;
  QTY: number;
  UNIT: string;
  VALUATION_QTY: number;
  PRICE: number;
  TAX_PRICE: number;
  STATUS: number;
  RECEIVE_STATUS: number;
  BUYER: string;
  EXPECTED_DATE: string;
  ANSWER_DATE: string;
  CURRENCY_CODE: string;
  CURRENCY_NAME: string;
  VERIFY_STATUS: number;
  VERIFY_RESULT: number;
  REMARK: string;
  BRAND_NAME: string;
  BATCH_NUMBER: string;
  UNIT_NAME: string;
  PACKING_QTY: number;
  APPLY_DELIVERY_QTY: number;
  GROSS_WEIGHT: number;
  NET_WEIGHT: number;
  UNIT_WEIGHTCODE: string;
  UNIT_WEIGHTNAME: string;
  URGENT_FLAG: number;
}
// 送货单实体条码明细
export type DeliveryDetailSNParams = {
@@ -1041,32 +1041,32 @@
export type DeliveryDetailSNPageParams = BasicPageParams & DeliveryDetailSNParams;
export interface DeliveryDetailSNListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    DELIVERY_NO: string;
    ITEM_CODE: string;
    ITEM_NAME: string;
    SPECIFICATION: string;
    QTY: number;
    SMALL_BARCODE: string;
    BIG_BARCODE: string;
    OUTER_BARCODE: string;
    SMALL_SN: string;
    BIG_SN: string;
    OUTER_SN: string;
    SUPP_CODE: string;
    PROD_DATE: string;
    REMARK: string;
    IMPORTED: number;
    IMPORTED_DATE: string;
    PO_ERP_NO: string;
    PO_LINE_NO: number;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  DELIVERY_NO: string;
  ITEM_CODE: string;
  ITEM_NAME: string;
  SPECIFICATION: string;
  QTY: number;
  SMALL_BARCODE: string;
  BIG_BARCODE: string;
  OUTER_BARCODE: string;
  SMALL_SN: string;
  BIG_SN: string;
  OUTER_SN: string;
  SUPP_CODE: string;
  PROD_DATE: string;
  REMARK: string;
  IMPORTED: number;
  IMPORTED_DATE: string;
  PO_ERP_NO: string;
  PO_LINE_NO: number;
}
//到货单实体
export type EnterWarehouseParams = {
@@ -1098,7 +1098,7 @@
//到货单明细实体
export type EnterWarehouseDetailParams = {
  BILLCODE?: string;
  ITEM_CODE?:string;
  ITEM_CODE?: string;
  BILLDATE?: string;
  STATUS?: string;
  //ERP_BILL_CODE?: string;
@@ -1107,30 +1107,30 @@
export type EnterWarehouseDetailPageParams = BasicPageParams & EnterWarehouseDetailParams;
export interface EnterWarehouseDetailListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    BILLCODE: string;
    BILLDATE: string;
    STATUS: number;
    BIZTYPE: number;
    SUPPLIERCODE: string;
    REMARK: string;
    ERP_BILL_CODE: string;
    ERP_TRANS_CODE: string;
    HANDLED: number;
    HANDLED_DATE: Date;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  BILLCODE: string;
  BILLDATE: string;
  STATUS: number;
  BIZTYPE: number;
  SUPPLIERCODE: string;
  REMARK: string;
  ERP_BILL_CODE: string;
  ERP_TRANS_CODE: string;
  HANDLED: number;
  HANDLED_DATE: Date;
}
//到货单条码明细实体
export type EnterWarehouseDetailSNParams = {
  BILLCODE?: string;
  ITEM_CODE?:string;
  SN?:string;
  ITEM_CODE?: string;
  SN?: string;
  STATUS?: string;
  //ERP_BILL_CODE?: string;
  BIZTYPE: string;
@@ -1138,32 +1138,32 @@
export type EnterWarehouseDetailSNPageParams = BasicPageParams & EnterWarehouseDetailSNParams;
export interface EnterWarehouseDetailSNListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    BILLCODE: string;
    BILLLINE: string;
    SOURCETYPE: number;
    ITEM_CODE: string;
    SN: string;
    SUPPLIERCODE: string;
    DATECODE: string;
    SCANQTY: number;
    UNIT: string;
    ISGIVEAWAY: number;
    DELIVERY_NO: string;
    DELIVERY_LINE: number;
    REMARK: string;
    LOTNO: string;
    STATEFLAG: string;
    CARTON: string;
    PALLET: string;
    SCAN_SN: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  BILLCODE: string;
  BILLLINE: string;
  SOURCETYPE: number;
  ITEM_CODE: string;
  SN: string;
  SUPPLIERCODE: string;
  DATECODE: string;
  SCANQTY: number;
  UNIT: string;
  ISGIVEAWAY: number;
  DELIVERY_NO: string;
  DELIVERY_LINE: number;
  REMARK: string;
  LOTNO: string;
  STATEFLAG: string;
  CARTON: string;
  PALLET: string;
  SCAN_SN: string;
}
// 其他入库单实体
export type OtherwarehouseParams = {
@@ -1204,28 +1204,28 @@
export type OtherdwarehouseDetailPageParams = BasicPageParams & OtherwarehouseDetailParams;
export interface OtherwarehouseDetailListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    BILLCODE: string;
    BILLLINE: number;
    LINESTATUS: string;
    ITEM_CODE: string;
    UNITCODE: string;
    PRQTY: number;
    QTY: number;
    DELIVERYDATE: string;
    WAREHOUSECODE: string;
    SOURCETYPE: number;
    SOURCECODE: string;
    SOURCELINE: string;
    REMARK: string;
    ERP_BILL_CODE: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  BILLCODE: string;
  BILLLINE: number;
  LINESTATUS: string;
  ITEM_CODE: string;
  UNITCODE: string;
  PRQTY: number;
  QTY: number;
  DELIVERYDATE: string;
  WAREHOUSECODE: string;
  SOURCETYPE: number;
  SOURCECODE: string;
  SOURCELINE: string;
  REMARK: string;
  ERP_BILL_CODE: string;
}
// 其他入库单实体条码明细
export type OtherwarehouseDetailSNParams = {
@@ -1237,24 +1237,24 @@
export type OtherdwarehouseDetailSNPageParams = BasicPageParams & OtherwarehouseDetailSNParams;
export interface OtherwarehouseDetailSNListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    SN: string;
    ITEM_CODE: string;
    QTY: number;
    BUSINESSCODE: string;
    BUSINESSLINE: string;
    DATECODE: string;
    DATECODESTR: string;
    LOTNO: string;
    STATUS: string;
    WAREHOUSECODE: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  SN: string;
  ITEM_CODE: string;
  QTY: number;
  BUSINESSCODE: string;
  BUSINESSLINE: string;
  DATECODE: string;
  DATECODESTR: string;
  LOTNO: string;
  STATUS: string;
  WAREHOUSECODE: string;
}
//生产退料单
export type MaterialRetParams = {
@@ -1292,57 +1292,57 @@
export type MaterialRetDetailPageParams = BasicPageParams & MaterialRetDetailParams;
export interface MaterialRetDetailListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    BILLCODE: string;
    BILLLINE: number;
    LINESTATUS: string;
    ITEM_CODE: string;
    UNITCODE: string;
    PRQTY: number;
    WAREHOUSECODE: string;
    SOURCETYPE: number;
    SOURCECODE: string;
    SOURCELINE: number;
    REMARK: string;
    GOODQTY: number;
    NGQTY: number;
    GOODINSTOCKQTY: number;
    NgINSTOCKQTY: number;
    SCRAPQTY: number;
    SCRAPINSTCOKQTY: number;
    INVENTORYQTY: number;
    ERP_BILL_CODE: string;
    DELIVERYDATE: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  BILLCODE: string;
  BILLLINE: number;
  LINESTATUS: string;
  ITEM_CODE: string;
  UNITCODE: string;
  PRQTY: number;
  WAREHOUSECODE: string;
  SOURCETYPE: number;
  SOURCECODE: string;
  SOURCELINE: number;
  REMARK: string;
  GOODQTY: number;
  NGQTY: number;
  GOODINSTOCKQTY: number;
  NgINSTOCKQTY: number;
  SCRAPQTY: number;
  SCRAPINSTCOKQTY: number;
  INVENTORYQTY: number;
  ERP_BILL_CODE: string;
  DELIVERYDATE: string;
}
//生产退料单条码
export type MaterialRetDetailSNParams = {
  BILLCODE?: string;
  ITEM_CODE?:string;
  SN?:string;
  ITEM_CODE?: string;
  SN?: string;
};
export type MaterialRetDetailSNPageParams = BasicPageParams & MaterialRetDetailSNParams;
export interface MaterialRetDetailSNListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    ITEM_CODE: string;
    SN: string;
    QTY: number;
    BUSINESSCODE: string;
    BUSINESSLINE: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  ITEM_CODE: string;
  SN: string;
  QTY: number;
  BUSINESSCODE: string;
  BUSINESSLINE: string;
}
//采购单
export type PurchaseParams = {
@@ -1382,38 +1382,38 @@
export type PurchasePageDetailParams = BasicPageParams & PurchaseDetailParams;
export interface PurchaseDetailListItem {
  ID: string;
    CREATE_TIME: string;
    CREATE_USER: string;
    UPDATE_TIME: string;
    UPDATE_USER: string;
    GHOST_ROW: boolean;
    AUTH_ORG: string;
    AUTH_PROD: string;
    AUTH_WH: string;
    BILLID: string;
    BILLCODE: string;
    BILLLINE: string;
    MATERIALCODE: string;
    UNITCODE: string;
    LINESTATUS: number;
    PRQTY: number;
    QTY: number;
    ARRIVALQTY: number;
    INSTOCKQTY: number;
    RETURNQTY: number;
    ISGIVEAWAY: number;
    TAXRATE: number;
    PRICE: number;
    TAXPRICE: number;
    AMOUNT: number;
    ALLAMOUNT: number;
    TAXAMOUNT: number;
    DISCOUNTRATE: number;
    DISCOUNT: number;
    SUPPLIERMATERIALCODE: string;
    DELIVERYDATE: string;
    PROMISEDATE: string;
    REMARK: string;
  CREATE_TIME: string;
  CREATE_USER: string;
  UPDATE_TIME: string;
  UPDATE_USER: string;
  GHOST_ROW: boolean;
  AUTH_ORG: string;
  AUTH_PROD: string;
  AUTH_WH: string;
  BILLID: string;
  BILLCODE: string;
  BILLLINE: string;
  MATERIALCODE: string;
  UNITCODE: string;
  LINESTATUS: number;
  PRQTY: number;
  QTY: number;
  ARRIVALQTY: number;
  INSTOCKQTY: number;
  RETURNQTY: number;
  ISGIVEAWAY: number;
  TAXRATE: number;
  PRICE: number;
  TAXPRICE: number;
  AMOUNT: number;
  ALLAMOUNT: number;
  TAXAMOUNT: number;
  DISCOUNTRATE: number;
  DISCOUNT: number;
  SUPPLIERMATERIALCODE: string;
  DELIVERYDATE: string;
  PROMISEDATE: string;
  REMARK: string;
}
// 实时库存实体
export type WmsItemParams = {
@@ -1509,12 +1509,16 @@
export type FactoryPageListGetResultModel = BasicFetchResult<FactoryListItem>;
//完工入库单
export type FinishedwarehousePageListGetResultModel = BasicFetchResult<FinishedwarehouseListItem>;
export type FinishedwarehouseDetailPageListGetResultModel = BasicFetchResult<FinishedwarehouseDetailListItem>;
export type FinishedwarehousePageDetailSNListGetResultModel = BasicFetchResult<FinishedwarehouseDetailSNListItem>;
export type FinishedwarehouseDetailPageListGetResultModel =
  BasicFetchResult<FinishedwarehouseDetailListItem>;
export type FinishedwarehousePageDetailSNListGetResultModel =
  BasicFetchResult<FinishedwarehouseDetailSNListItem>;
export type OhterwarehousePageListGetResultModel = BasicFetchResult<OtherwarehouseListItem>;
export type OhterwarehouseDetailPageListGetResultModel = BasicFetchResult<OtherwarehouseDetailListItem>;
export type OhterwarehouseDetailSNPageListGetResultModel = BasicFetchResult<OtherwarehouseDetailSNListItem>;
export type OhterwarehouseDetailPageListGetResultModel =
  BasicFetchResult<OtherwarehouseDetailListItem>;
export type OhterwarehouseDetailSNPageListGetResultModel =
  BasicFetchResult<OtherwarehouseDetailSNListItem>;
//送货单
export type DeliveryePageListGetResultModel = BasicFetchResult<DeliveryListItem>;
export type DeliveryeDetailPageListGetResultModel = BasicFetchResult<DeliveryDetailListItem>;
@@ -1525,15 +1529,20 @@
//销售出库单
export type SaleoutorderPageListGetResultModel = BasicFetchResult<SaleoutorderListItem>;
export type SaleoutorderDetailPageListGetResultModel = BasicFetchResult<SaleoutorderDetailListItem>;
export type SaleoutorderDetailSNPageListGetResultModel = BasicFetchResult<SaleoutorderDetailSNListItem>;
export type SaleoutorderDetailSNPageListGetResultModel =
  BasicFetchResult<SaleoutorderDetailSNListItem>;
//其他出库单
export type OtheroutorderPageListGetResultModel = BasicFetchResult<OtheroutorderListItem>;
export type OtheroutorderDetailPageListGetResultModel = BasicFetchResult<OtheroutorderDetailListItem>;
export type OtheroutorderPageDetailSNListGetResultModel = BasicFetchResult<OtheroutorderDetailSNListItem>;
export type OtheroutorderDetailPageListGetResultModel =
  BasicFetchResult<OtheroutorderDetailListItem>;
export type OtheroutorderPageDetailSNListGetResultModel =
  BasicFetchResult<OtheroutorderDetailSNListItem>;
//销售退货单
export type SalebackorderPageListGetResultModel = BasicFetchResult<SalebackorderListItem>;
export type SalebackorderPageDetailListGetResultModel = BasicFetchResult<SalebackorderDetailListItem>;
export type SalebackorderPageDetailSNListGetResultModel = BasicFetchResult<SalebackorderDetailSNListItem>;
export type SalebackorderPageDetailListGetResultModel =
  BasicFetchResult<SalebackorderDetailListItem>;
export type SalebackorderPageDetailSNListGetResultModel =
  BasicFetchResult<SalebackorderDetailSNListItem>;
export type InventoryPageListGetResultModel = BasicFetchResult<InventoryListItem>;
export type WmsItemPageListGetResultModel = BasicFetchResult<WmsItemListItem>;
@@ -1541,19 +1550,22 @@
//领料单
export type MaterialReqPageListGetResultModel = BasicFetchResult<MaterialReqListItem>;
export type MaterialReqDetailPageListGetResultModel = BasicFetchResult<MaterialReqDetailListItem>;
export type MaterialReqDetailSNPageListGetResultModel = BasicFetchResult<MaterialReqDetailSNListItem>;
export type MaterialReqDetailSNPageListGetResultModel =
  BasicFetchResult<MaterialReqDetailSNListItem>;
//生产退料单
export type MaterialRetPageListGetResultModel = BasicFetchResult<MaterialRetListItem>;
export type MaterialRetDetailPageListGetResultModel = BasicFetchResult<MaterialRetDetailListItem>;
export type MaterialRetDetailSNPageListGetResultModel = BasicFetchResult<MaterialRetDetailSNListItem>;
export type MaterialRetDetailSNPageListGetResultModel =
  BasicFetchResult<MaterialRetDetailSNListItem>;
//到货单
export type EnterWarehousePageListGetResultModel = BasicFetchResult<EnterWarehouseListItem>;
export type EnterWarehouseDetailPageListGetResultModel = BasicFetchResult<EnterWarehouseDetailListItem>;
export type EnterWarehouseDetailSNPageListGetResultModel = BasicFetchResult<EnterWarehouseDetailSNListItem>;
export type EnterWarehouseDetailPageListGetResultModel =
  BasicFetchResult<EnterWarehouseDetailListItem>;
export type EnterWarehouseDetailSNPageListGetResultModel =
  BasicFetchResult<EnterWarehouseDetailSNListItem>;
//调拨单
export type TransferPageListGetResultModel = BasicFetchResult<TransferListItem>;
export type TransferDetailPageListGetResultModel = BasicFetchResult<TransferDetailListItem>;
export type TransferDetailSNPageListGetResultModel = BasicFetchResult<TransferDetailSNListItem>;
// 包装规则
// export type PackagerPageListGetResultModel = BasicFetchResult<PackagerItemListItem>;
src/api/tigerapi/system.ts
@@ -27,6 +27,7 @@
  iSYS_ROLE_WH,
} from './model/systemModel';
import { defHttp } from '/@/utils/http/axios';
import { isNullOrEmpty } from '/@/utils/is';
export enum Api {
  QueryUrl = '/Base/Query',
@@ -629,6 +630,10 @@
  return model;
}
/*
 *通用方法========================================================
 */
export const GetEnum = async (enumName: { name: string }) => {
  const usParams = genAction(enumName.name, '');
  return await defHttp.post(
@@ -640,3 +645,34 @@
    },
  );
};
export async function getListByPage<T>(params: T) {
  const Keys = Object.getOwnPropertyNames(params);
  let sqlcmd = '';
  for (const k in Keys) {
    console.log(`${k}:${Keys[k]}`);
    if (
      !isNullOrEmpty(params[Keys[k]]) &&
      Keys[k] != 'page' &&
      Keys[k] != 'pageSize' &&
      Keys[k] != 'TABLE_NAME'
    ) {
      sqlcmd += `And ${Keys[k]} like '%${params[Keys[k]]}%'`;
    }
  }
  const rParams = genActionPage(params['TABLE_NAME'], sqlcmd, params['page'], params['pageSize']);
  return getListByPageAsync(rParams);
}
async function getListByPageAsync(params: ApiActionPage) {
  const data = await defHttp.post<ApiActionPage>(
    { url: Api.EntityPageList, params },
    {
      isTransformResponse: false,
    },
  );
  const model = {
    items: data.Data.data,
    total: data.Data.totals,
  };
  return model;
}
src/api/tigerapi/wms/region.ts
@@ -1,40 +1,7 @@
import { buildUUID } from '../../../utils/uuid';
import { ApiActionPage } from '../../model/baseModel';
import {
  RegionListItem,
  RegionPageParams,
  RegionPageListGetResultModel,
} from '../model/warehoueseModel';
import { genAction, Api, genActionPage } from '../system';
import { RegionListItem } from '../model/warehoueseModel';
import { genAction, Api } from '../system';
import { defHttp } from '/@/utils/http/axios';
/*
 * 获取区域分页列表
 */
export const getRegionListByPage = async (params: RegionPageParams) => {
  let sqlcmd = '';
  if (params?.REGION_CODE != undefined && params?.REGION_CODE != '') {
    sqlcmd += "And REGION_CODE like '%" + params?.REGION_CODE + "%'";
  }
  if (params?.REGION_NAME != undefined && params?.REGION_NAME != '') {
    sqlcmd += "And REGION_NAME = '" + params?.REGION_NAME + "'";
  }
  const rParams = genActionPage('WMS_REGION', sqlcmd, params.page, params.pageSize);
  return getRegionListByPageAsync(rParams);
};
async function getRegionListByPageAsync(params: ApiActionPage) {
  const data = await defHttp.post<ApiActionPage>(
    { url: Api.EntityPageList, params },
    {
      isTransformResponse: false,
    },
  );
  const model: RegionPageListGetResultModel = {
    items: data.Data.data,
    total: data.Data.totals,
  };
  return model;
}
export const SaveRegion = async (params: RegionListItem, isUpdate: boolean) => {
  let data;
@@ -68,4 +35,4 @@
      isTransformResponse: false,
    },
  );
};
};
src/views/tigerprojects/mes/prod/biz_mes_wo/biz_mes_wo.data.ts
@@ -3,7 +3,6 @@
import { h, unref } from 'vue';
import { Tag, Tooltip } from 'ant-design-vue';
import { useLocale } from '/@/locales/useLocale';
import { MesWoStatus } from '/@/api/tigerapi/mes/wo';
import { useI18n } from '/@/hooks/web/useI18n';
import { GetEnum } from '/@/api/tigerapi/system';
@@ -289,6 +288,14 @@
      span: 4,
    },
  },
  {
    field: 'TABLE_NAME',
    label: '表名',
    component: 'Input',
    colProps: { span: 8 },
    defaultValue: 'BIZ_MES_WO',
    ifShow: false,
  },
];
//新增组件export const
src/views/tigerprojects/mes/prod/biz_mes_wo/index.vue
@@ -66,18 +66,19 @@
  </div>
</template>
<script lang="ts" setup>
  import { reactive, unref, h } from 'vue';
  import { reactive, unref, h, onMounted } from 'vue';
  import { BasicTable, useTable, TableAction } from '/@/components/Table';
  import WoDrawer from './WoDrawer.vue';
  import WoModal from './WoModal.vue';
  import ItemModal from '/@/views/components/ItemModal.vue';
  import { useDrawer } from '/@/components/Drawer';
  import { columns, searchFormSchema } from './biz_mes_wo.data';
  import { DeleteMesWo, getWoListByPage } from '/@/api/tigerapi/mes/wo';
  import { DeleteMesWo } from '/@/api/tigerapi/mes/wo';
  import { Loading } from '/@/components/Loading';
  import { useMessage } from '/@/hooks/web/useMessage';
  import { useI18n } from '/@/hooks/web/useI18n';
  import { useModal } from '/@/components/Modal';
  import { getListByPage } from '/@/api/tigerapi/system';
  const { t } = useI18n();
  const { createMessage } = useMessage();
@@ -91,7 +92,7 @@
  const [registerItemAdd, { openModal: openItemModal }] = useModal();
  const [registerTable, { getForm, reload }] = useTable({
    title: '工单信息',
    api: getWoListByPage,
    api: getListByPage,
    columns,
    formConfig: {
      labelWidth: 120,
@@ -111,6 +112,8 @@
    showIndexColumn: false,
  });
  onMounted(() => {});
  //新增
  function addWo() {
    openDrawer(true, {
src/views/tigerprojects/wms/region/index.vue
@@ -36,7 +36,8 @@
  import RegionDrawer from './regionDrawer.vue';
  import { columns, searchFormSchema } from './region.data';
  import { DeleteRegion, getRegionListByPage } from '/@/api/tigerapi/wms/region';
  import { DeleteRegion } from '/@/api/tigerapi/wms/region';
  import { getListByPage } from '/@/api/tigerapi/system';
  export default defineComponent({
    name: 'LocationManagement',
@@ -45,7 +46,7 @@
      const [registerDrawer, { openDrawer }] = useDrawer();
      const [registerTable, { reload }] = useTable({
        title: '储区列表',
        api: getRegionListByPage,
        api: getListByPage,
        columns,
        formConfig: {
          labelWidth: 120,
@@ -54,7 +55,7 @@
        useSearchForm: true,
        showTableSetting: true,
        bordered: true,
        canResize:true,
        canResize: true,
        showIndexColumn: false,
        actionColumn: {
          width: 80,
src/views/tigerprojects/wms/region/region.data.ts
@@ -48,6 +48,14 @@
    component: 'Input',
    colProps: { span: 8 },
  },
  {
    field: 'TABLE_NAME',
    label: '表名',
    component: 'Input',
    colProps: { span: 8 },
    defaultValue: 'WMS_REGION',
    ifShow: false,
  },
];
export const formSchema: FormSchema[] = [