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

5.10 样式调整

parent 8dc60418
......@@ -41,7 +41,18 @@
/* 基本配置*/
url: 'lxyl/ckgl/cktz',
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: "物料编码",
field: "wlxxCode",
fieldType: "upper",
......@@ -98,16 +109,7 @@
// field: "gzsl",
// width: 100,
// },
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/rkgl/sjtz/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "来源单号",
field: "lydjid",
......
......@@ -49,7 +49,7 @@
$datas:null,
showDialog:false,
DialogTitle:'选择拣货人',
DialogWidth:'64vw',
DialogWidth:'70vw',
row:{},
activeName: 'first'
......
......@@ -47,14 +47,9 @@
prop: 'wlxxName',
width: 130,
},
// {
// label: '唯一码',
// prop: 'packCode',
// width: 130,
// },
{
label: '库存数量',
prop: 'kcsl',
label: '拣货数量',
prop: 'jhsl',
width: 130,
},
{
......@@ -93,11 +88,7 @@
}
}
},
{
label: '拣货数量',
prop: 'jhsl',
width: 130,
},
],
editTableData:_.cloneDeep(this.app.$datas)
},
......
......@@ -12,7 +12,7 @@
</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%;">
<EditTable ref="editTable" :app='editTableConfig'>
......@@ -151,22 +151,36 @@
prop: 'ckName',
width: 120,
},
{
label: '库位',
prop: 'kwCode',
width: 130,
},
{
label: '批号',
prop: 'wlph',
width: 130,
},
{
label: '制令号',
prop: 'zlh',
width: 130,
},
{
label: '唯一码',
prop: 'packCode',
width: 130,
},
{
label: '库存数量',
prop: 'kcsl',
width: 130,
},
{
label: '已分配数量',
prop: 'jhsl',
width: 130,
},
{
label: '物料组',
prop: 'wlzName',
......@@ -182,48 +196,8 @@
prop: 'kcsl',
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: []
},
......@@ -239,7 +213,7 @@
width: 120,
},
{
label: "出数量",
label: "出数量",
prop: "jhsl",
width: 90,
allowEdit: true,
......
......@@ -43,21 +43,16 @@
/* 基本配置*/
url: 'wms/kcgl/kcpd/query/detail',
queryUrl:'wms/kcgl/kcpd/query/detail',
tableTitle: [{
title: "序号",
field: "xh",
width: 50,
align: "center"
},
tableTitle: [
{
title: "物料编码",
field: "wlxxCode",
width: 240,
width: 160,
},
{
title: "物料名称",
field: "wlxxName",
width: 160
width: 200
},
{
title: "物料批号",
......@@ -83,7 +78,7 @@
{
title: "库位",
field: "kwCode",
width: 240,
width: 120,
},
{
......
......@@ -39,21 +39,16 @@
/* 基本配置*/
url: 'wms/kcgl/kcpd/query/kcpdmx',
queryUrl: 'wms/kcgl/kcpd/query/kcpdmx',
tableTitle: [{
title: "序号",
field: "xh",
width: 50,
align: "center"
},
tableTitle: [
{
title: "物料编码",
field: "wlxxCode",
width: 240,
width: 160
},
{
title: "物料名称",
field: "wlxxName",
width: 160
width: 200
},
{
title: "物料批号",
......@@ -79,7 +74,7 @@
{
title: "库位",
field: "kwCode",
width: 240,
width: 120,
},
{
......@@ -102,11 +97,6 @@
field: "pksl",
width: 100,
},
{
title: "盈亏原因",
field: "ykyy",
width: 300,
},
{
title: "备注",
field: "bz",
......
......@@ -39,7 +39,18 @@
/* 基本配置*/
url: 'lxyl/rkgl/rktz',
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: "物料编码",
field: "wlxxCode",
fieldType: "upper",
......@@ -95,16 +106,7 @@
field: "zlh",
width: 180,
},
{
title: "状态",
field: "zt",
width: 120,
"transform": {
"url": "lxyl/rkgl/rktz/init/zt",
"label": "name",
"value": "id"
}
},
{
title: "来源单号",
field: "lydjid",
......@@ -172,7 +174,7 @@
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
this.$post(':lxyl/rkgl/rkdgb/batchUnClose/rktzmx', {
this.$post('lxyl/rkgl/rkdgb/batchUnClose/rktzmx', {
datas:[
{
id: ctx.singleItem.id
......
......@@ -39,7 +39,18 @@
/* 基本配置*/
url: 'lxyl/rkgl/rktz',
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: "物料编码",
field: "wlxxCode",
fieldType: "upper",
......@@ -79,17 +90,8 @@
title: "容器",
field: "rqCode",
width: 100,
},
{
title: "状态",
field: "zt",
width: 100,
"transform": {
"url": "wms/rkgl/dbrk/init/zt",
"label": "name",
"value": "id"
}
}
],
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