Commit 765a0d27 authored by 周毅's avatar 周毅

调整页面显示

parent e3bcf861
...@@ -43,7 +43,17 @@ ...@@ -43,7 +43,17 @@
url: 'wms/ckgl/cktz/query/cktzqd', url: 'wms/ckgl/cktz/query/cktzqd',
queryUrl: 'wms/ckgl/cktz/query/cktzqd', queryUrl: 'wms/ckgl/cktz/query/cktzqd',
tableTitle: [ tableTitle: [
{ {
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "lxyl/ckgl/cktz/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "库位", title: "库位",
field: "kwCode", field: "kwCode",
width: 100, width: 100,
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
<ImportButton v-if="ctx.basePage.powerObj['01']" @success="()=>{ <ImportButton v-if="ctx.basePage.powerObj['01']" @success="()=>{
ctx.basePage.refresh() ctx.basePage.refresh()
}" :url="'/wms/rkgl/cskc/import'" /> }" :url="'/wms/rkgl/cskc/import'" />
<!-- <el-button @click="qktjkw(ctx.basePage)" size='mini' type="primary">清空推荐库位</el-button> -->
</template> </template>
</BasePage> </BasePage>
...@@ -219,46 +217,6 @@ ...@@ -219,46 +217,6 @@
ctx.DialogTitle = '同步送货单' ctx.DialogTitle = '同步送货单'
ctx.showDialog = true ctx.showDialog = true
}, },
qktjkw(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
this.$confirm('是否继续该操作?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
this.$post('lxyl/rkgl/sjtz/cleanKw ', {
id: ctx.singleItem.id
}).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.refresh()
}
})
})
} else {
this.$warning('请选中一条数据')
}
},
sapgz(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
this.$confirm('是否继续该操作?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
this.$post('lxyl/rkgl/rktz/sap/gz', {
id: ctx.singleItem.id
}).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.refresh()
}
})
})
} else {
this.$warning('请选中一条数据')
}
},
getRow(val) { getRow(val) {
this.$emit('getRow', val) this.$emit('getRow', val)
}, },
......
...@@ -349,7 +349,6 @@ ...@@ -349,7 +349,6 @@
Edit, Edit,
Detail, Detail,
Plcz Plcz
// Kwbg
} }
} }
......
<template>
<DefaultDialog v-loading='isLoading' :element-loading-text="text" :app='app'>
<div slot="form" style="">
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20" :app="this" class="editRow">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false "
v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label"
v-if="(item.show==false)?false:true" :prop='item.prop' :key="item.prop" :type="item.type"
:typeConfig='item.typeConfig' :rule="item.rule" />
<!-- 额外数据 -->
</el-row>
</el-form>
</div>
<div slot="reFooter" class="refooter">
<span slot="footer" class="dialog-footer">
<el-button @click="app.showDialog=false">取 消</el-button>
<el-button type="primary" @click="save()">确 定</el-button>
</span>
</div>
</DefaultDialog>
</template>
<script>
import {
editMixin,
editMixin_expand
} from 'common'
export default {
mixins: [editMixin, editMixin_expand],
props: {
app: {
type: Object,
default: () => {
return {}
}
}
},
async mounted() {
/* 初始化数据 */
this.form.id = this.app.singleItem.id
},
data() {
return {
isLoading: false,
text: '加载中',
readonly: false,
editColItemList: [
{
label: '库位',
prop: 'kwid',
span: 24,
required: true,
type: 'AuxInput',
typeConfig: {
isRequest: false,
code: 'WMSKWWH',
label: 'kwCode',
transform: {
value: 'id',
label: 'name'
}
}
},
]
}
},
methods: {
save() {
this.$refs['form'].validate((valid) => {
if (valid) {
this.isLoading = true
this.$post('lxyl/rkgl/sjtz/customKw', this.form).then(res => {
if (res.success) {
this.isLoading = false
this.$success('操作成功')
this.app.showDialog = false
this.app.$refs.TablePager.refresh()
}
}).finally(res => {
this.isLoading = false
})
}
})
}
}
}
</script>
<style scoped>
</style>
...@@ -58,13 +58,6 @@ ...@@ -58,13 +58,6 @@
type="primary" type="primary"
>取消确认</el-button >取消确认</el-button
> >
<el-button
v-if="ctx.basePage.powerObj['22']"
@click="sapgz(ctx.basePage)"
size="mini"
type="primary"
>SAP过账</el-button
>
<el-button <el-button
v-if="ctx.basePage.powerObj['23']" v-if="ctx.basePage.powerObj['23']"
@click="tbshd(ctx.basePage)" @click="tbshd(ctx.basePage)"
...@@ -93,8 +86,6 @@ ...@@ -93,8 +86,6 @@
type="primary" type="primary"
>同步销售退货</el-button >同步销售退货</el-button
> >
<!-- <el-button @click="qktjkw(ctx.basePage)" size='mini' type="primary">清空推荐库位</el-button> -->
</template> </template>
</BasePage> </BasePage>
</template> </template>
...@@ -281,46 +272,6 @@ export default { ...@@ -281,46 +272,6 @@ export default {
ctx.DialogTitle = "同步生产入库单"; ctx.DialogTitle = "同步生产入库单";
ctx.showDialog = true; ctx.showDialog = true;
}, },
qktjkw(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
this.$confirm("是否继续该操作?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then((res) => {
this.$post("lxyl/rkgl/sjtz/cleanKw ", {
id: ctx.singleItem.id,
}).then((res) => {
if (res.success) {
this.$success("操作成功");
ctx.refresh();
}
});
});
} else {
this.$warning("请选中一条数据");
}
},
sapgz(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
this.$confirm("是否继续该操作?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
}).then((res) => {
this.$post("lxyl/rkgl/rktz/sap/gz", {
id: ctx.singleItem.id,
}).then((res) => {
if (res.success) {
this.$success("操作成功");
ctx.refresh();
}
});
});
} else {
this.$warning("请选中一条数据");
}
},
getRow(val) { getRow(val) {
this.$emit("getRow", val); this.$emit("getRow", val);
}, },
......
<template>
<div class="outer">
<div class=" higher flex-column">
<!-- 分层-->
<div class="top">
<Top @sxmx='sxmx' @getRow='topGetRow' ref="top"></Top>
</div>
<div class="bottom flex">
<div class="full" >
<el-tabs @tab-click="handleClick" class="full" v-model="activeName" >
<el-tab-pane class="full" label="上架单明细" name="first">
<Mx ref="mx" class="full" />
</el-tab-pane>
<el-tab-pane class="full" label="上架作业" name="second">
<Sjhz ref="sjhz" class="full" />
</el-tab-pane>
<el-tab-pane class="full" label="上架结果" name="third">
<Sjjg ref="sjjg" class="full" />
</el-tab-pane>
</el-tabs>
</div>
</div>
</div>
</div>
</template>
<script>
import Top from './top/index.vue'
import Mx from './mx.vue'
import Sjhz from './sjhz.vue'
import Sjjg from './sjjg.vue'
export default {
components: {
Top,
Mx,
Sjhz,
Sjjg
},
data(){
return{
activeName:'first'
}
},
methods: {
handleClick(tab, event) {
if(tab.index==0){
this.$refs.mx.$refs.basePage.$refs['TablePager'].pageQuery({
setFirstCurrent: true
})
}else if(tab.index==1){
this.$refs.sjhz.$refs.basePage.$refs['TablePager'].pageQuery()
}else{
this.$refs.sjjg.$refs.basePage.$refs['TablePager'].pageQuery()
}
},
sxmx(){
this.$refs.mx.$refs.basePage.refresh()
},
topGetRow(row) {
/*
*/
let mid = row.id
this.$refs.mx.$refs.basePage.$row=row
this.$refs.mx.$refs.basePage.queryParams.mid = mid
this.$refs.mx.$refs.basePage.$refs['TablePager'].pageQuery({
setFirstCurrent: true
})
this.$refs.sjhz.$refs.basePage.$row=row
this.$refs.sjhz.$refs.basePage.queryParams.mid = mid
this.$refs.sjhz.$refs.basePage.$refs['TablePager'].pageQuery()
this.$refs.sjjg.$refs.basePage.queryParams.mid = mid
this.$refs.sjjg.$refs.basePage.$refs['TablePager'].pageQuery()
},
}
}
</script>
<style lang="scss" scoped>
.outer {
overflow: auto;
height: calc(100vh - 84px);
width: 100%;
.top {
width: 100%;
height: 45%;
}
.bottom {
width: 100%;
height: 55%;
.left {
width: 50%;
height: 100%;
}
.right {
width: 50%;
height: 100%;
}
}
}
.higher {
height: 140vh;
}
.flex-column {
display: flex;
flex-direction: column;
}
::v-deep .el-tabs__content{
height: calc(100% - 40px);
}
::v-deep .el-tabs__nav-scroll{
padding-left: 10px;
}
</style>
<template>
<BasePage @getRow='getRow' ref="basePage" :power='power' :toolButton='false' class="min_full"
style="height: 100%;border-top: 0px;" :autoQuery='false' :config="config">
<template slot="tabCustom2">
</template>
<template #toolbar="ctx">
<el-button @click="gb(ctx.basePage)" size='mini' type="primary">关闭</el-button>
<el-button @click="qxgb(ctx.basePage)" size='mini' type="primary">取消关闭</el-button>
<!-- <ImportButton @success="()=>{
ctx.basePage.refresh()
}" :url="'/wms/rkgl/rktz/import'" /> -->
</template>
</BasePage>
</template>
<script>
// import wlphsx from 'common/src/mixin/wlphsx.js'
export default {
// mixins:[wlphsx],
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: false,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: false,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config: {
/* 基本配置*/
url: 'wms/rkgl/sjtz',
queryUrl: 'wms/rkgl/sjtz/query/detail',
tableTitle: [
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/rkgl/sjtz/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "物料编码",
field: "wlxxCode",
fieldType: "upper",
width: 140
},
{
title: "物料名称",
field: "wlxxName",
width: 140
},
{
title: "物料规格",
field: "wlxxGg",
width: 140
},
{
title: "物料批号",
field: "wlph",
width: 180
},
{
title: "制令号",
field: "zlh",
width: 180,
},
{
title: "库位",
field: "kwCode",
width: 140
},
{
title: "实际库位",
field: "sjkwCode",
width: 140
},
// {
// title: "应收数量",
// field: "yssl",
// width: 100,
// },
{
title: "唯一码",
field: "packCode",
width: 240,
},
{
title: "容器",
field: "rqCode",
width: 100,
},
{
title: "上架数量",
field: "sjsl",
width: 100,
},
{
title: "关闭原因",
field: "gbyy",
width: 200,
}
// {
// title: "入库数量",
// field: "rksl",
// width: 100,
// }, {
// title: "过账数量",
// field: "gzsl",
// width: 100,
// },
],
queryParams: [],
}
}
},
methods: {
gb(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
this.$prompt('请输入原因', '', {
confirmButtonText: '确定',
cancelButtonText: '取消',
}).then(({
value
}) => {
if (value) {
this.$post('wms/rkgl/sjtz/batchClose/sjtzmx', {
datas:[{
id: ctx.singleItem.id
}],
gbyy:value
}).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.refresh()
}
})
} else {
this.$warning('请输入关闭原因')
}
})
} else {
this.$warning('请选中一条数据')
}
},
qxgb(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
this.$confirm('是否继续操作?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(res=>{
this.$post('wms/rkgl/sjtz/batchUnClose/sjtzmx', {
datas:[{
id: ctx.singleItem.id
}],
}).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.refresh()
}
})
})
} else {
this.$warning('请选中一条数据')
}
},
getRow(val) {
this.$emit('getRow', val)
},
demo(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
console.log(ctx.singleItem)
} else {
this.$warning('请选中一条数据')
}
}
},
components: {
}
}
</script>
<style>
</style>
<template>
<DefaultDialog :app='app'>
<div slot="form" >
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20" :app="this" class="editRow">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false "
v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label"
:prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
<!-- 额外数据 -->
</el-row>
</el-form>
</div>
<div slot="reFooter" class="refooter" >
<span slot="footer" class="dialog-footer" >
<el-button @click="app.showDialog=false">取 消</el-button>
<el-button type="primary" @click="save()">保 存</el-button>
</span>
</div>
</DefaultDialog>
</template>
<script>
import {
editMixin,
editMixin_expand
} from 'common'
export default {
mixins: [editMixin, editMixin_expand],
props: {
app: {
type: Object,
default: ()=>{
return {}
}
}
},
async mounted() {
},
data() {
return {
readonly:false,
form: {
},
/* 常规edit数据 */
editColItemList: [
{
label: '库位',
prop: 'kwid',
span: 24,
"required": false,
type: 'AuxInput',
typeConfig: {
code: 'KWWHK',
label: 'kwCode',
transform: {
value: 'id',
label: 'name'
},
queryParams:{
ckid:this.app.$row.ckid,
kqid:this.app.$row.kqid
}
},
}
],
}
}
,
methods: {
save(){
this.$refs['form'].validate((valid) => {
if(valid){
/* 构建参数*/
let params={
kwid:this.form.kwid,
id:this.app.singleItem.id
}
this.$post('wms/rkgl/sjtzzy/sj',params).then(res=>{
if(res.success){
this.$success('操作成功')
this.app.showDialog=false
this.app.refresh()
}
})
}
})
}
}
}
</script>
<style scoped>
</style>
<template>
<BasePage @getRow='getRow' ref="basePage" :power='power' :toolButton='false' class="min_full"
style="height: 100%;border-top: 0px;" :autoQuery='false' :config="config">
<template #dialog="ctx">
<mxDialog :app='ctx.basePage' v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='上架'" />
<Kwbg :app='ctx.basePage' v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='库位变更'" />
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<el-button @click="kwbg(ctx.basePage)" size='mini' type="primary">库位变更</el-button>
</template>
<template slot="tabCustom2">
<el-table-column label="操作" width="150" header-align="center">
<template slot-scope="scope">
<div style="width: 130px;display: flex;text-align: center">
<div style="width: 50%;" >
<span @click.prevent.self="sj(scope.$index,scope,scope.row)" style="cursor: pointer;color: rgb(24, 144, 255);" >上架</span>
</div>
<div style="width: 50%;" >
<span @click.prevent.self="xj(scope.$index,scope,scope.row)" style="cursor: pointer;color: red;" >取消上架</span>
</div>
</div>
<!-- <div style="cursor: pointer;color: cornflowerblue;text-align: center;width: 80px;" ><i class="el-icon-edit"></i>上架</div> -->
</template>
</el-table-column>
</template>
</BasePage>
</template>
<script>
import mxDialog from './mxDialog.vue'
import Kwbg from './top/kwbg.vue'
export default {
mounted() {
},
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: false,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: false,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config: {
/* 基本配置*/
url: 'wms/rkgl/sjtzzy',
// queryUrl: 'wms/rkgl/rktz/query/rkqd',
tableTitle: [{
title: "容器",
field: "rqCode",
width: 140
},
{
title: "库位",
field: "kwCode",
width: 140
},
{
title: "实际库位",
field: "sjkwName",
width: 140
},
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/rkgl/sjtzzy/init/zt",
"label": "name",
"value": "id"
}
}
],
queryParams: [],
}
}
},
methods: {
kwbg(ctx){
if (ctx.singleItem && ctx.singleItem.id) {
ctx.DialogWidth = '30vw'
ctx.DialogTitle = '库位变更'
ctx.showDialog = true
} else {
this.$warning('请选中一条数据')
}
},
xj(a,b,c){
this.$confirm('是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(res=>{
this.$post('wms/rkgl/sjtzzy/qxsj',{
id:c.id
}).then(res=>{
if(res.success){
this.$success('操作成功')
this.$refs.basePage.refresh()
}
})
})
},
sj(){
this.$refs.basePage.DialogTitle='上架'
this.$refs.basePage.DialogWidth='33vw'
this.$refs.basePage.showDialog=true
},
getRow(val) {
this.$emit('getRow', val)
},
demo(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
console.log(ctx.singleItem)
} else {
this.$warning('请选中一条数据')
}
}
},
components: {
mxDialog,
Kwbg
}
}
</script>
<style>
</style>
<template>
<BasePage @getRow='getRow' ref="basePage" :power='power' :toolButton='false' class="min_full"
style="height: 100%;" :autoQuery='false' :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
</template>
</BasePage>
</template>
<script>
export default {
mounted() {
},
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: false,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: false,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: false,
saveSelected: false
},
config: {
/* 基本配置*/
url: 'wms/rkgl/sjtzjg',
// queryUrl: 'wms/rkgl/rktz/query/rkqd',
tableTitle: [{
title: "物料编码",
field: "wlxxCode",
width: 140
},
{
title: "物料名称",
field: "wlxxName",
width: 140
},
{
title: "物料规格",
field: "wlxxGg",
width: 140
},
{
title: "制令号",
field: "zlh",
width: 180
},
{
title: "物料批号",
field: "wlph",
width: 180
},
{
title: "库位",
field: "kwCode",
width: 140
},
{
title: "唯一码",
field: "packCode",
width: 240
},
{
title: "容器",
field: "rqCode",
width: 200
},
{
title: "已上架数量",
field: "sjsl",
width: 200
}
],
queryParams: [],
}
}
},
methods: {
getRow(val) {
this.$emit('getRow', val)
},
demo(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
console.log(ctx.singleItem)
} else {
this.$warning('请选中一条数据')
}
}
},
components: {
}
}
</script>
<style>
</style>
<template>
<BasePage :toolButtonConfig="{
showExcel:false,
showPrint:false,
showField:true
}" :setFirstCurrent='false' :power='power' @getRow='getRow' class="min_full" style="height: 100%;" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">直接入库</el-button> -->
</template>
</BasePage>
</template>
<script>
// import Edit from './edit.vue'
export default {
data() {
return {
power:{
add: false,
copy: false,
delButton: false,
editButton: false,
operateButtons: false,
workFlow: false,
/* 表格 */
showSelection: false,
saveSelected: false
},
config: {
queryDetail: true,
/* 基本配置*/
url: 'lxyl/rkgl/sjtz/query/dbrk',
queryUrl:'lxyl/rkgl/sjtz/query/dbrk',
tableTitle: [
{
title: "状态",
field: "zt",
fieldType: "ftString",
align: 'center',
width: 80,
"transform": {
"url": "lxyl/ckgl/cktz/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "拨出仓库",
field: "dfckName",
width: 140
},
{
title: "出库单号",
field: "djid",
width: 140
},
{
title: "业务日期",
field: "ywrq",
fieldType: 'ftDate'
},
{
title: "工厂",
field: "hzName",
width: 140
},
{
title: "事务类型",
field: "swlxName",
width: 100
},
{
title: "仓库",
field: "ckName",
width: 140
},
// {
// title: "需求日期",
// field: "xqrq",
// fieldType: 'ftDate'
// },
{
title: "领料部门",
field: "bmName",
width: 140
},
{
title: "单据来源",
field: "djly",
width: 140,
"transform": {
"url": "lxyl/ckgl/cktz/init/djly",
"label": "name",
"value": "id"
}
},
{
title: "来源单据号",
field: "lydjDjid",
width: 140
},
{
title: "备注",
field: "bz",
width: 240
},
{
title: "维护人",
field: "whr"
},
{
title: "维护时间",
field: "whsj",
fieldType: 'ftDateTime'
}
],
queryParams: [
[{
label: '日期',
startProp: "start",
endProp: "end",
span: 8,
type: 'RelDaterangeV2',
startValue: '',
endValue: '',
},
{
"label": "仓库",
"prop": "ckid",
"span": 8,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "jcsj/common/ck/queryCkid",
"match": {
"value": "id",
"label": "name"
}
}
},
{
label: '单据编号',
prop: 'djid',
span: 8,
type: 'input',
value: ''
}
],
[{
label: '状态',
prop: 'zt',
span: 8,
type: 'RelSelect',
typeConfig: {
src: 'lxyl/ckgl/cktz/init/zt'
}
},
{
label: '事务类型',
prop: 'swlxid',
span: 8,
type: 'RelSelect',
typeConfig: {
src: 'lxyl/ckgl/cktz/init/swlx'
}
},
{
label: '工厂',
prop: 'hzName',
span: 8,
type: 'input',
}
]
],
/* 默认启停用 */
}
}
},
methods: {
getRow(val){
this.$emit('getRow',val)
}
},
components: {
// Edit
}
}
</script>
<style>
</style>
<template>
<BasePage :toolButtonConfig="{
showExcel:false,
showPrint:false,
showField:true
}" @getRow='getRow' ref="basePage" :power='power' :toolButton='false' class="min_full"
style="height: 100%;" :autoQuery='false' :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
</template>
</BasePage>
</template>
<script>
import wlsx from 'common/src/mixin/wlphsx.js'
import wlphsx from 'common/src/mixin/wlphsx.js'
export default {
mounted() {
},
mixins: [wlsx, wlphsx],
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: false,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: false,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: true,
saveSelected: true
},
config: {
/* 基本配置*/
url: 'lxyl/rkgl/sjtz/query/dbrkqd',
queryUrl: 'lxyl/rkgl/sjtz/query/dbrkqd',
tableTitle: [{
title: "物料编码",
field: "wlxxCode",
fieldType: "upper",
width: 140
},
{
title: "物料名称",
field: "wlxxName",
width: 140
},
{
title: "物料规格",
field: "wlxxGg",
width: 140
},
{
title: "制令号",
field: "zlh",
width: 180,
},
{
title: "物料批号",
field: "wlph",
width: 180
},
{
title: "拨入数量",
field: "brsl",
width: 100,
},
{
title: "唯一码",
field: "packCode",
width: 240,
},
{
title: "容器",
field: "rqCode",
width: 100,
},
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/rkgl/dbrk/init/zt",
"label": "name",
"value": "id"
}
}
],
queryParams: [],
}
}
},
methods: {
getRow(val) {
this.$emit('getRow', val)
},
demo(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
console.log(ctx.singleItem)
} else {
this.$warning('请选中一条数据')
}
}
},
components: {
}
}
</script>
<style>
</style>
This diff is collapsed.
<template>
<BasePage :copy='false' addRename='新增' @getRow='getRow' class="min_full" style="height: 100%;" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<Kwbg :app='ctx.basePage' v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='库位变更'" />
</template>
<template #toolbar="ctx">
<el-button v-if="ctx.basePage.powerObj['21']" @click="tjkw(ctx.basePage)" size='mini' type="primary">推荐库位</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="qktjkw(ctx.basePage)" size='mini' type="primary">清空推荐库位</el-button>
<!-- <el-button style="margin-left: 10px;" @click="kwbg(ctx.basePage)" size='mini'
type="primary">库位变更</el-button> -->
</template>
</BasePage>
</template>
<script>
import Edit from './edit.vue'
import Kwbg from './kwbg.vue'
export default {
data() {
return {
config: {
queryDetail: true,
/* 基本配置*/
url: 'lxyl/rkgl/sjtz',
tableTitle: [{
title: "上架单号",
field: "djid",
fieldType: "ftString",
width: 120
},
{
title: "业务日期",
field: "ywrq",
fieldType: "ftDate"
},
{
title: "仓库编码",
field: "ckCode",
width: 140
},
{
title: "仓库",
field: "ckName",
fieldType: "ftString",
width: 140,
},
{
title: "库区",
field: "kqName",
fieldType: "ftString",
width: 100,
},
// {
// title: "库位",
// field: "kwName",
// fieldType: "ftString",
// width: 192,
// },
{
title: "事务类型",
field: "swlxName",
fieldType: "ftString",
width: 100,
},
{
title: "部门",
field: "bmName",
fieldType: "ftString",
width: 100
},
{
title: "上架人",
field: "sjrName",
fieldType: "ftString",
width: 100
},
{
title: "工厂",
field: "hzName",
fieldType: "ftString",
width: 100
},
{
title: "单据来源",
field: "djly",
"transform": {
"url": "wms/rkgl/sjtz/init/djly",
"label": "name",
"value": "id"
},
width: 80
},
{
title: "来源单号",
field: "rktzDjid",
width: 140
},
{
title: "来源单据号",
field: "lydjDjid",
width: 140
},
{
title: "状态",
field: "zt",
"transform": {
"url": "wms/rkgl/sjtz/init/zt",
"label": "name",
"value": "id"
},
width: 60
},
{
title: "备注",
field: "bz",
fieldType: "ftString",
width: 300
},
{
title: "维护人",
field: "whr",
fieldType: "ftString"
},
{
title: "维护时间",
field: "whsj",
fieldType: "ftDateTime",
hidden: true
},
{
title: "创建人",
field: "cjr",
fieldType: "ftString"
},
{
title: "创建时间",
field: "cjsj",
fieldType: "ftDateTime",
hidden: true
},
],
queryParams: [
[{
label: '日期',
startProp: "start",
endProp: "end",
span: 8,
type: 'RelDaterangeV2',
startValue: new Date().getTime() - 1000 * 60 * 60 * 24 * 30,
endValue: new Date().getTime(),
},
{
label: '来源单号',
prop: 'lydjDjid',
span: 8,
type: 'input',
value: ''
},
{
label: '上架单号',
prop: 'djid',
span: 8,
type: 'input',
value: ''
}
],
[
{
label: '上架人',
prop: 'sjrName',
span: 8,
type: 'input',
value: ''
},
{
"label": "事务类型",
"prop": "swlxid",
"span": 8,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "wms/rkgl/sjtz/init/swlx",
"match": {
"value": "id",
"label": "name"
}
}
},
{
"label": "状态",
"prop": "zt",
"span": 8,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "wms/rkgl/sjtz/init/zt",
"match": {
"value": "id",
"label": "name"
}
}
},
]
],
/* 默认启停用 */
}
}
},
methods: {
kwbg(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
ctx.DialogWidth = '30vw'
ctx.DialogTitle = '库位变更'
ctx.showDialog = true
} else {
this.$warning('请选中一条数据')
}
},
qktjkw(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
this.$confirm('是否继续该操作?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
this.$post('lxyl/rkgl/sjtz/cleanKw ', {
id: ctx.singleItem.id
}).then(res => {
if (res.success) {
this.$success('操作成功')
this.$emit('sxmx')
}
})
})
} else {
this.$warning('请选中一条数据')
}
},
tjkw(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
this.$confirm('是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
this.$post('lxyl/rkgl/sjtz/calcKw', {
id: ctx.singleItem.id
}).then(res => {
if (res.success) {
this.$success('操作成功')
this.$emit('sxmx')
}
})
})
} else {
this.$warning('请选择一条数据')
}
},
getRow(val) {
this.$emit('getRow', val)
}
},
components: {
Edit,
Kwbg
}
}
</script>
<style>
</style>
<template>
<DefaultDialog v-loading='isLoading' :element-loading-text="text" :app='app'>
<div slot="form" style="">
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20" :app="this" class="editRow">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false "
v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label"
v-if="(item.show==false)?false:true" :prop='item.prop' :key="item.prop" :type="item.type"
:typeConfig='item.typeConfig' :rule="item.rule" />
<!-- 额外数据 -->
</el-row>
</el-form>
</div>
<div slot="reFooter" class="refooter">
<span slot="footer" class="dialog-footer">
<el-button @click="app.showDialog=false">取 消</el-button>
<el-button type="primary" @click="save()">确 定</el-button>
</span>
</div>
</DefaultDialog>
</template>
<script>
import {
editMixin,
editMixin_expand
} from 'common'
export default {
mixins: [editMixin, editMixin_expand],
props: {
app: {
type: Object,
default: () => {
return {}
}
}
},
async mounted() {
/* 初始化数据 */
this.form.id = this.app.singleItem.id
},
data() {
return {
isLoading: false,
text: '加载中',
readonly: false,
editColItemList: [
{
label: '库位',
prop: 'kwid',
span: 24,
required: true,
type: 'AuxInput',
typeConfig: {
isRequest: false,
code: 'WMSKWWH',
label: 'kwCode',
transform: {
value: 'id',
label: 'name'
}
}
},
]
}
},
methods: {
save() {
this.$refs['form'].validate((valid) => {
if (valid) {
this.isLoading = true
this.$post('lxyl/rkgl/sjtz/customKw', this.form).then(res => {
if (res.success) {
this.isLoading = false
this.$success('操作成功')
this.app.showDialog = false
this.app.$refs.TablePager.refresh()
}
}).finally(res => {
this.isLoading = false
})
}
})
}
}
}
</script>
<style scoped>
</style>
<template>
<BasePage :toolButtonConfig="{
showExcel:false,
showPrint:false,
showField:true
}" ref="basePage" :setFirstCurrent='false' :power='power' @getRow='getRow' class="min_full" style="height: 100%;" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- <el-button @click="ckmx(ctx.basePage)" size='mini' type="primary">查看所选清单</el-button> -->
</template>
</BasePage>
</template>
<script>
// import Edit from './edit.vue'
export default {
data() {
return {
power:{
add: false,
copy: false,
delButton: false,
editButton: false,
operateButtons: false,
workFlow: false,
/* 表格 */
showSelection: true,
saveSelected: true
},
config: {
queryDetail: true,
/* 基本配置*/
url: 'wms/rkgl/rktz',
queryUrl:'wms/rkgl/sjtz/query/rktz',
tableTitle: [
{
title: "入库单号",
field: "djid",
width: 140
},
{
title: "入库日期",
field: "ywrq",
fieldType: 'ftDate'
},
{
title: "仓库",
field: "ckName",
width: 140
},
{
title: "部门",
field: "bmName",
width: 140
},
{
title: "事务类型",
field: "swlxName",
width: 100
},
{
title: "工厂",
field: "hzName",
width: 140
},
{
title: "入库人",
field: "rkr",
width: 140
},
{
title: "仓库",
field: "ckid",
width: 140,
hidden: true
},
{
title: "备注",
field: "bz",
width: 240
},
{
title: "维护人",
field: "whr"
},
{
title: "维护时间",
field: "whsj",
fieldType: 'ftDateTime'
}
],
queryParams: [
[{
label: '日期',
startProp: "start",
endProp: "end",
span: 8,
type: 'RelDaterangeV2',
startValue: '',
endValue: '',
},
{
"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: 8,
type: 'RelSelect',
typeConfig: {
src: 'wms/rkgl/rktz/init/zt'
}
},
{
label: '事务类型',
prop: 'swlxid',
span: 6,
type: 'RelSelect',
typeConfig: {
src: 'wms/rkgl/rktz/init/swlx'
}
}
]
],
/* 默认启停用 */
}
}
},
methods: {
ckmx(){
let list =this.$refs.basePage.$refs.TablePager.selectedList||[]
if(list.length!=0){
/* 回填校验xxx是否相同*/
this.$emit('ckmx',list)
}else{
this.$warning('请至少勾选一条数据')
}
},
getRow(val){
this.$emit('getRow',val)
}
},
components: {
// Edit
}
}
</script>
<style>
</style>
<template>
<BasePage :toolButtonConfig="{
showExcel:false,
showPrint:false,
showField:true
}" fePage @getRow='getRow' ref="basePage" :power='power' :toolButton='false' class="min_full" style="height: 100%;" :autoQuery='false'
:config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
<template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
</template>
</BasePage>
</template>
<script>
export default {
mounted() {
},
data() {
return {
power: {
add: false,
copy: false,
/* 手动控制删除 */
delButton: false,
/* 手动控制编辑按钮权限 */
editButton: false,
/* 是否渲染右侧操作按钮 */
operateButtons: false,
/* 是否开启工作流按钮 */
workFlow: false,
/* 表格开启选择,以及记住选择 */
showSelection: true,
saveSelected: true
},
config: {
/* 基本配置*/
url: 'wms/rkgl/rktz',
queryUrl: 'lxyl/rkgl/sjtz/query/rktzqd',
tableTitle: [
{
title: "库区",
field: "kqName",
width: 180
},
{
title: "物料编码",
field: "wlxxCode",
fieldType: "upper",
width: 140
},
{
title: "物料名称",
field: "wlxxName",
width: 180
},
{
title: "物料规格",
field: "wlxxGg",
width: 180
},
{
title: "物料批号",
field: "wlph",
width: 180
},
{
title: "物料组",
field: "wlzName",
width: 180
},
{
title: "制令号",
field: "zlh",
width: 180,
},
{
title: "应收数量",
field: "yssl",
width: 100,
},
{
title: "唯一码",
field: "packCode",
width: 240,
},
{
title: "负责人",
field: "fzrName",
width: 200,
},
{
title: "容器",
field: "rqCode",
width: 200,
}
],
queryParams: [
[
{
label: '物料组信息',
prop: 'wlzInfo',
span: 6,
type: 'input',
value: ''
},
]
],
}
}
},
methods: {
getRow(val){
this.$emit('getRow',val)
},
demo(ctx){
if(ctx.singleItem&&ctx.singleItem.id){
}else{
this.$warning('请选中一条数据')
}
}
},
components: {
}
}
</script>
<style>
</style>
<template>
<DefaultDialog :app='app'>
<div slot="form" style="">
<el-form slot="form" ref="form" :model="form" label-width="100px" :rules="rules">
<el-row :gutter="20" :app="this" class="editRow">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false "
v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label"
v-if="(item.show==false)?false:true" :prop='item.prop' :key="item.prop" :type="item.type"
:typeConfig='item.typeConfig' :rule="item.rule" />
<!-- 额外数据 -->
</el-row>
</el-form>
</div>
<div slot="reFooter" class="refooter">
<span slot="footer" class="dialog-footer">
<!-- <el-button @click="app.showDialog=false">取 消</el-button> -->
<el-button type="primary" @click="save()">确 定</el-button>
</span>
</div>
</DefaultDialog>
</template>
<script>
import {
editMixin,
editMixin_expand
} from 'common'
export default {
mixins: [editMixin, editMixin_expand],
props: {
app: {
type: Object,
default: () => {
return {}
}
}
},
async mounted() {
/* 初始化数据 */
},
data() {
return {
readonly: false,
editColItemList: [
{
"label": "仓库",
"prop": "ckid",
"span": 24,
"type": "RelSelect",
"value": "",
"required": true,
"typeConfig": {
"src": "lxyl/common/ck/queryCkidByRktzid",
"match": {
"value": "id",
"label": "name"
},
params:{
rktzid:this.app.form.lydjid
},
change: (row) => {
this.form.hzName=row.hzName
this.form.hzid=row.hzid
}
}
},
// {
// label: '退货单号',
// prop: 'ddh',
// span: 24,
// type: 'input',
// value: '',
// }
]
}
},
methods: {
save() {
this.$refs['form'].validate((valid) => {
if (valid) {
this.app.showDialog = false
this.app.DialogWidth='80vw'
this.$emit('save',this.form)
}
})
}
}
}
</script>
<style scoped>
::v-deep .el-icon-close{
/* display: none; */
}
</style>
<template>
<DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;">
<div class="full">
<el-tabs class="full" v-model="activeName">
<el-tab-pane class="full" label="调拨入库单" name="first">
<Rkd @getRow='getRow' />
</el-tab-pane>
<el-tab-pane class="full" label="调拨入库单明细" name="second">
<Rkqd ref="rkqd" />
</el-tab-pane>
</el-tabs>
</div>
</div>
<div slot="reFooter" class="refooter">
<span slot="footer" class="dialog-footer">
<el-button @click="app.showDialog=false">取 消</el-button>
<el-button type="primary" @click="save()">保 存</el-button>
</span>
</div>
</DefaultDialog>
</template>
<script>
import Rkd from './dbckd.vue'
import Rkqd from './dbckqd.vue'
export default {
components: {
Rkd,
Rkqd
},
props: {
app: {
type: Object,
default: () => {
return {}
}
}
},
async mounted() {
},
data() {
return {
row:{},
activeName: 'first'
}
},
methods: {
save() {
let list=this.$refs.rkqd.$refs.basePage.$refs.TablePager.selectedList||[]
if(list.length==0){
this.$warning('请勾选存在数据的入库单')
}else{
let obj={
list:list,
row:this.row
}
this.$emit('save',obj)
this.app.showDialog=false
}
// if()
},
getRow(val) {
this.row=val
this.$refs.rkqd.$refs.basePage.queryParams.mid = val.id
this.$refs.rkqd.$refs.basePage.$refs['TablePager'].pageQuery({
// setFirstCurrent: true
})
this.activeName = 'second'
}
}
}
</script>
<style scoped>
::v-deep .el-tabs__content {
height: calc(100% - 50px);
}
::v-deep .el-tabs__nav-scroll {
padding-left: 10px;
}
</style>
<template>
<DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;">
<div class="full">
<el-tabs @tab-click='tabclick' class="full" v-model="activeName">
<el-tab-pane class="full" label="入库单" name="first">
<Rkd ref="rkd" />
</el-tab-pane>
<el-tab-pane class="full" label="入库清单" name="second">
<Rkqd ref="rkqd" />
</el-tab-pane>
</el-tabs>
</div>
</div>
<div slot="reFooter" class="refooter">
<span slot="footer" class="dialog-footer">
<el-button @click="app.showDialog=false">取 消</el-button>
<el-button type="primary" @click="save()">保 存</el-button>
</span>
</div>
</DefaultDialog>
</template>
<script>
import Rkd from './rkd.vue'
import Rkqd from './rkqd.vue'
export default {
components: {
Rkd,
Rkqd
},
props: {
app: {
type: Object,
default: () => {
return {}
}
}
},
async mounted() {
},
data() {
return {
row:{},
activeName: 'first'
}
},
methods: {
tabclick(val){
this.$nextTick(()=>{
if(val.index==1){
/* 查询明细*/
let list =this.$refs.rkd.$refs.basePage.$refs.TablePager.selectedList||[]
if(list.length==0){
this.$warning('请至少勾选一条入库单查询')
}else{
this.row=list[0]
this.$refs.rkqd.$refs.basePage.queryParams.mids = list.map(item=>item.id)
this.$refs.rkqd.$refs.basePage.$refs['TablePager'].pageQuery({
})
}
// this.activeName = 'second'
}
})
},
save() {
let list=this.$refs.rkqd.$refs.basePage.$refs.TablePager.selectedList||[]
if(list.length==0){
this.$warning('请选择存在数据的入库单或者勾选入库清单')
}else{
let obj={
list:list,
row:this.row
}
/* 判断库区是否一致*/
let kqList=list.map(item=>item.kqid||'null')
kqList=[...new Set(kqList)]
if(kqList.length>1){
this.$warning('所选库区存在不一致,请重新选择')
return
}
/* 判定list wlid是否重复*/
let wlzList=list.map(item=>item.wlxxWlzid)
wlzList=[...new Set(wlzList)]
if(wlzList.length>1){
this.$confirm('选择的物料组不唯一,系统随机其中一个物料组的仓管员,是否确认?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(res=>{
this.$emit('save',obj)
this.app.showDialog=false
})
}else{
this.$emit('save',obj)
this.app.showDialog=false
}
}
// if()
},
}
}
</script>
<style scoped>
::v-deep .el-tabs__content {
height: calc(100% - 50px);
}
::v-deep .el-tabs__nav-scroll {
padding-left: 10px;
}
</style>
...@@ -49,6 +49,16 @@ ...@@ -49,6 +49,16 @@
"value": "id" "value": "id"
} }
}, },
{
title: "包装状态",
field: "bzzt",
width: 100,
transform: {
url: "wms/rkgl/rktz/init/bzzt",
label: "name",
value: "id",
},
},
{ {
title: "物料编码", title: "物料编码",
field: "wlxxCode", field: "wlxxCode",
......
...@@ -94,6 +94,16 @@ export default { ...@@ -94,6 +94,16 @@ export default {
value: "id", value: "id",
}, },
}, },
{
title: "包装状态",
field: "bzzt",
width: 100,
transform: {
url: "wms/rkgl/rktz/init/bzzt",
label: "name",
value: "id",
},
},
{ {
title: "入库单号", title: "入库单号",
field: "djid", field: "djid",
...@@ -125,31 +135,21 @@ export default { ...@@ -125,31 +135,21 @@ export default {
field: "ckName", field: "ckName",
width: 140, width: 140,
}, },
{
title: "包装状态",
field: "bzzt",
width: 100,
transform: {
url: "wms/rkgl/rktz/init/bzzt",
label: "name",
value: "id",
},
},
{ {
title: "单据来源", title: "单据来源",
field: "djly", field: "djly",
width: 140, width: 100,
transform: { transform: {
url: "lxyl/rkgl/ckthtz/init/djly", url: "lxyl/rkgl/ckthtz/init/djly",
label: "name", label: "name",
value: "id", value: "id",
}, },
}, },
// { {
// title: "来源单据号", title: "来源单据号",
// field: "lydjDjid", field: "lydjid",
// width: 140 width: 140
// }, },
{ {
title: "备注", title: "备注",
field: "bz", field: "bz",
...@@ -158,12 +158,23 @@ export default { ...@@ -158,12 +158,23 @@ export default {
{ {
title: "维护人", title: "维护人",
field: "whr", field: "whr",
hidden:true
}, },
{ {
title: "维护时间", title: "维护时间",
field: "whsj", field: "whsj",
fieldType: "ftDateTime", fieldType: "ftDateTime",
hidden:true
}, },
{
title: "创建人",
field: "cjr",
},
{
title: "创建时间",
field: "cjsj",
fieldType: "ftDateTime",
}
], ],
queryParams: [ queryParams: [
[ [
......
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
{ {
title: "状态", title: "状态",
field: "zt", field: "zt",
width: 100, width: 80,
"transform": { transform: {
"url": "lxyl/rkgl/rkthtz/init/zt", "url": "lxyl/rkgl/rkthtz/init/zt",
"label": "name", "label": "name",
"value": "id" "value": "id"
...@@ -96,6 +96,16 @@ ...@@ -96,6 +96,16 @@
field: "cksl", field: "cksl",
fieldType:"float" fieldType:"float"
}, },
{
title: "来源单号",
field: "lydjid",
width: 140,
},
{
title: "来源单号",
field: "lydjxh",
fieldType: "int"
},
{ {
title: "关闭人", title: "关闭人",
field: "gbr", field: "gbr",
......
...@@ -44,7 +44,8 @@ ...@@ -44,7 +44,8 @@
queryDetail: true, queryDetail: true,
/* 基本配置*/ /* 基本配置*/
url: 'lxyl/rkgl/rkthtz', url: 'lxyl/rkgl/rkthtz',
tableTitle: [{ tableTitle: [
{
title: "状态", title: "状态",
field: "zt", field: "zt",
width: 80, width: 80,
...@@ -66,21 +67,10 @@ ...@@ -66,21 +67,10 @@
fieldType: "ftDate" fieldType: "ftDate"
}, },
{ {
title: "部门", title: "仓库",
field: "bmName",
width: 140
},
{
title: "拨出仓库",
field: "ckName", field: "ckName",
width: 140 width: 140
}, },
{
title: "拨入仓库",
field: "dfckName",
width: 140
},
{ {
title: "事务类型", title: "事务类型",
field: "swlxName", field: "swlxName",
...@@ -91,28 +81,6 @@ ...@@ -91,28 +81,6 @@
field: "hzName", field: "hzName",
width: 140 width: 140
}, },
// {
// title: "单据来源",
// field: "djly",
// width: 140,
// "transform": {
// "url": "lxyl/rkgl/rkthtz/init/djly",
// "label": "name",
// "value": "id"
// }
// },
// {
// title: "单据来源",
// field: "djly",
// width: 140,
// "transform": {
// "url": "lxyl/rkgl/rkthtz/init/djly",
// "label": "name",
// "value": "id"
// }
// },
{ {
title: "来源单据号", title: "来源单据号",
field: "lydjid", field: "lydjid",
...@@ -125,11 +93,22 @@ ...@@ -125,11 +93,22 @@
}, },
{ {
title: "维护人", title: "维护人",
field: "whr" field: "whr",
hidden:true
}, },
{ {
title: "维护时间", title: "维护时间",
field: "whsj", field: "whsj",
fieldType: "ftDateTime",
hidden:true
},
{
title: "创建人",
field: "cjr"
},
{
title: "创建时间",
field: "cjsj",
fieldType: "ftDateTime" fieldType: "ftDateTime"
}, },
], ],
......
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
[ [
{ {
label: '物料信息', label: '物料信息',
prop: 'wlph', prop: 'wlxxInfo',
span: 6, span: 6,
type: 'input', type: 'input',
value: '' value: ''
......
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