Browse Source

正常打印增加断号验证

branch_ccpg_220107
songnan.zhang 3 years ago
parent
commit
1ec69e80e5
  1. 17
      vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue

17
vue/src/views/pg-fis/basedate/m100Online/normalPritIndex.vue

@ -327,7 +327,11 @@
<el-button type="text" @click="dialogFormVisible = false" <el-button type="text" @click="dialogFormVisible = false"
>取消</el-button >取消</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 >确认</el-button
> >
</div> </div>
@ -637,6 +641,9 @@ export default {
...mapGetters(["userInfo"]), // ...mapGetters(["userInfo"]), //
}, },
methods: { methods: {
debounceClick() {
console.log("2秒内点击无数次,都只会触发一次");
},
// //
beginHostSNChange(val) { beginHostSNChange(val) {
if (this.listQuery.productType === 1) { if (this.listQuery.productType === 1) {
@ -1251,6 +1258,10 @@ export default {
if (this.listQuery.productType === 1) { 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 this.$axios
.posts( .posts(
"/api/newjit/bill-m100/check-mb-hostsn-break-num", "/api/newjit/bill-m100/check-mb-hostsn-break-num",
@ -1368,6 +1379,10 @@ export default {
}); });
} else if (this.listQuery.productType === 2) { } 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 this.$axios
.posts( .posts(
"/api/newjit/bill-m100/check-zhb-hostsn-break-num", "/api/newjit/bill-m100/check-zhb-hostsn-break-num",

Loading…
Cancel
Save