|
@@ -138,12 +138,11 @@ export default {
|
|
{
|
|
{
|
|
isShow: this.formOptions.workerId.isShow,
|
|
isShow: this.formOptions.workerId.isShow,
|
|
name: 'el-select',
|
|
name: 'el-select',
|
|
- options: this.workerList.filter(item =>
|
|
|
|
- (this.orderInfo.workerId == item.value ||
|
|
|
|
- !~this.orderInfo.orderWorkers.map(item => item.workerId).indexOf(item.value)) &&
|
|
|
|
- this.orderType == 'RECYCLE'
|
|
|
|
- ? item.isRecycler
|
|
|
|
- : true
|
|
|
|
|
|
+ options: this.workerList.filter(
|
|
|
|
+ item =>
|
|
|
|
+ (this.orderInfo.workerId == item.value ||
|
|
|
|
+ !~this.orderInfo.orderWorkers.map(item => item.workerId).indexOf(item.value)) &&
|
|
|
|
+ (this.orderType == 'RECYCLE' ? item.isRecycler : true)
|
|
),
|
|
),
|
|
md: 8,
|
|
md: 8,
|
|
attributes: {
|
|
attributes: {
|
|
@@ -199,11 +198,10 @@ export default {
|
|
{
|
|
{
|
|
isShow: this.formOptions.orderWorkers.isEdit,
|
|
isShow: this.formOptions.orderWorkers.isEdit,
|
|
name: 'el-select',
|
|
name: 'el-select',
|
|
- options: this.workerList.filter(item =>
|
|
|
|
- !~this.orderInfo.orderWorkers.map(item => item.workerId).indexOf(item.value) &&
|
|
|
|
- this.orderType == 'RECYCLE'
|
|
|
|
- ? item.isRecycler
|
|
|
|
- : true
|
|
|
|
|
|
+ options: this.workerList.filter(
|
|
|
|
+ item =>
|
|
|
|
+ !~this.orderInfo.orderWorkers.map(item => item.workerId).indexOf(item.value) &&
|
|
|
|
+ (this.orderType == 'RECYCLE' ? item.isRecycler : true)
|
|
),
|
|
),
|
|
md: 8,
|
|
md: 8,
|
|
attributes: {
|
|
attributes: {
|