Commit c4501e7c authored by 李苏's avatar 李苏 💬

基础调整1

parent 2ae3f4e1
...@@ -59,15 +59,8 @@ ...@@ -59,15 +59,8 @@
], ],
queryParams: [ queryParams: [
[{ [{
label: '编码', label: '货主信息',
prop: 'code', prop: 'hzInfo',
span: 6,
type: 'input',
value: ''
},
{
label: '名称',
prop: 'name',
span: 6, span: 6,
type: 'input', type: 'input',
value: '' value: ''
......
...@@ -50,6 +50,12 @@ ...@@ -50,6 +50,12 @@
field: "wlxxGg", field: "wlxxGg",
width: 140 width: 140
}, },
{
title: "检验数量",
field: "jysl",
width: 140
},
{ {
title: "制令号", title: "制令号",
field: "zlh", field: "zlh",
...@@ -74,7 +80,7 @@ ...@@ -74,7 +80,7 @@
title: "合格标志", title: "合格标志",
field: "hgbz", field: "hgbz",
"transform": { "transform": {
"url": "lxyl/zlgl/ukcjyd/init/JyStatus", "url": "lxyl/zlgl/ukcjyd/init/zjqdStatusEnum",
"label": "name", "label": "name",
"value": "id" "value": "id"
}, },
......
...@@ -53,7 +53,18 @@ ...@@ -53,7 +53,18 @@
/* 基本配置*/ /* 基本配置*/
url: 'lxyl/zlgl/ukcjyd', url: 'lxyl/zlgl/ukcjyd',
queryUrl:'wms/common/queryZkPackOrRq', queryUrl:'wms/common/queryZkPackOrRq',
tableTitle: [{ tableTitle: [
{
title: "唯一码",
field: "packCode",
width: 140
},
{
title: "容器",
field: "rqCode",
width: 140
},
{
title: "物料编码", title: "物料编码",
field: "wlxxCode", field: "wlxxCode",
width: 140 width: 140
...@@ -83,11 +94,7 @@ ...@@ -83,11 +94,7 @@
field: "hzName", field: "hzName",
width: 140 width: 140
}, },
{
title: "唯一码",
field: "packCode",
width: 140
},
{ {
title: "数量", title: "数量",
field: "packmxSl", field: "packmxSl",
......
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
<BasePage :power='power' @getRow='getRow' class="min_full" style="height: 100%;" :config="config"> <BasePage :power='power' @getRow='getRow' class="min_full" style="height: 100%;" :config="config">
<template #dialog="ctx"> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<Add :app='ctx.basePage' v-if="ctx.basePage.showDialog" /> <Add :app='ctx.basePage' v-if="ctx.basePage.showDialog" />
</template> </template>
<template #toolbar="ctx"> <template #toolbar="ctx">
<el-button @click="showAdd(ctx.basePage)" size='mini' type="primary">新增</el-button> <el-button @click="showAdd(ctx.basePage)" size='mini' type="primary">新增</el-button>
<el-button @click="pd(ctx.basePage,'A')" size='mini' type="primary">判定合格</el-button> <el-button @click="pd(ctx.basePage,'A')" size='mini' type="primary">判定合格</el-button>
<el-button @click="pd(ctx.basePage,'R')" size='mini' type="primary">判定不合格</el-button> <el-button @click="pd(ctx.basePage,'R')" size='mini' type="primary">判定不合格</el-button>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
export default { export default {
data() { data() {
return { return {
power:{ power: {
add: false, add: false,
copy: false, copy: false,
/* 手动控制删除 */ /* 手动控制删除 */
...@@ -85,25 +85,35 @@ ...@@ -85,25 +85,35 @@
title: "来源单类型", title: "来源单类型",
field: "lydlx", field: "lydlx",
width: 200, width: 200,
"transform": { "transform": {
"url": "lxyl/zlgl/ukcjyd/init/Jylydlx", "url": "lxyl/zlgl/ukcjyd/init/Jylydlx",
"label": "name", "label": "name",
"value": "id" "value": "id"
} }
}, },
{ {
title: "来源单号", title: "来源单号",
field: "lydid", field: "lydid",
width: 200, width: 200,
formatter(a,b,c){ formatter(a, b, c) {
return a.kccjCode||a.ukcyhdCode return a.kccjCode || a.ukcyhdCode
} }
}, },
{ {
title: "检验数量", title: "检验数量",
field: "jypsl", field: "jypsl",
width: 140 width: 140
}, },
{
title: "评估代码",
field: "pgdm",
"transform": {
"url": "lxyl/zlgl/ukcjyd/init/JyStatus",
"label": "name",
"value": "id"
},
width: 140
},
// { // {
// title: "合格数量", // title: "合格数量",
// field: "hgsl", // field: "hgsl",
...@@ -171,25 +181,25 @@ ...@@ -171,25 +181,25 @@
}, },
methods: { methods: {
pd(ctx,hgbz){ pd(ctx, hgbz) {
if(ctx.singleItem&&ctx.singleItem.id){ if (ctx.singleItem && ctx.singleItem.id) {
this.$post('lxyl/zlgl/ukcjyd/doCheck',{ this.$post('lxyl/zlgl/ukcjyd/doCheck', {
id:ctx.singleItem.id, id: ctx.singleItem.id,
hgbz:hgbz hgbz: hgbz
}).then(res=>{ }).then(res => {
if(res.success){ if (res.success) {
this.$success('操作成功'), this.$success('操作成功'),
ctx.refresh() ctx.refresh()
} }
}) })
}else{ } else {
this.$warning('请选中一条数据') this.$warning('请选中一条数据')
} }
}, },
showAdd(ctx){ showAdd(ctx) {
ctx.DialogTitle='新增' ctx.DialogTitle = '新增'
ctx.DialogWidth='70vw' ctx.DialogWidth = '70vw'
ctx.showDialog=true ctx.showDialog = true
}, },
getRow(val) { getRow(val) {
this.$emit('getRow', val) this.$emit('getRow', val)
......
...@@ -100,11 +100,11 @@ ...@@ -100,11 +100,11 @@
{ {
title: "合格标志", title: "合格标志",
field: "hgbz", field: "hgbz",
"transform": { "transform": {
"url": "lxyl/zlgl/ukcjyd/init/JyStatus", "url": "lxyl/zlgl/ukcjyd/init/zjqdStatusEnum",
"label": "name", "label": "name",
"value": "id" "value": "id"
}, },
width: 140 width: 140
}, },
......
...@@ -50,7 +50,18 @@ ...@@ -50,7 +50,18 @@
/* 基本配置*/ /* 基本配置*/
url: 'lxyl/zlgl/ukcjyd', url: 'lxyl/zlgl/ukcjyd',
queryUrl:'wms/common/queryZkPackOrRq', queryUrl:'wms/common/queryZkPackOrRq',
tableTitle: [{ tableTitle: [
{
title: "唯一码",
field: "packCode",
width: 140
},
{
title: "容器",
field: "rqCode",
width: 140
},
{
title: "物料编码", title: "物料编码",
field: "wlxxCode", field: "wlxxCode",
width: 140 width: 140
...@@ -80,11 +91,6 @@ ...@@ -80,11 +91,6 @@
field: "hzName", field: "hzName",
width: 140 width: 140
}, },
{
title: "唯一码",
field: "packCode",
width: 140
},
{ {
title: "数量", title: "数量",
field: "sl", field: "sl",
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
title: "合格标志", title: "合格标志",
field: "hgbz", field: "hgbz",
"transform": { "transform": {
"url": "lxyl/zlgl/ukcjyd/init/JyStatus", "url": "lxyl/zlgl/ukcjyd/init/zjqdStatusEnum",
"label": "name", "label": "name",
"value": "id" "value": "id"
}, },
......
...@@ -50,7 +50,18 @@ ...@@ -50,7 +50,18 @@
/* 基本配置*/ /* 基本配置*/
url: 'lxyl/zlgl/ukcjyd', url: 'lxyl/zlgl/ukcjyd',
queryUrl:'wms/common/queryZkPackOrRq', queryUrl:'wms/common/queryZkPackOrRq',
tableTitle: [{ tableTitle: [
{
title: "唯一码",
field: "packCode",
width: 140
},
{
title: "容器",
field: "rqCode",
width: 140
},
{
title: "物料编码", title: "物料编码",
field: "wlxxCode", field: "wlxxCode",
width: 140 width: 140
...@@ -80,11 +91,6 @@ ...@@ -80,11 +91,6 @@
field: "hzName", field: "hzName",
width: 140 width: 140
}, },
{
title: "唯一码",
field: "packCode",
width: 140
},
{ {
title: "数量", title: "数量",
field: "sl", field: "sl",
......
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