Commit 5a0e9450 authored by 李苏's avatar 李苏 💬

调整

parent f3865e25
......@@ -36,6 +36,7 @@
</RelDialog>
</template>
<script>
import {
toFixed,
digit,
......
<template>
<BasePage @beforeEdit='beforeEdit' @getRow='getRow' class="min_full" style="height: 100%;" :config="config">
<BasePage ref="basePage" @beforeEdit='beforeEdit' @getRow='getRow' class="min_full" style="height: 100%;" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<Tbwl :app='ctx.basePage' v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='同步领料单'" />
......@@ -39,6 +39,7 @@
import Cbzx from './cbzx.vue'
import Wwcl from './wwcl.vue'
import Tbxsjh from './tbxsjh.vue'
import request from 'common/src/utils/request'
export default {
data() {
return {
......@@ -196,8 +197,18 @@
edit
} = val
if (row.djly == 'KC') {
this.$refs.basePage.queryDetail = (query) => request({
url: `wms/ckgl/cktz/query/cktzqd`,
method: 'post',
data: query || {}
})
edit.otherEdit = Akck
} else {
this.$refs.basePage.queryDetail = (query) => request({
url: `lxyl/ckgl/cktz/query/detail`,
method: 'post',
data: query || {}
})
edit.otherEdit = false
}
},
......
......@@ -24,6 +24,7 @@
import Akck from './akck.vue'
import Ajydk from './ajydk.vue'
import Kgcdbtb from './kgcdbtb.vue'
import request from 'common/src/utils/request'
export default {
data() {
return {
......@@ -177,10 +178,29 @@
edit
} = val
if (row.djly == 'JYD') {
this.$refs.basePage.queryDetail = (query) => request({
url: `lxyl/ckgl/dbck/query/detail`,
method: 'post',
data: query || {}
})
edit.otherEdit = Ajydk
} else if(row.djly == 'KC'){
this.$refs.basePage.queryDetail = (query) => request({
url: `lxyl/ckgl/dbck/query/dbckqd`,
method: 'post',
data: query || {}
})
edit.otherEdit = Akck
}else{
this.$refs.basePage.queryDetail = (query) => request({
url: `lxyl/ckgl/dbck/query/detail`,
method: 'post',
data: query || {}
})
edit.otherEdit = false
}
},
......
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