|
|
@ -75,7 +75,8 @@
|
|
|
|
<el-divider style="margin: 15px"></el-divider>
|
|
|
|
<el-divider style="margin: 15px"></el-divider>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table :data="dataList" style="width: 100%" v-loading="loading" border highlight-current-row
|
|
|
|
<el-table :data="dataList" style="width: 100%" v-loading="loading" border highlight-current-row
|
|
|
|
:row-class-name="tableRowClassName" @current-change="handleChange" @selection-change="handleSelectionChange" ref="multipleTable">
|
|
|
|
:row-class-name="tableRowClassName" @current-change="handleChange"
|
|
|
|
|
|
|
|
@selection-change="handleSelectionChange" ref="multipleTable">
|
|
|
|
<!--<el-table-column label width="45">-->
|
|
|
|
<!--<el-table-column label width="45">-->
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
<!-- <template slot-scope="scope">-->
|
|
|
|
<!-- <el-radio :label="scope.row.id" v-model="radioCheck"><span></span></el-radio>-->
|
|
|
|
<!-- <el-radio :label="scope.row.id" v-model="radioCheck"><span></span></el-radio>-->
|
|
|
@ -348,15 +349,15 @@ export default {
|
|
|
|
this.$message.error('未选择产品');
|
|
|
|
this.$message.error('未选择产品');
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
debugger
|
|
|
|
if (this.ids.length > 0) {
|
|
|
|
// if (this.ids.length > 0) {
|
|
|
|
for (var i = 0; i < this.ids.length; i++) {
|
|
|
|
// for (var i = 0; i < this.ids.length; i++) {
|
|
|
|
if (this.ids[i] == this.multipleSelection.id) {
|
|
|
|
// if (this.ids[i] == this.multipleSelection.id) {
|
|
|
|
this.$message.error("该产品已录入!");
|
|
|
|
// this.$message.error("该产品已录入!");
|
|
|
|
return
|
|
|
|
// return
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// let str = this.multipleSelection.zczbhhzbapzbh;
|
|
|
|
// let str = this.multipleSelection.zczbhhzbapzbh;
|
|
|
|