update carton
This commit is contained in:
@@ -138,6 +138,14 @@ class Package {
|
||||
package.fcsID != this.fcsID;
|
||||
}
|
||||
|
||||
bool isChangedForEditProcessing(Package package) {
|
||||
return package.trackingID != this.trackingID ||
|
||||
package.fcsID != this.fcsID ||
|
||||
package.market != this.market ||
|
||||
package.desc != this.desc ||
|
||||
package.remark != this.remark;
|
||||
}
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) => other is Package && other.id == id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user