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

调整

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