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

乐心上利库bug调整

parent 21b1905f
......@@ -18,7 +18,7 @@
</template>
</editTableForEdit>
</div>
<el-row :gutter="20" :app="this" class="editRow bottomInfo">
<el-row :gutter="20" :app="this" class="editRow bottomInfo">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false "
v-for="(item,index) in editColItemList2 " :value="item.value" :span="item.span" :label="item.label"
:prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
......@@ -27,7 +27,7 @@
<!-- editTab数据 -->
<div slot="reFooter" class="refooter">
<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>
</span>
</div>
......@@ -159,6 +159,9 @@
code:item.code
}).then(res=>{
if(res.success){
let length=this.formDetail.length
this.formDetail.splice(0,length)
/* */
let list =res.data.records||[]
let packidList=this.formDetail.map(pitem=>pitem.packid)
list.forEach(item=>{
......@@ -205,7 +208,7 @@
type: 'AuxInput',
typeConfig: {
isRequest: true,
code: 'GWID',
code: 'SLKGWID',
label: 'gwCode',
transform: {
value: 'id',
......@@ -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: [{
title: "序号",
......
......@@ -37,6 +37,7 @@
saveSelected: false
},
config: {
queryDetail: true,
/* 基本配置*/
url: 'lxyl/rkgl/sjrw/lkrk',
tableTitle: [{
......
......@@ -32,8 +32,8 @@
},
config: {
/* 基本配置*/
url: 'wms/jcsj/pack/queryPackDetail',
queryUrl:'wms/jcsj/pack/queryPackDetail',
url: 'wms/sjrw/query/pack',
queryUrl:'wms/sjrw/query/pack',
tableTitle: [
{
title: "唯一码",
......
......@@ -11,9 +11,9 @@
<el-tab-pane class="full" label="明细" name="first">
<Mx ref="mx" class="full" />
</el-tab-pane>
<!-- <el-tab-pane class="full" label="入库清单" name="second">
<el-tab-pane class="full" label="清单" name="second">
<Rkqd ref="rkqd" class="full" />
</el-tab-pane> -->
</el-tab-pane>
</el-tabs>
</div>
......@@ -44,12 +44,12 @@
let mid = row.id
this.$refs.mx.$refs.basePage.queryParams.mid = mid
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 @@
},
config: {
/* 基本配置*/
url: 'wms/ckgl/dbck/query/dbckqd',
queryUrl: 'wms/ckgl/dbck/query/dbckqd',
url: 'wms/ckgl/cktz/query/cktzqd',
queryUrl: 'wms/ckgl/cktz/query/cktzqd',
tableTitle: [
{
title: "库位",
......
......@@ -11,9 +11,9 @@
<el-tab-pane class="full" label="明细" name="first">
<ckdmx @getRow='ckdmxGetRow' ref="ckdmx" class="full" />
</el-tab-pane>
<!-- <el-tab-pane class="full" label="出库清单" name="second">
<el-tab-pane class="full" label="清单" name="second">
<ckqd ref="ckqd" class="full" />
</el-tab-pane> -->
</el-tab-pane>
</el-tabs>
</div>
......@@ -45,8 +45,8 @@
this.$refs.ckdmx.$refs.basePage.$refs['TablePager'].pageQuery({
setFirstCurrent: true
})
// this.$refs.ckqd.$refs.basePage.queryParams.mid = mid
// this.$refs.ckqd.$refs.basePage.$refs['TablePager'].pageQuery()
this.$refs.ckqd.$refs.basePage.queryParams.mid = mid
this.$refs.ckqd.$refs.basePage.$refs['TablePager'].pageQuery()
},
ckdmxGetRow(row){
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