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

wlxxInfo/zlh

parent 5ea26693
......@@ -6,9 +6,11 @@
<Xzgw @saveGw='saveGw' :app='ctx.basePage' v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='选择工位'" />
</template>
<template #toolbar="ctx">
<el-button v-if="ctx.basePage.powerObj['01']" @click="showAdd(ctx.basePage)" size='mini' type="primary">新增</el-button>
<el-button v-if="ctx.basePage.powerObj['01']" @click="showAdd(ctx.basePage)" size='mini'
type="primary">新增</el-button>
<!-- <el-button @click="cxjyrw(ctx.basePage)" size='mini' type="primary">创建检验任务</el-button> -->
<el-button v-if="ctx.basePage.powerObj['21']" @click="cjxjrw(ctx.basePage)" size='mini' type="primary">创建下架任务</el-button>
<el-button v-if="ctx.basePage.powerObj['21']" @click="cjxjrw(ctx.basePage)" size='mini'
type="primary">创建下架任务</el-button>
</template>
......@@ -123,6 +125,21 @@
type: 'input',
value: ''
}
],
[{
label: '物料',
prop: 'wlxxInfo',
span: 6,
type: 'input',
value: ''
},
{
label: '指令号',
prop: 'zlh',
span: 6,
type: 'input',
value: ''
}
]
],
......@@ -162,11 +179,11 @@
}
}, */
saveGw(form){
let ctx=this.$refs.basePage
saveGw(form) {
let ctx = this.$refs.basePage
this.$post('lxyl/ukcyhd/genXjrw', {
id: ctx.singleItem.id,
gwid:form.gwid
gwid: form.gwid
}).then(res => {
if (res.success) {
this.$success('操作成功')
......
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