Commit 46e2e354 authored by 李苏's avatar 李苏 💬

replace the url about cktz

parent 4a32a7a8
......@@ -36,8 +36,8 @@
},
config: {
/* 基本配置*/
url: 'wms/ckgl/llck',
queryUrl: 'wms/ckgl/llck/query/detail',
url: 'lxyl/ckgl/cktz',
queryUrl: 'lxyl/ckgl/cktz/query/detail',
tableTitle: [{
title: "物料编码",
field: "wlxxCode",
......
......@@ -51,12 +51,13 @@
},
/* 选择list时的回调 */
save(list) {
list.forEach(async item => {
let res = await this.$post('kc/common/query/kcsl', {
ckid: this.form.ckid,
wlid: item.id
})
item.kcsl = res.data.records?res.data.records.kcsl:0
list.forEach(
async item => {
// let res = await this.$post('kc/common/query/kcsl', {
// ckid: this.form.ckid,
// wlid: item.id
// })
// item.kcsl = res.data.records?res.data.records.kcsl:0
// 转换并且push
item.wlid = item.id
item.wlxxName = item.name
......@@ -117,14 +118,14 @@
}
}
},
{
label: '需求日期',
prop: 'xqrq',
span: 8,
type: 'date',
value: new Date().getTime(),
"required": true,
},
// {
// label: '需求日期',
// prop: 'xqrq',
// span: 8,
// type: 'date',
// value: new Date().getTime(),
// "required": true,
// },
{
"label": "事务类型",
"prop": "swlxid",
......@@ -133,7 +134,7 @@
"value": "",
"required": true,
"typeConfig": {
"src": "wms/ckgl/llck/init/swlx",
"src": "lxyl/ckgl/cktz/init/swlx",
"match": {
"value": "id",
"label": "name"
......@@ -174,7 +175,7 @@
{
label: '备注',
prop: 'bz',
span: 16,
span: 24,
type: 'input',
},
],
......@@ -208,12 +209,12 @@
width: 200,
blur: toFixed(null),
},
{
title: "库存数量",
field: "kcsl",
width: 200,
blur: toFixed(null),
},
// {
// title: "库存数量",
// field: "kcsl",
// width: 200,
// blur: toFixed(null),
// },
{
title: "计量单位",
field: "jldwname",
......
......@@ -8,7 +8,7 @@
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">直接入库</el-button> -->
<ImportButton @success="()=>{
ctx.basePage.refresh()
}" :url="'/wms/ckgl/llck/import'" />
}" :url="'/lxyl/ckgl/cktz/import'" />
<el-button @click="tbwl(ctx.basePage)" size='mini' type="primary" style="margin-left: 10px;">同步sap出库单</el-button>
</template>
......@@ -24,7 +24,7 @@
config: {
queryDetail: true,
/* 基本配置*/
url: 'wms/ckgl/llck',
url: 'lxyl/ckgl/cktz',
tableTitle: [{
title: "状态",
field: "zt",
......@@ -32,7 +32,7 @@
align: 'center',
width: 80,
"transform": {
"url": "wms/ckgl/llck/init/zt",
"url": "lxyl/ckgl/cktz/init/zt",
"label": "name",
"value": "id"
}
......@@ -83,7 +83,7 @@
field: "djly",
width: 140,
"transform": {
"url": "wms/ckgl/llck/init/djly",
"url": "lxyl/ckgl/cktz/init/djly",
"label": "name",
"value": "id"
}
......@@ -148,7 +148,7 @@
span: 8,
type: 'RelSelect',
typeConfig: {
src: 'wms/ckgl/llck/init/zt'
src: 'lxyl/ckgl/cktz/init/zt'
}
},
{
......@@ -157,7 +157,7 @@
span: 8,
type: 'RelSelect',
typeConfig: {
src: 'wms/ckgl/llck/init/swlx'
src: 'lxyl/ckgl/cktz/init/swlx'
}
},
{
......
......@@ -34,7 +34,7 @@
},
config: {
/* 基本配置*/
url: 'wms/ckgl/llck',
url: 'lxyl/ckgl/cktz',
queryUrl: 'wms/ckgl/jhtz/query/jhtzzy',
tableTitle: [{
title: "库位",
......
......@@ -34,7 +34,7 @@
},
config: {
/* 基本配置*/
url: 'wms/ckgl/llck',
url: 'lxyl/ckgl/cktz',
queryUrl: 'wms/ckgl/jhtz/query/jhtzjg',
tableTitle: [{
title: "物料编码",
......
......@@ -37,7 +37,7 @@
},
config: {
/* 基本配置*/
url: 'wms/ckgl/llck',
url: 'lxyl/ckgl/cktz',
queryUrl: 'wms/ckgl/jhtz/query/detail',
tableTitle: [{
title: "物料编码",
......
......@@ -34,7 +34,7 @@
},
config: {
/* 基本配置*/
url: 'wms/ckgl/llck',
url: 'lxyl/ckgl/cktz',
queryUrl: 'wms/ckgl/jhtz/query/jhtzqd',
tableTitle: [
{
......
......@@ -30,7 +30,7 @@
config: {
queryDetail: true,
/* 基本配置*/
url: 'wms/ckgl/llck',
url: 'lxyl/ckgl/cktz',
tableTitle: [{
title: "状态",
field: "zt",
......@@ -38,7 +38,7 @@
align: 'center',
width: 80,
"transform": {
"url": "wms/ckgl/llck/init/zt",
"url": "lxyl/ckgl/cktz/init/zt",
"label": "name",
"value": "id"
}
......@@ -139,7 +139,7 @@
span: 6,
type: 'RelSelect',
typeConfig: {
src: 'wms/ckgl/llck/init/zt'
src: 'lxyl/ckgl/cktz/init/zt'
}
},
{
......@@ -148,7 +148,7 @@
span: 6,
type: 'RelSelect',
typeConfig: {
src: 'wms/ckgl/llck/init/swlx'
src: 'lxyl/ckgl/cktz/init/swlx'
}
}
]
......
......@@ -38,8 +38,8 @@
},
config: {
/* 基本配置*/
url: 'wms/ckgl/llck',
queryUrl: 'wms/ckgl/llck/query/detail',
url: 'lxyl/ckgl/cktz',
queryUrl: 'lxyl/ckgl/cktz/query/detail',
tableTitle: [{
title: "物料编码",
field: "wlxxCode",
......
......@@ -32,7 +32,7 @@
},
config: {
/* 基本配置*/
url: 'wms/ckgl/llck',
url: 'lxyl/ckgl/cktz',
queryUrl: 'lxyl/zlgl/ukcjyd//query/detail',
tableTitle: [
{
......
......@@ -139,7 +139,7 @@
"value": "",
"required": true,
"typeConfig": {
"src": "wms/ckgl/llck/init/swlx",
"src": "lxyl/ckgl/cktz/init/swlx",
"match": {
"value": "id",
"label": "name"
......
......@@ -139,7 +139,7 @@
"value": "",
"required": true,
"typeConfig": {
"src": "wms/ckgl/llck/init/swlx",
"src": "lxyl/ckgl/cktz/init/swlx",
"match": {
"value": "id",
"label": "name"
......
......@@ -139,7 +139,7 @@
"value": "",
"required": true,
"typeConfig": {
"src": "wms/ckgl/llck/init/swlx",
"src": "lxyl/ckgl/cktz/init/swlx",
"match": {
"value": "id",
"label": "name"
......
......@@ -80,23 +80,7 @@
]
],
/* 默认启停用 */
// showqt: true,
// qtUrl:'',
/* 树的支持*/
// hasTree:false,
// treeTitle:'',
// treeDefaultProps: {
// children: 'children',
// label: 'name',
// fatherId: 'pid',
// sonId: 'id',
// rootName: "全部",
// rootId:'root'
// },
// treeQueryParams:{
// },
// treeUrl:''
}
}
......
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