提交 90fa9292 authored 作者: huaxinzhu's avatar huaxinzhu

1

上级 d13b0cda
...@@ -458,7 +458,7 @@ export default { ...@@ -458,7 +458,7 @@ export default {
this.$bus.$emit("initSpecIsLadderVal",this.parameterdata.is_ladder_spec) this.$bus.$emit("initSpecIsLadderVal",this.parameterdata.is_ladder_spec)
} }
console.log("编辑刚加载:",this.parameterdata) // console.log("编辑刚加载:",this.parameterdata)
}, },
beforeDestroy () { beforeDestroy () {
this.$bus.$off('customPriceSpec') this.$bus.$off('customPriceSpec')
...@@ -485,15 +485,6 @@ export default { ...@@ -485,15 +485,6 @@ export default {
this.debounceOninput2(); this.debounceOninput2();
}, },
debounceOninput2: debounce(function(){ debounceOninput2: debounce(function(){
console.log(333,this.specIndex)
console.log(444,this.scopeIndex2)
console.log(555,this.scopeRow2)
console.log(666,this.parameterdata.specs_group)
// if (this.scopeIndex > 0) {
// if(this.scopeRow.quantity <= this.parameterdata.ladder[this.scopeIndex - 1].quantity) {
// this.$message({type: "warning",message: "当前数量应该比前一个数量值大"});
// }
// }
if(this.scopeIndex2 > 0) { if(this.scopeIndex2 > 0) {
if(this.scopeRow2.quantity <= this.parameterdata.specs_group[this.specIndex].ladder[this.scopeIndex2-1].quantity) { if(this.scopeRow2.quantity <= this.parameterdata.specs_group[this.specIndex].ladder[this.scopeIndex2-1].quantity) {
this.$message({type: "warning",message: "当前数量应该比前一个数量值大"}); this.$message({type: "warning",message: "当前数量应该比前一个数量值大"});
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论