Browse Source

箱号格式不正确提示信息修改

纪新园 6 months ago
parent
commit
32834921e8

+ 12 - 10
src/views/boxManagement/agentBox/detailsPage.vue

@@ -1394,11 +1394,12 @@ export default {
               if (this.calculateCheckDigit(row[name]) == row[name][10]) {
                 // this.$message.success('集装箱校验正确!')
               } else {
-                this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                  confirmButtonText: '确定',
-                  cancelButtonText: '取消',
-                  type: 'warning'
-                }).then(() => {
+                  this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                      confirmButtonText: '确定',
+                      cancelButtonText: '取消',
+                      dangerouslyUseHTMLString:true,
+                      type: 'warning'
+                  }).then(() => {
                   // this.$message({
                   //   type: 'success',
                   //   message: '删除成功!'
@@ -1408,11 +1409,12 @@ export default {
                 });
               }
             } else {
-              this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                confirmButtonText: '确定',
-                cancelButtonText: '取消',
-                type: 'warning'
-              }).then(() => {
+                this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                    confirmButtonText: '确定',
+                    cancelButtonText: '取消',
+                    dangerouslyUseHTMLString:true,
+                    type: 'warning'
+                }).then(() => {
                 // this.$message({
                 //   type: 'success',
                 //   message: '删除成功!'

+ 12 - 10
src/views/boxManagement/boxAdjustment/detailsPage.vue

@@ -1271,11 +1271,12 @@ export default {
               if (this.calculateCheckDigit(row[name]) == row[name][10]) {
                 // this.$message.success('集装箱校验正确!')
               } else {
-                this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                  confirmButtonText: '确定',
-                  cancelButtonText: '取消',
-                  type: 'warning'
-                }).then(() => {
+                  this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                      confirmButtonText: '确定',
+                      cancelButtonText: '取消',
+                      dangerouslyUseHTMLString:true,
+                      type: 'warning'
+                  }).then(() => {
                   // this.$message({
                   //   type: 'success',
                   //   message: '删除成功!'
@@ -1285,11 +1286,12 @@ export default {
                 });
               }
             } else {
-              this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                confirmButtonText: '确定',
-                cancelButtonText: '取消',
-                type: 'warning'
-              }).then(() => {
+                this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                    confirmButtonText: '确定',
+                    cancelButtonText: '取消',
+                    dangerouslyUseHTMLString:true,
+                    type: 'warning'
+                }).then(() => {
                 // this.$message({
                 //   type: 'success',
                 //   message: '删除成功!'

+ 12 - 10
src/views/boxManagement/boxExit/detailsPage.vue

@@ -1317,11 +1317,12 @@ export default {
               if (this.calculateCheckDigit(row[name]) == row[name][10]) {
                 // this.$message.success('集装箱校验正确!')
               } else {
-                this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                  confirmButtonText: '确定',
-                  cancelButtonText: '取消',
-                  type: 'warning'
-                }).then(() => {
+                  this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                      confirmButtonText: '确定',
+                      cancelButtonText: '取消',
+                      dangerouslyUseHTMLString:true,
+                      type: 'warning'
+                  }).then(() => {
                   // this.$message({
                   //   type: 'success',
                   //   message: '删除成功!'
@@ -1331,11 +1332,12 @@ export default {
                 });
               }
             } else {
-              this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                confirmButtonText: '确定',
-                cancelButtonText: '取消',
-                type: 'warning'
-              }).then(() => {
+                this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                    confirmButtonText: '确定',
+                    cancelButtonText: '取消',
+                    dangerouslyUseHTMLString:true,
+                    type: 'warning'
+                }).then(() => {
                 // this.$message({
                 //   type: 'success',
                 //   message: '删除成功!'

+ 12 - 10
src/views/boxManagement/buyContainer/detailsPage.vue

@@ -1222,11 +1222,12 @@ export default {
               if (this.calculateCheckDigit(row[name]) == row[name][10]) {
                 // this.$message.success('集装箱校验正确!')
               } else {
-                this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                  confirmButtonText: '确定',
-                  cancelButtonText: '取消',
-                  type: 'warning'
-                }).then(() => {
+                  this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                      confirmButtonText: '确定',
+                      cancelButtonText: '取消',
+                      dangerouslyUseHTMLString:true,
+                      type: 'warning'
+                  }).then(() => {
                   // this.$message({
                   //   type: 'success',
                   //   message: '删除成功!'
@@ -1236,11 +1237,12 @@ export default {
                 });
               }
             } else {
-              this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                confirmButtonText: '确定',
-                cancelButtonText: '取消',
-                type: 'warning'
-              }).then(() => {
+                this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                    confirmButtonText: '确定',
+                    cancelButtonText: '取消',
+                    dangerouslyUseHTMLString:true,
+                    type: 'warning'
+                }).then(() => {
                 // this.$message({
                 //   type: 'success',
                 //   message: '删除成功!'

+ 12 - 10
src/views/boxManagement/containerNumber/detailsPage.vue

@@ -1005,11 +1005,12 @@ export default {
               if (this.calculateCheckDigit(row[name]) == row[name][10]) {
                 // this.$message.success('集装箱校验正确!')
               } else {
-                this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                  confirmButtonText: '确定',
-                  cancelButtonText: '取消',
-                  type: 'warning'
-                }).then(() => {
+                  this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                      confirmButtonText: '确定',
+                      cancelButtonText: '取消',
+                      dangerouslyUseHTMLString:true,
+                      type: 'warning'
+                  }).then(() => {
                   // this.$message({
                   //   type: 'success',
                   //   message: '删除成功!'
@@ -1019,11 +1020,12 @@ export default {
                 });
               }
             } else {
-              this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                confirmButtonText: '确定',
-                cancelButtonText: '取消',
-                type: 'warning'
-              }).then(() => {
+                this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                    confirmButtonText: '确定',
+                    cancelButtonText: '取消',
+                    dangerouslyUseHTMLString:true,
+                    type: 'warning'
+                }).then(() => {
                 // this.$message({
                 //   type: 'success',
                 //   message: '删除成功!'

+ 12 - 10
src/views/boxManagement/rentalBox/detailsPage.vue

@@ -1451,11 +1451,12 @@ export default {
               if (this.calculateCheckDigit(row[name]) == row[name][10]) {
                 // this.$message.success('集装箱校验正确!')
               } else {
-                this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                  confirmButtonText: '确定',
-                  cancelButtonText: '取消',
-                  type: 'warning'
-                }).then(() => {
+                  this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                      confirmButtonText: '确定',
+                      cancelButtonText: '取消',
+                      dangerouslyUseHTMLString:true,
+                      type: 'warning'
+                  }).then(() => {
                   // this.$message({
                   //   type: 'success',
                   //   message: '删除成功!'
@@ -1465,11 +1466,12 @@ export default {
                 });
               }
             } else {
-              this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                confirmButtonText: '确定',
-                cancelButtonText: '取消',
-                type: 'warning'
-              }).then(() => {
+                this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                    confirmButtonText: '确定',
+                    cancelButtonText: '取消',
+                    dangerouslyUseHTMLString:true,
+                    type: 'warning'
+                }).then(() => {
                 // this.$message({
                 //   type: 'success',
                 //   message: '删除成功!'

+ 12 - 10
src/views/iosBasicData/OceanFreightImport/bills/assembly/DistributionBox/containers.vue

@@ -377,11 +377,12 @@ export default {
               if (this.calculateCheckDigit(row[name]) == row[name][10]) {
                 // this.$message.success('集装箱校验正确!')
               } else {
-                this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                  confirmButtonText: '确定',
-                  cancelButtonText: '取消',
-                  type: 'warning'
-                }).then(() => {
+                  this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                      confirmButtonText: '确定',
+                      cancelButtonText: '取消',
+                      dangerouslyUseHTMLString:true,
+                      type: 'warning'
+                  }).then(() => {
                   // this.$message({
                   //   type: 'success',
                   //   message: '删除成功!'
@@ -391,11 +392,12 @@ export default {
                 });
               }
             } else {
-              this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                confirmButtonText: '确定',
-                cancelButtonText: '取消',
-                type: 'warning'
-              }).then(() => {
+                this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                    confirmButtonText: '确定',
+                    cancelButtonText: '取消',
+                    dangerouslyUseHTMLString:true,
+                    type: 'warning'
+                }).then(() => {
                 // this.$message({
                 //   type: 'success',
                 //   message: '删除成功!'

+ 5 - 3
src/views/iosBasicData/SeafreightExportF/bills/assembly/DistributionBox/containers.vue

@@ -608,11 +608,12 @@ export default {
                             if (this.calculateCheckDigit(row[name]) == row[name][10]) {
                                 // this.$message.success('集装箱校验正确!')
                             } else {
-                                this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
+                                this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
                                     confirmButtonText: '确定',
                                     cancelButtonText: '取消',
+                                    dangerouslyUseHTMLString:true,
                                     type: 'warning'
-                                }).then(() => {
+                            }).then(() => {
                                     // this.$message({
                                     //   type: 'success',
                                     //   message: '删除成功!'
@@ -622,9 +623,10 @@ export default {
                                 });
                             }
                         } else {
-                            this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
+                            this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
                                 confirmButtonText: '确定',
                                 cancelButtonText: '取消',
+                                dangerouslyUseHTMLString:true,
                                 type: 'warning'
                             }).then(() => {
                                 // this.$message({

+ 4 - 2
src/views/iosBasicData/businessCenter/customerBooking/components/DistributionBox/containers.vue

@@ -536,9 +536,10 @@ export default {
                             if (this.calculateCheckDigit(row[name]) == row[name][10]) {
                                 // this.$message.success('集装箱校验正确!')
                             } else {
-                                this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
+                                this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
                                     confirmButtonText: '确定',
                                     cancelButtonText: '取消',
+                                    dangerouslyUseHTMLString:true,
                                     type: 'warning'
                                 }).then(() => {
                                     // this.$message({
@@ -550,9 +551,10 @@ export default {
                                 });
                             }
                         } else {
-                            this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
+                            this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
                                 confirmButtonText: '确定',
                                 cancelButtonText: '取消',
+                                dangerouslyUseHTMLString:true,
                                 type: 'warning'
                             }).then(() => {
                                 // this.$message({

+ 12 - 10
src/views/ow/contract/detailsPage.vue

@@ -526,11 +526,12 @@ export default {
               if (this.calculateCheckDigit(row[name]) == row[name][10]) {
                 // this.$message.success('集装箱校验正确!')
               } else {
-                this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                  confirmButtonText: '确定',
-                  cancelButtonText: '取消',
-                  type: 'warning'
-                }).then(() => {
+                  this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                      confirmButtonText: '确定',
+                      cancelButtonText: '取消',
+                      dangerouslyUseHTMLString:true,
+                      type: 'warning'
+                  }).then(() => {
                   // this.$message({
                   //   type: 'success',
                   //   message: '删除成功!'
@@ -540,11 +541,12 @@ export default {
                 });
               }
             } else {
-              this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                confirmButtonText: '确定',
-                cancelButtonText: '取消',
-                type: 'warning'
-              }).then(() => {
+                this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                    confirmButtonText: '确定',
+                    cancelButtonText: '取消',
+                    dangerouslyUseHTMLString:true,
+                    type: 'warning'
+                }).then(() => {
                 // this.$message({
                 //   type: 'success',
                 //   message: '删除成功!'

+ 12 - 10
src/views/ow/owPut/detailsPage.vue

@@ -2342,11 +2342,12 @@ export default {
               if (this.calculateCheckDigit(row[name]) == row[name][10]) {
                 // this.$message.success('集装箱校验正确!')
               } else {
-                this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                  confirmButtonText: '确定',
-                  cancelButtonText: '取消',
-                  type: 'warning'
-                }).then(() => {
+                  this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                      confirmButtonText: '确定',
+                      cancelButtonText: '取消',
+                      dangerouslyUseHTMLString:true,
+                      type: 'warning'
+                  }).then(() => {
                   // this.$message({
                   //   type: 'success',
                   //   message: '删除成功!'
@@ -2356,11 +2357,12 @@ export default {
                 });
               }
             } else {
-              this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                confirmButtonText: '确定',
-                cancelButtonText: '取消',
-                type: 'warning'
-              }).then(() => {
+                this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                    confirmButtonText: '确定',
+                    cancelButtonText: '取消',
+                    dangerouslyUseHTMLString:true,
+                    type: 'warning'
+                }).then(() => {
                 // this.$message({
                 //   type: 'success',
                 //   message: '删除成功!'

+ 12 - 10
src/views/ow/owTask/detailsPage.vue

@@ -2352,11 +2352,12 @@ export default {
               if (this.calculateCheckDigit(row[name]) == row[name][10]) {
                 // this.$message.success('集装箱校验正确!')
               } else {
-                this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                  confirmButtonText: '确定',
-                  cancelButtonText: '取消',
-                  type: 'warning'
-                }).then(() => {
+                  this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                      confirmButtonText: '确定',
+                      cancelButtonText: '取消',
+                      dangerouslyUseHTMLString:true,
+                      type: 'warning'
+                  }).then(() => {
                   // this.$message({
                   //   type: 'success',
                   //   message: '删除成功!'
@@ -2366,11 +2367,12 @@ export default {
                 });
               }
             } else {
-              this.$confirm(`箱号:${row[name]}是否强制加入系统?`, '提示', {
-                confirmButtonText: '确定',
-                cancelButtonText: '取消',
-                type: 'warning'
-              }).then(() => {
+                this.$confirm(`<strong><p style='color:#F56C6C'>箱号:${row[name]},格式不正确,是否强制加入系统?</p ></strong>`, '提示', {
+                    confirmButtonText: '确定',
+                    cancelButtonText: '取消',
+                    dangerouslyUseHTMLString:true,
+                    type: 'warning'
+                }).then(() => {
                 // this.$message({
                 //   type: 'success',
                 //   message: '删除成功!'