| | |
| | | confirmButtonText: this.$t('Yes'),
|
| | | cancelButtonText: this.$t('No'),
|
| | | type: 'warning'
|
| | | }).then(({ value }) => {
|
| | | if (this.password == value) {
|
| | | }).then(() => {
|
| | | UpdateTask(type, glassid, cell).then(res => {
|
| | | if (res.data.message3 == 200) {
|
| | | this.$message.success(this.$t('Operation successful'));
|
| | | }
|
| | | });
|
| | | } else {
|
| | | this.$message.error(this.$t('Password error'));//密码错误
|
| | | }
|
| | | |
| | | }).catch(() => {
|
| | | this.$message({
|
| | | type: 'info',
|
| | |
| | | confirmButtonText: this.$t('Yes'),
|
| | | cancelButtonText: this.$t('No'),
|
| | | type: 'warning'
|
| | | }).then(({ value }) => {
|
| | | if (this.password == value) {
|
| | | }).then(() => {
|
| | | if (state == 1) {
|
| | | DeleteByGlassID(glassid).then(res => {
|
| | | if (res.data.message3 == 200) {
|
| | | this.$message.success(this.$t('Operation successful'));
|
| | | }
|
| | | });
|
| | | } else {
|
| | | this.$message.error(this.$t('No delete allowed'));
|
| | | }
|
| | | } else {
|
| | | this.$message.error(this.$t('Password error'));//密码错误
|
| | | }
|
| | |
| | | confirmButtonText: this.$t('Yes'),
|
| | | cancelButtonText: this.$t('No'),
|
| | | type: 'warning'
|
| | | }).then(({ value }) => {
|
| | | if (this.password == value) {
|
| | | }).then(() => {
|
| | | if (state == 1) {
|
| | | OutByGlassID(glassid).then(res => {
|
| | | if (res.data.message2 == 200) {
|
| | |
| | | this.$message.error(this.$t('This glass is already in the Queue'));
|
| | | }
|
| | | });
|
| | | } else {
|
| | | this.$message.error(this.$t('No out allowed'));
|
| | | }
|
| | | } else {
|
| | | this.$message.error(this.$t('Password error'));//密码错误
|
| | | }
|
| | |
| | | confirmButtonText: this.$t('Yes'),
|
| | | cancelButtonText: this.$t('No'),
|
| | | type: 'warning'
|
| | | }).then(({ value }) => {
|
| | | if (this.password == value) {
|
| | | }).then(() => {
|
| | | this.insertcage = cage;
|
| | | this.insertcell = cell;
|
| | | this.inserttier = tier;
|
| | | this.showform(2);
|
| | | } else {
|
| | | this.$message.error(this.$t('Password error'));//密码错误
|
| | | }
|
| | | }).catch(() => {
|
| | | this.$message({
|
| | | type: 'info',
|
| | |
| | | confirmButtonText: this.$t('Yes'),
|
| | | cancelButtonText: this.$t('No'),
|
| | | type: 'warning'
|
| | | }).then(({ value }) => {
|
| | | if (this.password == value) {
|
| | | }).then(() => {
|
| | | Disabled(cage, cell, disabled).then(res => {
|
| | | if (res.data.message == 200) {
|
| | | this.$message.success(this.$t('Operation successful'));
|
| | | }
|
| | | });
|
| | | }
|
| | | }).catch(() => {
|
| | | this.$message({
|
| | | type: 'info',
|
| | |
| | | cancelButtonText: this.$t('No'),
|
| | | type: 'warning'
|
| | | }).then(() => {
|
| | | // if (this.password == value) {
|
| | | DeleteProductionQueueGlass(id).then(res => {
|
| | | if (res.data.message == 200) {
|
| | | this.$message.success(this.$t('Operation successful'));
|
| | |
| | | this.$message.error(this.$t('This frame has glass that is currently outing'));
|
| | | }
|
| | | });
|
| | | // }
|
| | | }).catch(() => {
|
| | | this.$message({
|
| | | type: 'info',
|