freight-web/src/utils/enum.ts

105 lines
2.0 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 1收货2出货
export enum OrderType {
Receive = 1,
Shipment = 2,
Pay = 3,
Income = 4
}
// 扣杂状态0扣杂1扣点
export enum ButtonType {
BuckleMiscellaneous = 0,
Points = 1,
}
// 称重方式0有皮重 1零皮重
export enum WeighingMethod {
Yes = 0,
No = 1,
}
// 多品类0单品类 1多品类
export enum MultiCategory {
Single = 0,
Multiple = 1,
}
// 0:普通资源1皮重 2毛重
export enum ImagesType {
NORMARL = 0,
Tare = 1,
GROSSWEIGHT = 2,
// Settlement = 3,
// Payment = 4
}
//磅单状态:0待定价1待过皮2待审核3已审核待支付4已支付
// 磅单状态0待出货1:待过毛2待审核3已审未付4已审已付
export enum ScaleStatus {
ToBePriced = 0,
ToBeTare = 1,
ToBeReview = 2,
ToBePay = 3,
Paid = 4,
ToBeShipment = 0,
ToBeGrossWeight = 1,
ToBeShipmentReview = 2,
ToBeShipmentPay = 3,
ShipmentPaid = 4
}
// 1 出货结算 2 出货未结算 3 出货并结算
export enum ScaleStatusBtnType {
ShipmentSettlement = 1,
ShipmentNoPay = 2,
ShipmentPay = 3
}
// 支付方式0:未支付,1:现金支付2银行卡支付3线上支付微信4支付宝
export enum PaymentMethod {
NoPay = 0,
Cash = 1,
BankCard = 2,
WeChat = 2,
Alipay = 4
}
//用户类型0刷脸1刷卡
export enum UserType {
Face = 0,
Card = 1,
}
export enum UsersType {
Staff = 1,
Purchaser = 2,
Customer = 3,
}
// 提货方式:0:送货1:自提
export enum DeliveryMethod {
Deliver = 0,
SelfPickup = 1
}
export enum DeviceType {
Printer = 0,
Weighbridge = 1
}
// 1=出库客户2=入库(供应商)
export enum StockCardType {
Shipment = 1,
Receive = 2
}
// 今日 昨日 本月 本年 自定义
export enum TimeRange {
Today = 1,
Yesterday = 2,
Month = 3,
Year = 4,
Custom = 5
}
// 消息跳转类型 0=收货待定价1=收货待审核2=待出库3=出库审核
export enum MsgType {
ToBePriced = 0,
ToBeReview = 1,
ToBeShipment = 2,
ToBeShipmentReview = 3
}