|
@@ -163,7 +163,7 @@
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="row.lossNumber"
|
|
v-model="row.lossNumber"
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
|
- :disabled="type == 'detail'"
|
|
|
|
|
|
|
+ :disabled="type == 'detail' || qms_defaultDisposalType"
|
|
|
type="number"
|
|
type="number"
|
|
|
@input="inputValue('lossNumber', row, $index)"
|
|
@input="inputValue('lossNumber', row, $index)"
|
|
|
@click.native="curretNum = row.lossNumber"
|
|
@click.native="curretNum = row.lossNumber"
|
|
@@ -175,7 +175,7 @@
|
|
|
<el-input
|
|
<el-input
|
|
|
v-model="row.lossNumberUnqualified"
|
|
v-model="row.lossNumberUnqualified"
|
|
|
placeholder="请输入"
|
|
placeholder="请输入"
|
|
|
- :disabled="type == 'detail'"
|
|
|
|
|
|
|
+ :disabled="type == 'detail' || qms_defaultDisposalType"
|
|
|
type="number"
|
|
type="number"
|
|
|
@input="inputValue('lossNumberUnqualified', row, $index)"
|
|
@input="inputValue('lossNumberUnqualified', row, $index)"
|
|
|
@click.native="curretNum = row.lossNumberUnqualified"
|
|
@click.native="curretNum = row.lossNumberUnqualified"
|
|
@@ -748,7 +748,8 @@
|
|
|
label: '让步接收'
|
|
label: '让步接收'
|
|
|
}
|
|
}
|
|
|
],
|
|
],
|
|
|
- qms_qualityResultContent: 1
|
|
|
|
|
|
|
+ qms_qualityResultContent: 1,
|
|
|
|
|
+ qms_defaultDisposalType: false
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -782,6 +783,11 @@
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
created() {
|
|
created() {
|
|
|
|
|
+ parameterGetByCode({
|
|
|
|
|
+ code: 'default_disposal_type'
|
|
|
|
|
+ }).then((res) => {
|
|
|
|
|
+ this.qms_defaultDisposalType = res?.value == 1 ? true : false;
|
|
|
|
|
+ });
|
|
|
this.requestDict('质检计划类型');
|
|
this.requestDict('质检计划类型');
|
|
|
this.requestDict('取样类型');
|
|
this.requestDict('取样类型');
|
|
|
this.requestDict('质检标准类型');
|
|
this.requestDict('质检标准类型');
|