|  | @@ -410,7 +410,6 @@ export default {
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      // 离港出运
 | 
	
		
			
				|  |  |      departureShipment() {
 | 
	
		
			
				|  |  | -      console.log(this.ship)
 | 
	
		
			
				|  |  |        // if (this.ship[0].fArrivalStatus === 0) {
 | 
	
		
			
				|  |  |          if (this.departure === null) {
 | 
	
		
			
				|  |  |            this.$message({
 | 
	
	
		
			
				|  | @@ -428,12 +427,19 @@ export default {
 | 
	
		
			
				|  |  |              updateStatus: '1',
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |            cargoStatus(data).then(response => {
 | 
	
		
			
				|  |  | -            this.getList();
 | 
	
		
			
				|  |  | -            this.$message({
 | 
	
		
			
				|  |  | -              showClose: true,
 | 
	
		
			
				|  |  | -              message: '出港操作成功',
 | 
	
		
			
				|  |  | -              type: 'success'
 | 
	
		
			
				|  |  | -            });
 | 
	
		
			
				|  |  | +            this.$alert('离港操作成功', '提示', {
 | 
	
		
			
				|  |  | +              confirmButtonText: '确定',
 | 
	
		
			
				|  |  | +              type: 'success',
 | 
	
		
			
				|  |  | +              callback: action => {
 | 
	
		
			
				|  |  | +                this.getList();
 | 
	
		
			
				|  |  | +              }
 | 
	
		
			
				|  |  | +            })
 | 
	
		
			
				|  |  | +            // this.$message({
 | 
	
		
			
				|  |  | +            //   showClose: true,
 | 
	
		
			
				|  |  | +            //   message: '出港操作成功',
 | 
	
		
			
				|  |  | +            //   type: 'success'
 | 
	
		
			
				|  |  | +            // });
 | 
	
		
			
				|  |  | +            // this.getList();
 | 
	
		
			
				|  |  |            })
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        // }
 | 
	
	
		
			
				|  | @@ -449,6 +455,7 @@ export default {
 | 
	
		
			
				|  |  |      unloading() {
 | 
	
		
			
				|  |  |        // if (this.ship[0].fArrivalStatus === 1) {
 | 
	
		
			
				|  |  |          if (this.arrival === null) {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |            this.$message({
 | 
	
		
			
				|  |  |              showClose: true,
 | 
	
		
			
				|  |  |              message: '到港时间未选择',
 | 
	
	
		
			
				|  | @@ -464,12 +471,19 @@ export default {
 | 
	
		
			
				|  |  |              updateStatus: '2',
 | 
	
		
			
				|  |  |            }
 | 
	
		
			
				|  |  |            cargoStatus(data).then(response => {
 | 
	
		
			
				|  |  | -            this.getList();
 | 
	
		
			
				|  |  | -            this.$message({
 | 
	
		
			
				|  |  | -              showClose: true,
 | 
	
		
			
				|  |  | -              message: '到港操作成功',
 | 
	
		
			
				|  |  | -              type: 'success'
 | 
	
		
			
				|  |  | -            });
 | 
	
		
			
				|  |  | +            this.$alert('到港操作成功', '提示', {
 | 
	
		
			
				|  |  | +              confirmButtonText: '确定',
 | 
	
		
			
				|  |  | +              type: 'success',
 | 
	
		
			
				|  |  | +              callback: action => {
 | 
	
		
			
				|  |  | +                this.getList();
 | 
	
		
			
				|  |  | +              }
 | 
	
		
			
				|  |  | +            })
 | 
	
		
			
				|  |  | +            // this.$message({
 | 
	
		
			
				|  |  | +            //   showClose: true,
 | 
	
		
			
				|  |  | +            //   message: '到港操作成功',
 | 
	
		
			
				|  |  | +            //   type: 'success'
 | 
	
		
			
				|  |  | +            // });
 | 
	
		
			
				|  |  | +            // this.getList();
 | 
	
		
			
				|  |  |            })
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |        // } else {
 |