Commit 019b982c authored by 周毅's avatar 周毅

修改界面

parent d998b6fd
......@@ -13,13 +13,13 @@
<editTableForEdit :expandTitle='true' :phsxTitle='true' :AuxButton="false" :indexApp='app' :type='type'
ref="editTableForEdit" :editTableTitle='editTableTitle' v-if="editTableForEdit" :computedRow='computedRow'
:editTableData="formDetail">
<template v-if="type!='view'" #toolbar="ctx">
<!-- <template v-if="type!='view'" #toolbar="ctx">
<AuxButton
:queryParams="{
rktzid:that.form.lydjid
}"
:dynamic='true' :component='Wym' rename='选择唯一码' code='dynamic' @save="savewym" />
</template>
</template> -->
</editTableForEdit>
</div>
<el-row :gutter="20" :app="this" class="editRow bottomInfo">
......@@ -38,8 +38,6 @@
</RelDialog>
</template>
<script>
import Wym from './wym/index.vue'
import WMSRKD from './wmsRkd'
import {
toFixed,
digit,
......
......@@ -22,7 +22,7 @@
data() {
return {
power: {
add: true,
add: false,
copy: false,
/* 手动控制删除 */
delButton: false,
......@@ -44,7 +44,7 @@
title: "状态",
field: "zt",
"transform": {
"url": "lxyl/rkgl/sjrw/ckhk/init/zt",
"url": "wms/rkgl/sjrw/init/zt",
"label": "name",
"value": "id"
},
......@@ -189,7 +189,7 @@
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "lxyl/rkgl/sjrw/ckhk/init/zt ",
"src": "wms/rkgl/sjrw/init/zt ",
"match": {
"value": "id",
"label": "name"
......@@ -211,10 +211,11 @@
},
saveGw(form) {
let params = {
id:form.id,
gwid: form.gwid,
rqid: form.rqid
}
this.$post('lxyl/rkgl/sjrw/lkrk/start', params).then(res => {
this.$post('lxyl/rkgl/sjrw/ckhk/start', params).then(res => {
if (res.success) {
this.$refs.basePage.refresh()
......
<template>
<BasePage :toolButtonConfig="{
showExcel:false,
showPrint:false,
showField:true
}" ref="basePage" :power='power' class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> -->
</template>
</BasePage>
</template>
<script>
export default {
data() {
return {
power: {
add: false,
copy: false,
delButton: false,
editButton: false,
operateButtons: false,
workFlow: false,
/* 表格 */
showSelection: false,
saveSelected: false
},
config: {
/* 基本配置*/
url: 'wms/rkgl/sjrw/query/rktz',
queryUrl:'wms/rkgl/sjrw/query/rktz',
tableTitle: [
{
title: "状态",
field: "bzzt",
fieldType: "ftString",
align: 'center',
width: 80,
"transform": {
"url": "wms/rkgl/rktz/init/bzzt",
"label": "name",
"value": "id"
}
},
{
title: "入库单号",
field: "djid",
width: 140
},
{
title: "入库日期",
field: "ywrq",
fieldType: 'ftDate'
},
// {
// title: "入库人",
// field: "rkr",
// width: 140
// },
{
title: "事务类型",
field: "swlxName",
width: 100
},
{
title: "仓库",
field: "ckid",
width: 140,
hidden: true
},
{
title: "仓库",
field: "ckName",
width: 140
},
{
title: "入库部门",
field: "bmName",
width: 140
},
{
title: "备注",
field: "bz",
width: 240
},
{
title: "维护人",
field: "whr"
},
{
title: "维护时间",
field: "whsj",
fieldType: 'ftDateTime'
}
],
queryParams: [
[
{
label: '开始日期',
prop: 'start',
span: 6,
type: 'date',
value: ''
},
{
label: '结束日期',
prop: 'end',
span: 6,
type: 'date',
value: ''
},
{
"label": "仓库",
"prop": "ckid",
"span": 6,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "jcsj/common/ck/queryCkid",
"match": {
"value": "id",
"label": "name"
}
}
},
{
label: '单据编号',
prop: 'djid',
span: 6,
type: 'input',
value: ''
}
],[
{
label: '状态',
prop: 'zt',
span: 6,
type: 'RelSelect',
typeConfig: {
src: 'wms/rkgl/rktz/init/zt'
}
},
{
label: '事务类型',
prop: 'swlxid',
span: 6,
type: 'RelSelect',
typeConfig: {
src: 'wms/rkgl/rktz/init/swlx'
}
}
]
],
/* 默认启停用 */
showqt: false,
}
}
},
methods: {
/* 示例*/
// demo(basePage){
// }
},
components: {
}
}
</script>
<style>
</style>
<template>
<BasePage :toolButtonConfig="{
showExcel:false,
showPrint:false,
showField:true
}" :mixedQueryParams='$attrs.mixedQueryParams' ref="basePage" :power='power' class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> -->
</template>
</BasePage>
</template>
<script>
export default {
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: false,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: false,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: true,
saveSelected: true
},
config: {
/* 基本配置*/
url: 'wms/rkgl/sjrw/query/pack',
queryUrl:'wms/rkgl/sjrw/query/pack',
tableTitle: [
{
title: "唯一码",
field: "packCode",
width: 140
},
// {
// title: "容器码",
// field: "rqCode",
// width: 140
// },
// {
// title: "货主编码",
// field: "hzCode",
// width: 140
// },
// {
// title: "货主",
// field: "hzName",
// width: 140
// },
// {
// title: "状态",
// field: "packZt",
// width: 140,
// transform: {
// "url": "wms/jcsj/rq/init/zt",
// "label": "name",
// "value": "id"
// }
// },
{
title: "库存状态",
field: "packKczt",
width: 140,
transform: {
"url": "wms/jcsj/rq/init/kczt",
"label": "name",
"value": "id"
}
},
// {
// title: "容量状态",
// field: "packRlzt",
// width: 140,
// transform: {
// "url": "wms/jcsj/rq/init/rlzt",
// "label": "name",
// "value": "id"
// }
// },
// {
// title: "运输状态",
// field: "packYszt",
// width: 140,
// transform: {
// "url": "wms/jcsj/rq/init/yszt",
// "label": "name",
// "value": "id"
// }
// },
{
title: "物料编码",
field: "wlxxCode",
width: 140
},
{
title: "物料批号",
field: "wlph",
width: 180
},
{
title: "物料名称",
field: "wlxxName",
width: 140
},
{
title: "制令号",
field: "zlh",
width: 180
},
{
title: "数量",
field: "sl",
width: 140
},
// {
// title: "入库单号",
// field: "rktzDjid",
// width: 180
// }
],
queryParams: [
[{
label: '唯一码',
prop: 'packCode',
span: 6,
type: 'input',
},
// {
// "label": "状态",
// "prop": "zt",
// "span": 6,
// "type": "RelSelect",
// "value": "",
// "typeConfig": {
// "src": "wms/jcsj/pack/init/zt",
// "match": {
// "value": "id",
// "label": "name"
// }
// }
// },
// {
// "label": "库存状态",
// "prop": "kczt",
// "span": 6,
// "type": "RelSelect",
// "value": "",
// "typeConfig": {
// "src": "wms/jcsj/pack/init/kczt",
// "match": {
// "value": "id",
// "label": "name"
// }
// }
// },
{
label: '物料批号',
prop: 'wlph',
span: 6,
type: 'input',
},
{
label: '物料',
prop: 'wlid',
span: 6,
required: false,
type: 'AuxInput',
typeConfig: {
give: (row) => {
},
isRequest: false,
code: 'WMSWLXX',
label: 'name',
transform: {
value: 'id',
label: 'name'
}
}
}
],
// [, ]
],
/* 默认启停用 */
showqt: false,
}
}
},
mounted() {
},
methods: {
/* 示例*/
},
components: {
// Edit
}
}
</script>
<style>
</style>
......@@ -48,7 +48,7 @@
"label": "name",
"value": "id"
},
width: 100
width: 80
},
{
title: "任务号",
......@@ -70,6 +70,11 @@
field: "kqName",
width: 140
},
{
title: "事务类型",
field: "swlxName",
width: 100
},
{
title: "起始位",
field: "gwName",
......
......@@ -58,6 +58,11 @@
field: "kqName",
width: 140
},
{
title: "事务类型",
field: "swlxName",
width: 100
},
{
title: "库位",
field: "kwName",
......
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