|
@ -232,6 +232,13 @@ |
|
|
that.jobStatus = res.data.status |
|
|
that.jobStatus = res.data.status |
|
|
that.jobToLocationCode = that.subList[0].toLocationCode |
|
|
that.jobToLocationCode = that.subList[0].toLocationCode |
|
|
that.productionLineCode = that.subList[0].productionLineCode; |
|
|
that.productionLineCode = that.subList[0].productionLineCode; |
|
|
|
|
|
var valiDate = getSwitchInfoByCode("fgProductReceipCommitValidate") |
|
|
|
|
|
if(valiDate){ |
|
|
|
|
|
that.jobContent.allowModifyLocation = 'TRUE' |
|
|
|
|
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
that.jobContent.allowModifyLocation = 'FALSE' |
|
|
|
|
|
} |
|
|
// if (that.jobContent.allowModifyLocation == 'FALSE') { |
|
|
// if (that.jobContent.allowModifyLocation == 'FALSE') { |
|
|
// that.toLocationCode = that.subList[0].toLocationCode |
|
|
// that.toLocationCode = that.subList[0].toLocationCode |
|
|
// } |
|
|
// } |
|
|