| | |
| | | @click="showcageinfo(item['cage'])"></div>
|
| | | </div>
|
| | | <div class="blue gezi"
|
| | | :style="{ display: flex, position: absolute, float: left, top: 105 + 'px', left: 1050 + 'px', height: loadglassheight + 'px', width: 5 + 'px' }">
|
| | | :style="{ display: 'flex', position: 'absolute', float: 'left', top: 105 + 'px', left: 1050 + 'px', height: loadglassheight + 'px', width: 5 + 'px' }">
|
| | | </div>
|
| | | <div class="blocks-img" :style="{ left: car1 + 'px', top: '16px' }"></div>
|
| | | <div class="blocks-img" :style="{ left: car2 + 'px', top: '175px' }"></div>
|
| | |
| | | this.$message.success(this.$t('Operation successful'));
|
| | |
|
| | | } else {
|
| | | this.$message.success(this.$t('There is no glass for this order'));
|
| | | this.$message.error(this.$t('There is no glass for this order'));
|
| | | }
|
| | | this.load();
|
| | | });
|
| | |
| | | sbumitglassid() {
|
| | | if (this.form.order != "") {
|
| | | if (this.form.height < 380 || this.form.width < 390 || this.form.height > 1810 || this.form.width > 2760) {
|
| | | this.$message.success(this.$t('The glass size is not within the range'));
|
| | | this.$message.error(this.$t('The glass size is not within the range'));
|
| | | } else {
|
| | | if (this.zhuangtai == true) {
|
| | | Addglassid(this.glassid).then(res => {
|
| | |
| | | this.$message.success(this.$t('Operation successful'));
|
| | | this.cancal();
|
| | | } else if (res.data.message2 == 500) {
|
| | | this.$message.success(this.$t('There are currently tasks'));
|
| | | this.$message.error(this.$t('There are currently tasks'));
|
| | | }
|
| | | else if (res.data.message2 == 300) {
|
| | | this.$message.success(this.$t('There is no such glass'));
|
| | | this.$message.error(this.$t('There is no such glass'));
|
| | | }
|
| | | else if (res.data.message2 == 400) {
|
| | | this.$message.success(this.$t('There is no such grid'));
|
| | | this.$message.error(this.$t('There is no such grid'));
|
| | | }
|
| | | });
|
| | | } else {
|
| | | this.$message.success(this.$t('There are currently tasks'));
|
| | | this.$message.error(this.$t('There are currently tasks'));
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | this.form = res.data.form;
|
| | | this.dialogFormVisible = true;
|
| | | }else{
|
| | | this.$message.success(this.$t('There is no such glass'));
|
| | | this.$message.error(this.$t('There is no such glass'));
|
| | | }
|
| | | });
|
| | |
|
| | |
| | | }
|
| | | });
|
| | | } else {
|
| | | this.$message.success(this.$t('Password error'));//密码错误
|
| | | this.$message.error(this.$t('Password error'));//密码错误
|
| | | }
|
| | | }).catch(() => {
|
| | | this.$message({
|
| | |
| | | }
|
| | | });
|
| | | } else {
|
| | | this.$message.success(this.$t('No delete allowed'));
|
| | | this.$message.error(this.$t('No delete allowed'));
|
| | | }
|
| | | } else {
|
| | | this.$message.success(this.$t('Password error'));//密码错误
|
| | | this.$message.error(this.$t('Password error'));//密码错误
|
| | | }
|
| | |
|
| | | }).catch(() => {
|
| | |
| | | this.$message.success(this.$t('Operation successful'));
|
| | | }
|
| | | else if (res.data.message2 == 300) {
|
| | | this.$message.success(this.$t('There is no such grid'));
|
| | | this.$message.error(this.$t('There is no such grid'));
|
| | | }
|
| | | });
|
| | | } else {
|
| | | this.$message.success(this.$t('No out allowed'));
|
| | | this.$message.error(this.$t('No out allowed'));
|
| | | }
|
| | | } else {
|
| | | this.$message.success(this.$t('Password error'));//密码错误
|
| | | this.$message.error(this.$t('Password error'));//密码错误
|
| | | }
|
| | | }).catch(() => {
|
| | | this.$message({
|