|
|
@ -2553,11 +2553,11 @@ export default { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
if ((this.modalData.tracker === '' || this.modalData.tracker == null) && this.modalData.sourcing === 'Y') { |
|
|
|
|
|
|
|
|
if ((this.modalData.tracker === '' || this.modalData.tracker == null) && (this.modalData.sourcing === 'Y' || this.modalData.sourcing === '0' || this.modalData.sourcing === 0)) { |
|
|
this.$message.warning('请选择采购专员编码!') |
|
|
this.$message.warning('请选择采购专员编码!') |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if ((this.modalData.trackerName === '' || this.modalData.trackerName == null) && this.modalData.sourcing === 'Y') { |
|
|
|
|
|
|
|
|
if ((this.modalData.trackerName === '' || this.modalData.trackerName == null) && (this.modalData.sourcing === 'Y' || this.modalData.sourcing === '0' || this.modalData.sourcing === 0)) { |
|
|
this.$message.warning('请选择采购专员名称!') |
|
|
this.$message.warning('请选择采购专员名称!') |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
@ -3395,11 +3395,11 @@ export default { |
|
|
cancelButtonText: '取消', |
|
|
cancelButtonText: '取消', |
|
|
type: 'warning' |
|
|
type: 'warning' |
|
|
}).then(() => { |
|
|
}).then(() => { |
|
|
if ((this.modalData.tracker === '' || this.modalData.tracker == null) && this.modalData.sourcing === 'Y') { |
|
|
|
|
|
|
|
|
if ((this.modalData.tracker === '' || this.modalData.tracker == null) && (this.modalData.sourcing === 'Y' || this.modalData.sourcing === '0' || this.modalData.sourcing === 0)) { |
|
|
this.$message.warning('请选择采购专员编码!') |
|
|
this.$message.warning('请选择采购专员编码!') |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if ((this.modalData.trackerName === '' || this.modalData.trackerName == null) && this.modalData.sourcing === 'Y') { |
|
|
|
|
|
|
|
|
if ((this.modalData.trackerName === '' || this.modalData.trackerName == null) && (this.modalData.sourcing === 'Y' || this.modalData.sourcing === '0' || this.modalData.sourcing === 0)) { |
|
|
this.$message.warning('请选择采购专员名称!') |
|
|
this.$message.warning('请选择采购专员名称!') |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|