Commit 7d4a59da authored by 李苏's avatar 李苏 💬

按检验单数量不给修改,调拨EDIT页面根据djly来改变

parent e9015c7d
......@@ -245,7 +245,7 @@
{
title: "调拨数量",
field: "bcsl",
allowEdit: true,
allowEdit: false,
type: 'inputNumber',
width: 200,
blur: toFixed(null),
......
<template>
<BasePage :power='power' @getRow='getRow' class="min_full" style="height: 100%;" :config="config">
<BasePage @beforeEdit='beforeEdit' :power='power' @getRow='getRow' class="min_full" style="height: 100%;" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<Akck :type="'add'" v-if="ctx.basePage.showAdd&&showName=='akck'" :app='ctx.basePage' :buttonApp='ctx.basePage' />
......@@ -203,6 +203,19 @@
},
methods: {
beforeEdit(val) {
let {
row,
edit
} = val
if (row.djly == 'JYD') {
edit.otherEdit = Ajydk
} else if(row.djly == 'KC'){
edit.otherEdit = Akck
}else{
edit.otherEdit = false
}
},
kgcdbtb(ctx) {
ctx.DialogWidth = '30vw'
ctx.DialogTitle = '跨工厂调拨同步'
......
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