1
This commit is contained in:
@@ -526,6 +526,11 @@ func IsPrinterVendorExist(vendorID int) bool {
|
||||
return ok && vendorID >= VendorIDPrinterBegin && vendorID <= VendorIDPrinterEnd
|
||||
}
|
||||
|
||||
func IsImVendorExist(vendorID int) bool {
|
||||
_, ok := VendorNames[vendorID]
|
||||
return ok && vendorID >= VendorIDPurchaseBegin && vendorID <= VendorIDPurchaseEnd
|
||||
}
|
||||
|
||||
func IsOrderLockStatus(status int) bool {
|
||||
return status == OrderStatusLocked || status == OrderStatusApplyCancel
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user