|
|
@ -327,7 +327,11 @@ |
|
|
|
<el-button type="text" @click="dialogFormVisible = false" |
|
|
|
>取消</el-button |
|
|
|
> |
|
|
|
<el-button v-loading="formLoading" type="primary" @click="save" |
|
|
|
<el-button |
|
|
|
v-loading="formLoading" |
|
|
|
type="primary" |
|
|
|
@click="save" |
|
|
|
v-debounce="debounceClick" |
|
|
|
>确认</el-button |
|
|
|
> |
|
|
|
</div> |
|
|
@ -637,6 +641,9 @@ export default { |
|
|
|
...mapGetters(["userInfo"]), //获取当前用户信息 |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
debounceClick() { |
|
|
|
console.log("2秒内点击无数次,都只会触发一次"); |
|
|
|
}, |
|
|
|
//大众顺序号起止事件改变 |
|
|
|
beginHostSNChange(val) { |
|
|
|
if (this.listQuery.productType === 1) { |
|
|
@ -1251,6 +1258,10 @@ export default { |
|
|
|
|
|
|
|
if (this.listQuery.productType === 1) { |
|
|
|
//门板-打印 |
|
|
|
this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN); |
|
|
|
this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN); |
|
|
|
this.hostCheckQuery.productLine = this.listQuery.productLine; |
|
|
|
|
|
|
|
this.$axios |
|
|
|
.posts( |
|
|
|
"/api/newjit/bill-m100/check-mb-hostsn-break-num", |
|
|
@ -1368,6 +1379,10 @@ export default { |
|
|
|
}); |
|
|
|
} else if (this.listQuery.productType === 2) { |
|
|
|
//柱护板 |
|
|
|
|
|
|
|
this.hostCheckQuery.beginHostSN = parseInt(this.form.beginHostSN); |
|
|
|
this.hostCheckQuery.endHostSN = parseInt(this.form.endHostSN); |
|
|
|
this.hostCheckQuery.productLine = this.listQuery.productLine; |
|
|
|
this.$axios |
|
|
|
.posts( |
|
|
|
"/api/newjit/bill-m100/check-zhb-hostsn-break-num", |
|
|
|