|
@@ -142,7 +142,7 @@ export default {
|
|
item =>
|
|
item =>
|
|
(this.orderInfo.workerId == item.value ||
|
|
(this.orderInfo.workerId == item.value ||
|
|
!~this.orderInfo.orderWorkers.map(item => item.workerId).indexOf(item.value)) &&
|
|
!~this.orderInfo.orderWorkers.map(item => item.workerId).indexOf(item.value)) &&
|
|
- (this.orderType == 'RECYCLE' ? item.isRecycler : true)
|
|
|
|
|
|
+ (this.orderType == 'RECYCLE' ? item.isRecycler === 'true' : true)
|
|
),
|
|
),
|
|
md: 8,
|
|
md: 8,
|
|
attributes: {
|
|
attributes: {
|
|
@@ -201,7 +201,7 @@ export default {
|
|
options: this.workerList.filter(
|
|
options: this.workerList.filter(
|
|
item =>
|
|
item =>
|
|
!~this.orderInfo.orderWorkers.map(item => item.workerId).indexOf(item.value) &&
|
|
!~this.orderInfo.orderWorkers.map(item => item.workerId).indexOf(item.value) &&
|
|
- (this.orderType == 'RECYCLE' ? item.isRecycler : true)
|
|
|
|
|
|
+ (this.orderType == 'RECYCLE' ? item.isRecycler === 'true' : true)
|
|
),
|
|
),
|
|
md: 8,
|
|
md: 8,
|
|
attributes: {
|
|
attributes: {
|