|
|
|
@ -75,7 +75,7 @@
|
|
|
|
|
:header-cell-class-name="cellClass" @current-change="handleSelectionChange">
|
|
|
|
|
<el-table-column label width="45">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-radio :label="scope.row.nameCode" v-model="radioCheck"><span></span></el-radio>
|
|
|
|
|
<el-radio :label="scope.row.nameCode" v-model="radioCheck" :disabled="isDisabled(scope.row.nameCode)"><span></span></el-radio>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="序号" type="index"></el-table-column>
|
|
|
|
@ -398,8 +398,6 @@
|
|
|
|
|
></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
|
<el-row type="flex">
|
|
|
|
|
<el-col :span="11" class="el-col">
|
|
|
|
@ -791,6 +789,10 @@ export default {
|
|
|
|
|
type: Function,
|
|
|
|
|
required: true,
|
|
|
|
|
},
|
|
|
|
|
nameCodes: {
|
|
|
|
|
type: Array,
|
|
|
|
|
required: true,
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
@ -810,6 +812,7 @@ export default {
|
|
|
|
|
productsType: 2,
|
|
|
|
|
bzgg:"",
|
|
|
|
|
prepnSpec:"",
|
|
|
|
|
filterNameCodes:[]
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -981,8 +984,8 @@ export default {
|
|
|
|
|
getSmUdiInfos(this.filterQuery)
|
|
|
|
|
.then((response) => {
|
|
|
|
|
this.loading = false;
|
|
|
|
|
this.list = response.data.list || [];
|
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
|
this.list = response.data.list || [];
|
|
|
|
|
this.total = response.data.total || 0;
|
|
|
|
|
})
|
|
|
|
|
.catch(() => {
|
|
|
|
|
this.loading = false;
|
|
|
|
@ -990,7 +993,6 @@ export default {
|
|
|
|
|
this.total = 0;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
getDetailList(detailQuery) {
|
|
|
|
|
this.loading = true;
|
|
|
|
|
filterByUuid(detailQuery)
|
|
|
|
@ -1118,7 +1120,12 @@ export default {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
|
this.radioCheck = selection.nameCode;
|
|
|
|
|
if (this.nameCodes.includes(selection.nameCode)){
|
|
|
|
|
return
|
|
|
|
|
}else{
|
|
|
|
|
this.radioCheck = selection.nameCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.curSelectDi = selection;
|
|
|
|
|
if (selection.length > 1) {
|
|
|
|
|
this.$refs.diList.clearSelection();
|
|
|
|
@ -1150,6 +1157,11 @@ export default {
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
isDisabled(nameCode){
|
|
|
|
|
if (this.nameCodes.length > 0){
|
|
|
|
|
return this.nameCodes.includes(nameCode);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
handleErpChange(val) {
|
|
|
|
|
this.currentRow = val;
|
|
|
|
|
},
|
|
|
|
|