|
@@ -147,6 +147,7 @@ export default {
|
|
|
title: '指定领用面料',
|
|
|
key: 'realName',
|
|
|
minWidth: 200,
|
|
|
+ className:"bg-fa",
|
|
|
align: 'center'
|
|
|
},
|
|
|
{
|
|
@@ -181,6 +182,7 @@ export default {
|
|
|
title: '指定领用卷数',
|
|
|
key: 'appointNum',
|
|
|
minWidth: 120,
|
|
|
+ className:"bg-fa",
|
|
|
align: 'center',
|
|
|
render: (h, params) => {
|
|
|
if (params.row.list[0].appointNum !== void 0) {
|
|
@@ -209,6 +211,7 @@ export default {
|
|
|
title: '实际领用卷数',
|
|
|
key: 'actualNum',
|
|
|
minWidth: 120,
|
|
|
+ className:"bg-fa",
|
|
|
align: 'center',
|
|
|
render: (h, params) => {
|
|
|
if (params.row.list[0].actualNum !== void 0) {
|
|
@@ -238,7 +241,7 @@ export default {
|
|
|
key: 'appointNotClaimedNum',
|
|
|
minWidth: 135,
|
|
|
align: 'center',
|
|
|
- className: 'add-color',
|
|
|
+ className: 'add-color bg-fa',
|
|
|
render: (h, params) => {
|
|
|
if (params.row.list[0].appointNotClaimedNum !== void 0) {
|
|
|
return h(
|
|
@@ -264,7 +267,7 @@ export default {
|
|
|
on: {
|
|
|
click(e) {
|
|
|
e.stopPropagation()
|
|
|
- _this.pickingType = '1'
|
|
|
+ _this.pickingType = '2'
|
|
|
_this.detailsTitle = '指定领料未领卷数'
|
|
|
_this.rowData = item
|
|
|
_this.openDetails = true
|
|
@@ -287,7 +290,7 @@ export default {
|
|
|
key: 'additionalNum',
|
|
|
minWidth: 120,
|
|
|
align: 'center',
|
|
|
- className: 'add-color',
|
|
|
+ className: 'add-color bg-fa',
|
|
|
render: (h, params) => {
|
|
|
if (params.row.list[0].additionalNum !== void 0) {
|
|
|
return h(
|
|
@@ -313,7 +316,7 @@ export default {
|
|
|
on: {
|
|
|
click(e) {
|
|
|
e.stopPropagation()
|
|
|
- _this.pickingType = '2'
|
|
|
+ _this.pickingType = '3'
|
|
|
_this.detailsTitle = '额外领料卷数'
|
|
|
_this.rowData = item
|
|
|
_this.openDetails = true
|
|
@@ -387,34 +390,34 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- {
|
|
|
- title: '指定领料面积',
|
|
|
- key: 'appointArea',
|
|
|
- minWidth: 120,
|
|
|
- align: 'center',
|
|
|
- render: (h, params) => {
|
|
|
- if (params.row.list[0].appointArea !== void 0) {
|
|
|
- return h(
|
|
|
- 'div',
|
|
|
- {
|
|
|
- attrs: {
|
|
|
- class: 'subCol'
|
|
|
- }
|
|
|
- },
|
|
|
- [
|
|
|
- h(
|
|
|
- 'ul',
|
|
|
- params.row.list.map(item => {
|
|
|
- return h('li', {}, item.appointArea)
|
|
|
- })
|
|
|
- )
|
|
|
- ]
|
|
|
- )
|
|
|
- } else {
|
|
|
- return h('div', [h('span', '----')])
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '指定领料面积',
|
|
|
+ // key: 'appointArea',
|
|
|
+ // minWidth: 120,
|
|
|
+ // align: 'center',
|
|
|
+ // render: (h, params) => {
|
|
|
+ // if (params.row.list[0].appointArea !== void 0) {
|
|
|
+ // return h(
|
|
|
+ // 'div',
|
|
|
+ // {
|
|
|
+ // attrs: {
|
|
|
+ // class: 'subCol'
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // [
|
|
|
+ // h(
|
|
|
+ // 'ul',
|
|
|
+ // params.row.list.map(item => {
|
|
|
+ // return h('li', {}, item.appointArea)
|
|
|
+ // })
|
|
|
+ // )
|
|
|
+ // ]
|
|
|
+ // )
|
|
|
+ // } else {
|
|
|
+ // return h('div', [h('span', '----')])
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // },
|
|
|
{
|
|
|
title: '实际领料米数',
|
|
|
key: 'actualMeter',
|
|
@@ -444,8 +447,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- title: '排班面数',
|
|
|
+ title: '排班面积',
|
|
|
key: 'planArea',
|
|
|
+ className:"bg-fa",
|
|
|
minWidth: 120,
|
|
|
align: 'center',
|
|
|
render: (h, params) => {
|
|
@@ -474,6 +478,7 @@ export default {
|
|
|
{
|
|
|
title: '指定领料面积',
|
|
|
key: 'appointArea',
|
|
|
+ className:"bg-fa",
|
|
|
minWidth: 120,
|
|
|
align: 'center',
|
|
|
render: (h, params) => {
|
|
@@ -502,6 +507,7 @@ export default {
|
|
|
{
|
|
|
title: '实际领料面积',
|
|
|
key: 'actualArea',
|
|
|
+ className:"bg-fa",
|
|
|
minWidth: 120,
|
|
|
align: 'center',
|
|
|
render: (h, params) => {
|
|
@@ -560,7 +566,7 @@ export default {
|
|
|
key: 'actualOutputRatio',
|
|
|
minWidth: 120,
|
|
|
align: 'center',
|
|
|
- className: 'add-color',
|
|
|
+ className: 'add-color bg-fa',
|
|
|
render: (h, params) => {
|
|
|
if (params.row.list[0].actualOutputRatio !== void 0) {
|
|
|
return h(
|
|
@@ -752,12 +758,17 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
-
|
|
|
+<style>
|
|
|
+.bg-fa{
|
|
|
+ background: #f8f8f9!important;
|
|
|
+ }
|
|
|
+</style>
|
|
|
<style lang="less" scoped>
|
|
|
.container {
|
|
|
height: 100%;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
+
|
|
|
.tab-nav {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
@@ -918,7 +929,7 @@ export default {
|
|
|
margin: 0 -18px;
|
|
|
list-style: none;
|
|
|
padding: 9px;
|
|
|
- border-bottom: 1px solid #ccc;
|
|
|
+ border-bottom: 1px solid #e8eaec;
|
|
|
overflow-x: hidden;
|
|
|
height: 48px; /*看单元格内容*/
|
|
|
padding-left: 18px;
|
|
@@ -929,7 +940,7 @@ export default {
|
|
|
}
|
|
|
.ivu-table-row {
|
|
|
td {
|
|
|
- border-right: 1px solid #ccc;
|
|
|
+ // border-right: 1px solid #ccc;
|
|
|
}
|
|
|
}
|
|
|
.add-color {
|