| | |
| | | }
|
| | | }
|
| | | },
|
| | | //判断玻璃是否超出范围
|
| | | Sizerange(Glass) {
|
| | | if ((Glass.glassheight < 380 || Glass.glasswidth < 390 || Glass.glassheight > 1810 || Glass.glasswidth > 2760) || (Glass.glassheight < 390 || Glass.glasswidth < 380 || Glass.glassheight > 2760 || Glass.glasswidth > 1810)) {
|
| | | if (this.disabled == false) {
|
| | | this.disabled = true;
|
| | | this.$message.error(this.$t('The glass size is not within the range'));
|
| | | this.$confirm(this.$t('The glass size is not within the range'), this.$t('confirm'), {
|
| | | confirmwidth: 7000,
|
| | | height: 8000,
|
| | | // confirmwidth: 7000,
|
| | | // height: 8000,
|
| | | // confirmButtonText: this.$t('Yes'),
|
| | | // cancelButtonText: this.$t('No'),
|
| | | type: 'warning'
|