Commit 959cbb7a authored by renjintao's avatar renjintao

accessory

parent dfdf66f7
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<span class="ml20">申请时间:{{row.creationTime}}</span> <span class="ml20">申请时间:{{row.creationTime}}</span>
<span class="ml20"> <span class="ml20">
状态: 状态:
<state code="aps.plan.supportingStatus" :value="row.status+''" type="text"></state> <state code="accessory.status" :value="row.status+''" type="text"></state>
</span> </span>
</p> </p>
<Split v-model="split" mode="vertical" @on-move-end="moveEnd"> <Split v-model="split" mode="vertical" @on-move-end="moveEnd">
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
> >
<template slot-scope="{ row, index }" slot="counts"> <template slot-scope="{ row, index }" slot="counts">
<InputNumber <InputNumber
:max="row.total" :max="row.nowTotal"
:min="0" :min="0"
v-model="row.count" v-model="row.count"
@on-blur="inputChange(row,index)" @on-blur="inputChange(row,index)"
...@@ -92,11 +92,13 @@ export default { ...@@ -92,11 +92,13 @@ export default {
key: "count", key: "count",
title: this.l("count1"), title: this.l("count1"),
align: "right", align: "right",
width:150,
}, },
{ {
key: "outCount", key: "outCount",
title: "出库数", title: "出库数",
align: "right", align: "right",
width:150,
render: (h, params) => { render: (h, params) => {
return h( return h(
"op", "op",
...@@ -120,6 +122,7 @@ export default { ...@@ -120,6 +122,7 @@ export default {
key: "status", key: "status",
title: "状态", title: "状态",
align: "center", align: "center",
width:150,
render: (h, params) => { render: (h, params) => {
return h( return h(
"op", "op",
...@@ -151,6 +154,11 @@ export default { ...@@ -151,6 +154,11 @@ export default {
title: this.l1("name"), title: this.l1("name"),
align: "left", align: "left",
}, },
{
key: "code",
title: this.l1("code"),
align: "left",
},
{ {
key: "materialCode", key: "materialCode",
title: this.l1("materialCode"), title: this.l1("materialCode"),
...@@ -170,22 +178,25 @@ export default { ...@@ -170,22 +178,25 @@ export default {
key: "creationTime", key: "creationTime",
title: this.l1("creationTime1"), title: this.l1("creationTime1"),
align: "center", align: "center",
width:220,
}, },
{ {
key: "creator", key: "creator",
title: this.l1("creator1"), title: this.l1("creator1"),
align: "right", align: "left",
}, },
{ {
key: "total", key: "nowTotal",
title: this.l1("total1"), title: this.l1("nowTotal"),
align: "right", align: "right",
width:150,
}, },
{ {
key: "count", key: "count",
title: this.l1("count"), title: this.l1("count"),
align: "right", align: "right",
slot: "counts", slot: "counts",
width:150,
}, },
], ],
datasOut: [], datasOut: [],
...@@ -212,6 +223,7 @@ export default { ...@@ -212,6 +223,7 @@ export default {
key: "creationTime", key: "creationTime",
title: this.l2("creationTime"), title: this.l2("creationTime"),
align: "center", align: "center",
width:220,
}, },
{ {
key: "creatorUserId", key: "creatorUserId",
...@@ -222,6 +234,7 @@ export default { ...@@ -222,6 +234,7 @@ export default {
key: "count", key: "count",
title: this.l2("count"), title: this.l2("count"),
align: "right", align: "right",
width:150,
}, },
], ],
}; };
...@@ -337,6 +350,7 @@ export default { ...@@ -337,6 +350,7 @@ export default {
temItems.forEach((el) => { temItems.forEach((el) => {
if (el.count > 0) { if (el.count > 0) {
let temObj = { let temObj = {
stockItemId:el.id,
count: el.count, count: el.count,
storeId: el.storeId, storeId: el.storeId,
storeTitle: el.storeTitle, storeTitle: el.storeTitle,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment