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

replace the url about cktz

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