Commit ee337f30 authored by 周毅's avatar 周毅

调整显示以及查询

parent 765a0d27
...@@ -96,22 +96,22 @@ ...@@ -96,22 +96,22 @@
{ {
title: "盘存数量", title: "盘存数量",
field: "pcsl", field: "pcsl",
width: 100, fieldType: "float"
}, },
{ {
title: "库存数量", title: "库存数量",
field: "djsl", field: "djsl",
width: 100, fieldType: "float"
}, },
{ {
title: "盘盈数量", title: "盘盈数量",
field: "pysl", field: "pysl",
width: 100, fieldType: "float"
}, },
{ {
title: "盘亏数量", title: "盘亏数量",
field: "pksl", field: "pksl",
width: 100, fieldType: "float"
}, },
{ {
title: "盈亏原因", title: "盈亏原因",
......
...@@ -80,22 +80,22 @@ ...@@ -80,22 +80,22 @@
{ {
title: "盘存数量", title: "盘存数量",
field: "pcsl", field: "pcsl",
width: 100, fieldType: "float"
}, },
{ {
title: "库存数量", title: "库存数量",
field: "djsl", field: "djsl",
width: 100, fieldType: "float"
}, },
{ {
title: "盘盈数量", title: "盘盈数量",
field: "pysl", field: "pysl",
width: 100, fieldType: "float"
}, },
{ {
title: "盘亏数量", title: "盘亏数量",
field: "pksl", field: "pksl",
width: 100, fieldType: "float"
}, },
{ {
title: "备注", title: "备注",
......
...@@ -131,27 +131,27 @@ ...@@ -131,27 +131,27 @@
type: 'date', type: 'date',
value: '' value: ''
}, },
{ {
label: '物料', "label": "仓库",
prop: 'wlid', "prop": "ckid",
span: 6, "span": 6,
type: 'input', "type": "RelSelect",
value: '' "value": this.app.form.ckid,
}, "typeConfig": {
{ "src": "lxyl/jcsj/uck/ck/queryCjckid",
"label": "仓库", "match": {
"prop": "ckid", "value": "id",
"span": 6, "label": "name"
"type": "RelSelect", }
"value": this.app.form.ckid, }
"typeConfig": { },
"src": "lxyl/jcsj/uck/ck/queryCjckid", {
"match": { label: '批号',
"value": "id", prop: 'wlph',
"label": "name" span: 6,
} type: 'input',
} value: ''
}, },
// { // {
// "label": "含0库存", // "label": "含0库存",
// "prop": "zero", // "prop": "zero",
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
{ {
title: "唯一码", title: "唯一码",
field: "packCode", field: "packCode",
width: 140 width: 180
}, },
{ {
title: "容器码", title: "容器码",
......
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
[ [
{ {
label: '检验单号', label: '检验单号',
prop: 'jydh', prop: 'djid',
span: 6, span: 6,
type: 'input', type: 'input',
value: '' value: ''
......
...@@ -194,7 +194,10 @@ ...@@ -194,7 +194,10 @@
id: ctx.singleItem.id id: ctx.singleItem.id
}).then(res => { }).then(res => {
if (res.success) { if (res.success) {
this.$success('操作成功') if (res.message)
this.$warning(res.message)
else
this.$success("创建检验单成功!");
ctx.refresh() ctx.refresh()
} }
}) })
......
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