Commit 580609faeea27c0f4bcdb9afe4c8ed8cefa1bc79

Authored by 谭毅彬
1 parent e3be2fdc

库位比较页面状态分色显示

Signed-off-by: TanYibin <5491541@qq.com>
ant-design-vue-jeecg/src/views/system/compare/CompareWcsLocation.vue
@@ -47,7 +47,6 @@ @@ -47,7 +47,6 @@
47 </a-form> 47 </a-form>
48 </div> 48 </div>
49 <!-- 查询区域-END --> 49 <!-- 查询区域-END -->
50 -  
51 <!-- table区域-begin --> 50 <!-- table区域-begin -->
52 <div> 51 <div>
53 <a-table 52 <a-table
@@ -174,6 +173,8 @@ export default { @@ -174,6 +173,8 @@ export default {
174 align: 'center', 173 align: 'center',
175 dataIndex: 'consistencyStatus', 174 dataIndex: 'consistencyStatus',
176 key: 'consistencyStatus', 175 key: 'consistencyStatus',
  176 + fixed: "right",
  177 + width: 100,
177 scopedSlots: { customRender: 'consistencyStatus' } 178 scopedSlots: { customRender: 'consistencyStatus' }
178 } 179 }
179 ], 180 ],
@@ -249,7 +250,6 @@ export default { @@ -249,7 +250,6 @@ export default {
249 } 250 }
250 }, 251 },
251 getStatusColor(status) { 252 getStatusColor(status) {
252 - debugger  
253 const colors = { 253 const colors = {
254 'empty': 'green', 254 'empty': 'green',
255 'lock': 'blue', 255 'lock': 'blue',
ant-design-vue-jeecg/src/views/system/compare/CompareWcsLocationTask.vue
@@ -65,6 +65,7 @@ @@ -65,6 +65,7 @@
65 :pagination="ipagination" 65 :pagination="ipagination"
66 :loading="loading" 66 :loading="loading"
67 @change="handleTableChange" 67 @change="handleTableChange"
  68 + class="j-table-force-nowrap"
68 > 69 >
69 <span slot="taskType" slot-scope="taskType"> 70 <span slot="taskType" slot-scope="taskType">
70 <a-tag :key="taskType"> 71 <a-tag :key="taskType">
@@ -228,6 +229,8 @@ export default { @@ -228,6 +229,8 @@ export default {
228 align: 'center', 229 align: 'center',
229 dataIndex: 'consistencyStatus', 230 dataIndex: 'consistencyStatus',
230 key: 'consistencyStatus', 231 key: 'consistencyStatus',
  232 + fixed: "right",
  233 + width: 100,
231 scopedSlots: { customRender: 'consistencyStatus' } 234 scopedSlots: { customRender: 'consistencyStatus' }
232 } 235 }
233 ], 236 ],