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

5.10 样式调整

parent 8dc60418
...@@ -41,7 +41,18 @@ ...@@ -41,7 +41,18 @@
/* 基本配置*/ /* 基本配置*/
url: 'lxyl/ckgl/cktz', url: 'lxyl/ckgl/cktz',
queryUrl: 'lxyl/ckgl/cktz/query/detail', queryUrl: 'lxyl/ckgl/cktz/query/detail',
tableTitle: [{ tableTitle: [
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/rkgl/sjtz/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "物料编码", title: "物料编码",
field: "wlxxCode", field: "wlxxCode",
fieldType: "upper", fieldType: "upper",
...@@ -98,16 +109,7 @@ ...@@ -98,16 +109,7 @@
// field: "gzsl", // field: "gzsl",
// width: 100, // width: 100,
// }, // },
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/rkgl/sjtz/init/zt",
"label": "name",
"value": "id"
}
},
{ {
title: "来源单号", title: "来源单号",
field: "lydjid", field: "lydjid",
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
$datas:null, $datas:null,
showDialog:false, showDialog:false,
DialogTitle:'选择拣货人', DialogTitle:'选择拣货人',
DialogWidth:'64vw', DialogWidth:'70vw',
row:{}, row:{},
activeName: 'first' activeName: 'first'
......
...@@ -47,14 +47,9 @@ ...@@ -47,14 +47,9 @@
prop: 'wlxxName', prop: 'wlxxName',
width: 130, width: 130,
}, },
// {
// label: '唯一码',
// prop: 'packCode',
// width: 130,
// },
{ {
label: '库存数量', label: '拣货数量',
prop: 'kcsl', prop: 'jhsl',
width: 130, width: 130,
}, },
{ {
...@@ -93,11 +88,7 @@ ...@@ -93,11 +88,7 @@
} }
} }
}, },
{
label: '拣货数量',
prop: 'jhsl',
width: 130,
},
], ],
editTableData:_.cloneDeep(this.app.$datas) editTableData:_.cloneDeep(this.app.$datas)
}, },
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</BasePage> </BasePage>
<!-- 静态编辑表格--> <!-- 静态编辑表格-->
<div lass="min_full" style="height: 50%;display: flex;"> <div lass="min_full" style="height: 50%;display: flex;z-index: 9999999;">
<div style="height: 100%;width: 70%;"> <div style="height: 100%;width: 70%;">
<EditTable ref="editTable" :app='editTableConfig'> <EditTable ref="editTable" :app='editTableConfig'>
...@@ -151,22 +151,36 @@ ...@@ -151,22 +151,36 @@
prop: 'ckName', prop: 'ckName',
width: 120, width: 120,
}, },
{
label: '库位',
prop: 'kwCode',
width: 130,
},
{ {
label: '批号', label: '批号',
prop: 'wlph', prop: 'wlph',
width: 130, width: 130,
}, },
{
label: '制令号',
prop: 'zlh',
width: 130,
},
{ {
label: '唯一码', label: '唯一码',
prop: 'packCode', prop: 'packCode',
width: 130, width: 130,
}, },
{ {
label: '库存数量', label: '库存数量',
prop: 'kcsl', prop: 'kcsl',
width: 130, width: 130,
}, },
{
label: '已分配数量',
prop: 'jhsl',
width: 130,
},
{ {
label: '物料组', label: '物料组',
prop: 'wlzName', prop: 'wlzName',
...@@ -182,48 +196,8 @@ ...@@ -182,48 +196,8 @@
prop: 'kcsl', prop: 'kcsl',
width: 130, width: 130,
}, },
{
label: '库位',
prop: 'kwCode',
// width: 130,
},
// {
// label: "检出数量",
// prop: "jhsl",
// width: 180,
// allowEdit: true,
// type: 'inputNumber',
// blur: toFixed(null),
// change: (row) => {
// row.jhsl = parseInt(row.jhsl)
// /*row.oldJhsl
// row.kcsl
// */
// if (row.jhsl < 0) {
// this.$warning('数量无效')
// row.jhsl = row.oldJhsl
// return
// }
// if (row.jhsl > row.oldKcsl) {
// this.$warning('数量不能大于原库存数量')
// row.jhsl = row.oldJhsl
// return
// }
// /* 数量为合理数量时*/
// let jhsl = parseInt(row.jhsl)
// let oldJhsl = parseInt(row.oldJhsl)
// let slc = jhsl - oldJhsl
// row.kcsl = row.kcsl - slc
// this.$refs.basePage.$refs.TablePager.tableData.forEach(item => {
// if (item.id == this.$id) {
// item.jhsl = item.jhsl + slc
// }
// })
// /* 记录当前的拣货数量*/
// row.oldJhsl = row.jhsl
// }
// },
], ],
editTableData: [] editTableData: []
}, },
...@@ -239,7 +213,7 @@ ...@@ -239,7 +213,7 @@
width: 120, width: 120,
}, },
{ {
label: "出数量", label: "出数量",
prop: "jhsl", prop: "jhsl",
width: 90, width: 90,
allowEdit: true, allowEdit: true,
......
...@@ -43,21 +43,16 @@ ...@@ -43,21 +43,16 @@
/* 基本配置*/ /* 基本配置*/
url: 'wms/kcgl/kcpd/query/detail', url: 'wms/kcgl/kcpd/query/detail',
queryUrl:'wms/kcgl/kcpd/query/detail', queryUrl:'wms/kcgl/kcpd/query/detail',
tableTitle: [{ tableTitle: [
title: "序号",
field: "xh",
width: 50,
align: "center"
},
{ {
title: "物料编码", title: "物料编码",
field: "wlxxCode", field: "wlxxCode",
width: 240, width: 160,
}, },
{ {
title: "物料名称", title: "物料名称",
field: "wlxxName", field: "wlxxName",
width: 160 width: 200
}, },
{ {
title: "物料批号", title: "物料批号",
...@@ -83,7 +78,7 @@ ...@@ -83,7 +78,7 @@
{ {
title: "库位", title: "库位",
field: "kwCode", field: "kwCode",
width: 240, width: 120,
}, },
{ {
......
...@@ -39,21 +39,16 @@ ...@@ -39,21 +39,16 @@
/* 基本配置*/ /* 基本配置*/
url: 'wms/kcgl/kcpd/query/kcpdmx', url: 'wms/kcgl/kcpd/query/kcpdmx',
queryUrl: 'wms/kcgl/kcpd/query/kcpdmx', queryUrl: 'wms/kcgl/kcpd/query/kcpdmx',
tableTitle: [{ tableTitle: [
title: "序号",
field: "xh",
width: 50,
align: "center"
},
{ {
title: "物料编码", title: "物料编码",
field: "wlxxCode", field: "wlxxCode",
width: 240, width: 160
}, },
{ {
title: "物料名称", title: "物料名称",
field: "wlxxName", field: "wlxxName",
width: 160 width: 200
}, },
{ {
title: "物料批号", title: "物料批号",
...@@ -79,7 +74,7 @@ ...@@ -79,7 +74,7 @@
{ {
title: "库位", title: "库位",
field: "kwCode", field: "kwCode",
width: 240, width: 120,
}, },
{ {
...@@ -102,11 +97,6 @@ ...@@ -102,11 +97,6 @@
field: "pksl", field: "pksl",
width: 100, width: 100,
}, },
{
title: "盈亏原因",
field: "ykyy",
width: 300,
},
{ {
title: "备注", title: "备注",
field: "bz", field: "bz",
......
...@@ -39,7 +39,18 @@ ...@@ -39,7 +39,18 @@
/* 基本配置*/ /* 基本配置*/
url: 'lxyl/rkgl/rktz', url: 'lxyl/rkgl/rktz',
queryUrl: 'lxyl/rkgl/rktz/query/detail', queryUrl: 'lxyl/rkgl/rktz/query/detail',
tableTitle: [{ tableTitle: [
{
title: "状态",
field: "zt",
width: 120,
"transform": {
"url": "lxyl/rkgl/rktz/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "物料编码", title: "物料编码",
field: "wlxxCode", field: "wlxxCode",
fieldType: "upper", fieldType: "upper",
...@@ -95,16 +106,7 @@ ...@@ -95,16 +106,7 @@
field: "zlh", field: "zlh",
width: 180, width: 180,
}, },
{
title: "状态",
field: "zt",
width: 120,
"transform": {
"url": "lxyl/rkgl/rktz/init/zt",
"label": "name",
"value": "id"
}
},
{ {
title: "来源单号", title: "来源单号",
field: "lydjid", field: "lydjid",
...@@ -172,7 +174,7 @@ ...@@ -172,7 +174,7 @@
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(res => { }).then(res => {
this.$post(':lxyl/rkgl/rkdgb/batchUnClose/rktzmx', { this.$post('lxyl/rkgl/rkdgb/batchUnClose/rktzmx', {
datas:[ datas:[
{ {
id: ctx.singleItem.id id: ctx.singleItem.id
......
...@@ -39,7 +39,18 @@ ...@@ -39,7 +39,18 @@
/* 基本配置*/ /* 基本配置*/
url: 'lxyl/rkgl/rktz', url: 'lxyl/rkgl/rktz',
queryUrl: 'lxyl/rkgl/rktz/query/rkqd', queryUrl: 'lxyl/rkgl/rktz/query/rkqd',
tableTitle: [{ tableTitle: [
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/rkgl/dbrk/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "物料编码", title: "物料编码",
field: "wlxxCode", field: "wlxxCode",
fieldType: "upper", fieldType: "upper",
...@@ -79,17 +90,8 @@ ...@@ -79,17 +90,8 @@
title: "容器", title: "容器",
field: "rqCode", field: "rqCode",
width: 100, width: 100,
},
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/rkgl/dbrk/init/zt",
"label": "name",
"value": "id"
}
} }
], ],
queryParams: [], queryParams: [],
......
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