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

3.13调整

parent 01b0618a
...@@ -69,16 +69,17 @@ ...@@ -69,16 +69,17 @@
field: "yfsl", field: "yfsl",
width: 100, width: 100,
}, },
{
title: "拣货数量",
field: "jhsl",
width: 100,
},
{ {
title: "已出库数量", title: "已出库数量",
field: "cksl", field: "cksl",
width: 100, width: 100,
}, },
// {
// title: "库存数量",
// field: "kcsl",
// width: 100,
// },
{ {
title: "制令号", title: "制令号",
field: "zlh", field: "zlh",
......
...@@ -152,8 +152,8 @@ ...@@ -152,8 +152,8 @@
value: '' value: ''
}, },
{ {
label: '托盘编码', label: '唯一码',
prop: 'tpCode', prop: 'packCode',
span: 6, span: 6,
type: 'input', type: 'input',
value: '' value: ''
......
<template> <template>
<BasePage @getRow='getRow' ref="basePage" :power='power' :toolButton='false' class="min_full" style="height: 100%;border-top: 0px;" :autoQuery='false' <BasePage @getRow='getRow' ref="basePage" :power='power' :toolButton='false' class="min_full"
:config="config"> style="height: 100%;border-top: 0px;" :autoQuery='false' :config="config">
<template #dialog="ctx"> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template> </template>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
import wlsx from 'common/src/mixin/wlsx.js' import wlsx from 'common/src/mixin/wlsx.js'
import wlphsx from 'common/src/mixin/wlphsx.js' import wlphsx from 'common/src/mixin/wlphsx.js'
export default { export default {
mixins:[wlphsx,wlsx], mixins: [wlphsx, wlsx],
data() { data() {
return { return {
power: { power: {
...@@ -88,6 +88,21 @@ ...@@ -88,6 +88,21 @@
field: "yssl", field: "yssl",
width: 120, width: 120,
}, },
{
title: "码盘数量",
field: "ztsl",
width: 120,
},
{
title: "包装数量",
field: "zbsl",
width: 120,
},
{
title: "入库数量",
field: "rksl",
width: 100,
},
{ {
title: "制令号", title: "制令号",
field: "zlh", field: "zlh",
...@@ -136,13 +151,13 @@ ...@@ -136,13 +151,13 @@
}, },
methods: { methods: {
getRow(val){ getRow(val) {
this.$emit('getRow',val) this.$emit('getRow', val)
}, },
demo(ctx){ demo(ctx) {
if(ctx.singleItem&&ctx.singleItem.id){ if (ctx.singleItem && ctx.singleItem.id) {
console.log(ctx.singleItem) console.log(ctx.singleItem)
}else{ } else {
this.$warning('请选中一条数据') this.$warning('请选中一条数据')
} }
} }
......
...@@ -5,12 +5,15 @@ ...@@ -5,12 +5,15 @@
<Sclltldb v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='生产领料退料同步'" :app='ctx.basePage' /> <Sclltldb v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='生产领料退料同步'" :app='ctx.basePage' />
<Wxtltb v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='外协退料同步'" :app='ctx.basePage' /> <Wxtltb v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='外协退料同步'" :app='ctx.basePage' />
<Cbzxtltb v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='成本中心退料同步'" :app='ctx.basePage' /> <Cbzxtltb v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='成本中心退料同步'" :app='ctx.basePage' />
</template> </template>
<template #toolbar="ctx"> <template #toolbar="ctx">
<el-button @click="sclltldb(ctx.basePage)" size='mini' type="primary">生产领料退料同步</el-button> <el-button @click="sclltldb(ctx.basePage)" size='mini' type="primary">生产领料退料同步</el-button>
<el-button @click="wxtltb(ctx.basePage)" size='mini' type="primary">外协退料同步</el-button> <el-button @click="wxtltb(ctx.basePage)" size='mini' type="primary">外协退料同步</el-button>
<el-button @click="cbzxtltb(ctx.basePage)" size='mini' type="primary">成本中心退料同步</el-button> <el-button @click="cbzxtltb(ctx.basePage)" size='mini' type="primary">成本中心退料同步</el-button>
<el-button @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
</template> </template>
...@@ -218,6 +221,46 @@ ...@@ -218,6 +221,46 @@
}, },
methods: { methods: {
qr(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
this.$confirm('是否继续操作, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
this.$post('lxyl/rkgl/ckthtz/confirm', {
id: ctx.singleItem.id
}).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.refresh()
}
})
})
} else {
this.$warning('请选中一条数据')
}
},
qxqr(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
this.$confirm('是否继续操作, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
this.$post('lxyl/rkgl/ckthtz/unconfirm', {
id: ctx.singleItem.id
}).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.refresh()
}
})
})
} else {
this.$warning('请选中一条数据')
}
},
sclltldb(ctx){ sclltldb(ctx){
ctx.DialogWidth='35vw' ctx.DialogWidth='35vw'
ctx.DialogTitle='生产领料退料同步' ctx.DialogTitle='生产领料退料同步'
......
...@@ -74,6 +74,16 @@ ...@@ -74,6 +74,16 @@
field: "yfsl", field: "yfsl",
width: 100, width: 100,
}, },
{
title: "拣货数量",
field: "jhsl",
width: 100,
},
{
title: "已出库数量",
field: "cksl",
width: 100,
},
{ {
title: "状态", title: "状态",
field: "zt", field: "zt",
......
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<el-button @click="akck(ctx.basePage)" size='mini' type="primary">按库存开</el-button> <el-button @click="akck(ctx.basePage)" size='mini' type="primary">按库存开</el-button>
<el-button @click="cgthtb(ctx.basePage)" size='mini' type="primary">采购退货单同步</el-button> <el-button @click="cgthtb(ctx.basePage)" size='mini' type="primary">采购退货单同步</el-button>
<el-button @click="qr(ctx.basePage)" size='mini' type="primary">确认</el-button>
<el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button>
<!-- <el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button> --> <!-- <el-button @click="qxqr(ctx.basePage)" size='mini' type="primary">取消确认</el-button> -->
</template> </template>
...@@ -169,6 +171,46 @@ ...@@ -169,6 +171,46 @@
}, },
methods: { methods: {
qr(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
this.$confirm('是否继续操作, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
this.$post('lxyl/rkgl/rkthtz/confirm', {
id: ctx.singleItem.id
}).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.refresh()
}
})
})
} else {
this.$warning('请选中一条数据')
}
},
qxqr(ctx) {
if (ctx.singleItem && ctx.singleItem.id) {
this.$confirm('是否继续操作, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(res => {
this.$post('lxyl/rkgl/rkthtz/unconfirm', {
id: ctx.singleItem.id
}).then(res => {
if (res.success) {
this.$success('操作成功')
ctx.refresh()
}
})
})
} else {
this.$warning('请选中一条数据')
}
},
cgthtb(ctx){ cgthtb(ctx){
ctx.DialogWidth='30vw' ctx.DialogWidth='30vw'
ctx.DialogTitle='同步采购退货单' 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