|
|
|
@ -2265,11 +2265,13 @@ |
|
|
|
}, |
|
|
|
onDetailSamplingPlanOrLevelChange (row) { |
|
|
|
if (this.hasSamplingValue(row.samplingProgrammeNo) || this.hasSamplingValue(row.samplingLevelNo)) { |
|
|
|
this.$set(row, 'samplingDefaultsEdited', true) |
|
|
|
this.$set(row, 'defaultSamplingQuantity', '') |
|
|
|
this.$set(row, 'defaultSamplingProportion', '') |
|
|
|
} |
|
|
|
}, |
|
|
|
onDetailSamplingFieldInput (row, field) { |
|
|
|
this.$set(row, 'samplingDefaultsEdited', true) |
|
|
|
if (field === 'defaultSamplingQuantity' && this.hasSamplingValue(row.defaultSamplingQuantity)) { |
|
|
|
this.$set(row, 'samplingProgrammeNo', '') |
|
|
|
this.$set(row, 'samplingProgrammeDesc', '') |
|
|
|
|