Commit 17d177bc by LJM

【修改】-【修改价格】改为-单选操作不可批量修改价格

parent a01ee440
Showing with 10 additions and 0 deletions
......@@ -792,6 +792,16 @@ export default {
});
return;
}
// 修改价格时检查是否只选择了一条数据
if (command == 4 && this.multipleSelection.length > 1) {
this.$message({
message: '只能选择一条数据',
type: 'warning'
});
return;
}
this.selectData = JSON.parse(JSON.stringify(this.multipleSelection));
if (command == 1) {
//修改库存弹窗
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment