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