|
|
@@ -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: '删除成功!'
|