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

乐心上利库bug调整

parent 21b1905f
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<!-- editTab数据 --> <!-- editTab数据 -->
<div slot="reFooter" class="refooter"> <div slot="reFooter" class="refooter">
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="app.showDialog=false">取 消</el-button> <el-button @click="$refs.RelDialog.closeAll()">取 消</el-button>
<el-button type="primary" @click="save()">保 存</el-button> <el-button type="primary" @click="save()">保 存</el-button>
</span> </span>
</div> </div>
...@@ -159,6 +159,9 @@ ...@@ -159,6 +159,9 @@
code:item.code code:item.code
}).then(res=>{ }).then(res=>{
if(res.success){ if(res.success){
let length=this.formDetail.length
this.formDetail.splice(0,length)
/* */
let list =res.data.records||[] let list =res.data.records||[]
let packidList=this.formDetail.map(pitem=>pitem.packid) let packidList=this.formDetail.map(pitem=>pitem.packid)
list.forEach(item=>{ list.forEach(item=>{
...@@ -205,7 +208,7 @@ ...@@ -205,7 +208,7 @@
type: 'AuxInput', type: 'AuxInput',
typeConfig: { typeConfig: {
isRequest: true, isRequest: true,
code: 'GWID', code: 'SLKGWID',
label: 'gwCode', label: 'gwCode',
transform: { transform: {
value: 'id', value: 'id',
...@@ -233,6 +236,39 @@ ...@@ -233,6 +236,39 @@
} }
} }
], ],
editColItemList2:[
{
"label": "状态",
"prop": "zt",
"span": 8,
"type": "RelSelect",
"value": "",
readonly:true,
"typeConfig": {
"src": "wms/rkgl/sjrw/init/zt",
"match": {
"value": "id",
"label": "name"
}
}
},
{
label: '维护人',
prop: 'whr',
type: 'input',
span: 8,
readonly:true,
},
{
label: '维护时间',
prop: 'whsj',
span: 8,
type: 'datetime',
readonly:true,
value:new Date().getTime()
}
],
/* 从表编辑数据 */ /* 从表编辑数据 */
editTableTitle: [{ editTableTitle: [{
title: "序号", title: "序号",
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
saveSelected: false saveSelected: false
}, },
config: { config: {
queryDetail: true,
/* 基本配置*/ /* 基本配置*/
url: 'lxyl/rkgl/sjrw/lkrk', url: 'lxyl/rkgl/sjrw/lkrk',
tableTitle: [{ tableTitle: [{
......
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
}, },
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'wms/jcsj/pack/queryPackDetail', url: 'wms/sjrw/query/pack',
queryUrl:'wms/jcsj/pack/queryPackDetail', queryUrl:'wms/sjrw/query/pack',
tableTitle: [ tableTitle: [
{ {
title: "唯一码", title: "唯一码",
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
<el-tab-pane class="full" label="明细" name="first"> <el-tab-pane class="full" label="明细" name="first">
<Mx ref="mx" class="full" /> <Mx ref="mx" class="full" />
</el-tab-pane> </el-tab-pane>
<!-- <el-tab-pane class="full" label="入库清单" name="second"> <el-tab-pane class="full" label="清单" name="second">
<Rkqd ref="rkqd" class="full" /> <Rkqd ref="rkqd" class="full" />
</el-tab-pane> --> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
...@@ -44,12 +44,12 @@ ...@@ -44,12 +44,12 @@
let mid = row.id let mid = row.id
this.$refs.mx.$refs.basePage.queryParams.mid = mid this.$refs.mx.$refs.basePage.queryParams.mid = mid
this.$refs.mx.$refs.basePage.$refs['TablePager'].pageQuery({ this.$refs.mx.$refs.basePage.$refs['TablePager'].pageQuery({
setFirstCurrent: true
})
this.$refs.rkqd.$refs.basePage.queryParams.mid = mid
this.$refs.rkqd.$refs.basePage.$refs['TablePager'].pageQuery({
}) })
// this.$refs.rkqd.$refs.basePage.queryParams.mid = mid
// this.$refs.rkqd.$refs.basePage.$refs['TablePager'].pageQuery({
// setFirstCurrent: true
// })
}, },
......
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
}, },
config: { config: {
/* 基本配置*/ /* 基本配置*/
url: 'wms/ckgl/dbck/query/dbckqd', url: 'wms/ckgl/cktz/query/cktzqd',
queryUrl: 'wms/ckgl/dbck/query/dbckqd', queryUrl: 'wms/ckgl/cktz/query/cktzqd',
tableTitle: [ tableTitle: [
{ {
title: "库位", title: "库位",
......
...@@ -11,9 +11,9 @@ ...@@ -11,9 +11,9 @@
<el-tab-pane class="full" label="明细" name="first"> <el-tab-pane class="full" label="明细" name="first">
<ckdmx @getRow='ckdmxGetRow' ref="ckdmx" class="full" /> <ckdmx @getRow='ckdmxGetRow' ref="ckdmx" class="full" />
</el-tab-pane> </el-tab-pane>
<!-- <el-tab-pane class="full" label="出库清单" name="second"> <el-tab-pane class="full" label="清单" name="second">
<ckqd ref="ckqd" class="full" /> <ckqd ref="ckqd" class="full" />
</el-tab-pane> --> </el-tab-pane>
</el-tabs> </el-tabs>
</div> </div>
...@@ -45,8 +45,8 @@ ...@@ -45,8 +45,8 @@
this.$refs.ckdmx.$refs.basePage.$refs['TablePager'].pageQuery({ this.$refs.ckdmx.$refs.basePage.$refs['TablePager'].pageQuery({
setFirstCurrent: true setFirstCurrent: true
}) })
// this.$refs.ckqd.$refs.basePage.queryParams.mid = mid this.$refs.ckqd.$refs.basePage.queryParams.mid = mid
// this.$refs.ckqd.$refs.basePage.$refs['TablePager'].pageQuery() this.$refs.ckqd.$refs.basePage.$refs['TablePager'].pageQuery()
}, },
ckdmxGetRow(row){ ckdmxGetRow(row){
let mid = row.id let mid = row.id
......
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