Commit 959cbb7a authored by renjintao's avatar renjintao

accessory

parent dfdf66f7
......@@ -7,7 +7,7 @@
<span class="ml20">申请时间:{{row.creationTime}}</span>
<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>
</p>
<Split v-model="split" mode="vertical" @on-move-end="moveEnd">
......@@ -37,7 +37,7 @@
>
<template slot-scope="{ row, index }" slot="counts">
<InputNumber
:max="row.total"
:max="row.nowTotal"
:min="0"
v-model="row.count"
@on-blur="inputChange(row,index)"
......@@ -92,11 +92,13 @@ export default {
key: "count",
title: this.l("count1"),
align: "right",
width:150,
},
{
key: "outCount",
title: "出库数",
align: "right",
width:150,
render: (h, params) => {
return h(
"op",
......@@ -120,6 +122,7 @@ export default {
key: "status",
title: "状态",
align: "center",
width:150,
render: (h, params) => {
return h(
"op",
......@@ -151,6 +154,11 @@ export default {
title: this.l1("name"),
align: "left",
},
{
key: "code",
title: this.l1("code"),
align: "left",
},
{
key: "materialCode",
title: this.l1("materialCode"),
......@@ -170,22 +178,25 @@ export default {
key: "creationTime",
title: this.l1("creationTime1"),
align: "center",
width:220,
},
{
key: "creator",
title: this.l1("creator1"),
align: "right",
align: "left",
},
{
key: "total",
title: this.l1("total1"),
key: "nowTotal",
title: this.l1("nowTotal"),
align: "right",
width:150,
},
{
key: "count",
title: this.l1("count"),
align: "right",
slot: "counts",
width:150,
},
],
datasOut: [],
......@@ -212,6 +223,7 @@ export default {
key: "creationTime",
title: this.l2("creationTime"),
align: "center",
width:220,
},
{
key: "creatorUserId",
......@@ -222,6 +234,7 @@ export default {
key: "count",
title: this.l2("count"),
align: "right",
width:150,
},
],
};
......@@ -337,6 +350,7 @@ export default {
temItems.forEach((el) => {
if (el.count > 0) {
let temObj = {
stockItemId:el.id,
count: el.count,
storeId: el.storeId,
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