shish пре 2 година
родитељ
комит
92ead788a8
2 измењених фајлова са 6 додато и 6 уклоњено
  1. 2 2
      ghs/src/views/in/change.vue
  2. 4 4
      ghs/src/views/in/list.vue

+ 2 - 2
ghs/src/views/in/change.vue

@@ -125,7 +125,7 @@ export default {
 				}
 			})
 			if(hasError){
-				this.$msg(errorHint)
+				this.$message({message: errorHint,type: 'warning'})
 				return false
 			}
 			this.$confirm('确认保存?', '提示', { confirmButtonText: '确认', cancelButtonText: '取消', type: 'warning' }).then(() => {
@@ -168,7 +168,7 @@ export default {
 				}
 			})
 			if(hasError){
-				this.$msg(errorHint)
+				this.$message({message: errorHint,type: 'warning'})
 				return false
 			}
 			let hint = '确认提交?'

+ 4 - 4
ghs/src/views/in/list.vue

@@ -48,7 +48,7 @@
 
       <template #table-column-status="{scope}">
         <span v-if="scope.row.status == 2">待发货</span>
-        <span v-else-if="scope.row.status == 3">待入库</span>
+        <span v-else-if="scope.row.status == 3" style="color:blue;font-weight:bold;font-size:14px;">待入库</span>
         <span v-else-if="scope.row.status == 4">已入库</span>
         <span v-else-if="scope.row.status == 5">已取消</span>
         <span v-else>待付款</span>
@@ -87,17 +87,17 @@ export default {
         },
         {
           text: '待入库',
-          key: '1',
+          key: '3',
           val: 0
         },
         {
           text: '已入库',
-          key: '2',
+          key: '4',
           val: 0
         },
         {
           text: '已取消',
-          key: '3',
+          key: '5',
           val: 0
         }
       ],