Commit 2687ab9f authored by 李苏's avatar 李苏 💬

特殊删除按钮/查询分析仓库接口变更

parent 53346a27
<template> <template>
<BasePage :power="power" <BasePage :delMster='false' :power="power" :addRename='`选择领料单出库`' class="min_full" :config="config">
:addRename='`选择领料单出库`' class="min_full" :config="config" > <template #dialog="ctx">
<template #dialog="ctx" >
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template> </template>
<template #toolbar="ctx" > <template #toolbar="ctx">
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> --> <!-- <el-button @click="demo(ctx.basePage)" size='mini' type="primary">示例按钮</el-button> -->
</template> </template>
...@@ -14,47 +13,95 @@ ...@@ -14,47 +13,95 @@
<script> <script>
import Edit from './edit.vue' import Edit from './edit.vue'
export default{ export default {
data(){ data() {
return{ return {
power: { power: {
add: false, add: false,
copy: false, copy: false,
/* 手动控制删除 */ /* 手动控制删除 */
delButton: false, delButton: true,
/* 手动控制编辑按钮权限 */ /* 手动控制编辑按钮权限 */
editButton: false, editButton: false,
/* 是否渲染右侧操作按钮 */ /* 是否渲染右侧操作按钮 */
operateButtons: false, operateButtons: true,
/* 是否开启工作流按钮 */ /* 是否开启工作流按钮 */
workFlow: false, workFlow: false,
/* 表格开启选择,以及记住选择 */ /* 表格开启选择,以及记住选择 */
showSelection: false, showSelection: false,
saveSelected: false saveSelected: false
}, },
config:{ config: {
delUrl: 'lxyl/ckgl/pkck/delete/ckdj',
queryDetail: true, queryDetail: true,
/* 基本配置*/ /* 基本配置*/
url:'wms/ckgl/ckdj', url: 'wms/ckgl/ckdj',
tableTitle: [ tableTitle: [{
{"title": "库存单号", "field": "djid", "width": 140}, "title": "库存单号",
{"title": "出库日期", "field": "ywrq", fieldType: 'ftDate'}, "field": "djid",
{"title": "仓库", "field": "ckName", "width": 140}, "width": 140
{"title": "事务类型", "field": "swlxName", "width": 100}, },
{"title": "部门", "field": "bmName", "width": 130}, {
{"title": "经手人", "field": "jsr", "width": 120}, "title": "出库日期",
{"title": "保管员", "field": "bgy", "width": 120}, "field": "ywrq",
{"title": "出库单号", "field": "lldjid", "width": 140,formatter:(row,b,c)=>{ fieldType: 'ftDate'
let id=row.cktzDjid||row.dbckDjid },
{
"title": "仓库",
"field": "ckName",
"width": 140
},
{
"title": "事务类型",
"field": "swlxName",
"width": 100
},
{
"title": "部门",
"field": "bmName",
"width": 130
},
{
"title": "经手人",
"field": "jsr",
"width": 120
},
{
"title": "保管员",
"field": "bgy",
"width": 120
},
{
"title": "出库单号",
"field": "lldjid",
"width": 140,
formatter: (row, b, c) => {
let id = row.cktzDjid || row.dbckDjid
return id return id
}}, }
{"title": "拣货单号", "field": "jhtzDjid", "width": 140}, },
{
"title": "拣货单号",
"field": "jhtzDjid",
"width": 140
},
{"title": "备注", "field": "bz", "width": 220}, {
{"title": "维护人", "field": "whr"}, "title": "备注",
{"title": "维护时间", "field": "whsj", fieldType: 'ftDateTime'} "field": "bz",
"width": 220
},
{
"title": "维护人",
"field": "whr"
},
{
"title": "维护时间",
"field": "whsj",
fieldType: 'ftDateTime'
}
], ],
queryParams:[ queryParams: [
[{ [{
label: '出库日期', label: '出库日期',
startProp: "ywrqb", startProp: "ywrqb",
...@@ -99,12 +146,11 @@ ...@@ -99,12 +146,11 @@
// } // }
}, },
components:{ components: {
Edit Edit
} }
} }
</script> </script>
<style> <style>
......
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
"type": "RelSelect", "type": "RelSelect",
"value": "", "value": "",
"typeConfig": { "typeConfig": {
"src": "jcsj/common/ck/queryCkid", "src": "lxyl/jcsj/uck/ck/queryCjckid",
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
......
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
"type": "RelSelect", "type": "RelSelect",
"value": "", "value": "",
"typeConfig": { "typeConfig": {
"src": "jcsj/common/ck/queryCkid", "src": "lxyl/jcsj/uck/ck/queryCjckid",
"match": { "match": {
"value": "id", "value": "id",
"label": "name" "label": "name"
......
<template> <template>
<BasePage :power='power' addRename='选择入库单入库' class="min_full" :config="config"> <BasePage :delMster='false' :power='power' addRename='选择入库单入库' class="min_full" :config="config">
<template #dialog="ctx"> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template> </template>
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
saveSelected: false saveSelected: false
}, },
config: { config: {
delUrl:'test/delete', delUrl:'lxyl/rkgl/pksj/delete/rkdj',
queryDetail: true, queryDetail: true,
/* 基本配置*/ /* 基本配置*/
url: 'wms/rkgl/rkdj', url: 'wms/rkgl/rkdj',
......
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