扫码明细减一问题

dev2.5_scan
yewj 6 days ago
parent 4af06aae4c
commit 3d14d6ff51

@ -77,7 +77,7 @@
show-overflow-tooltip
></el-table-column>
<el-table-column label="操作" width="280" fixed="right">
<el-table-column label="操作" width="120" fixed="right">
<template slot-scope="scope">
<el-button
type="text"
@ -86,22 +86,22 @@
>减一
</el-button
>
<el-button
type="text"
size="small"
:disabled="scope.row.relId!=null"
@click.native.stop="bindRl(scope.row)"
>绑定产品
</el-button
>
<el-button
type="text"
size="small"
:disabled="scope.row.supId!=null"
@click.native.stop="handleUnitClick(scope.row)"
>绑定供应商
</el-button
>
<!-- <el-button-->
<!-- type="text"-->
<!-- size="small"-->
<!-- :disabled="scope.row.relId!=null"-->
<!-- @click.native.stop="bindRl(scope.row)"-->
<!-- >绑定产品-->
<!-- </el-button-->
<!-- >-->
<!-- <el-button-->
<!-- type="text"-->
<!-- size="small"-->
<!-- :disabled="scope.row.supId!=null"-->
<!-- @click.native.stop="handleUnitClick(scope.row)"-->
<!-- >绑定供应商-->
<!-- </el-button-->
<!-- >-->
<el-button
type="text"
size="small"
@ -109,14 +109,14 @@
>编辑
</el-button
>
<el-button
type="text"
size="small"
:disabled="scope.row.drugLink == 1"
@click.native.stop="association(scope.row)"
>关联
</el-button
>
<!-- <el-button-->
<!-- type="text"-->
<!-- size="small"-->
<!-- :disabled="scope.row.drugLink == 1"-->
<!-- @click.native.stop="association(scope.row)"-->
<!-- >关联-->
<!-- </el-button-->
<!-- >-->
</template>
</el-table-column>
</el-table>

@ -73,6 +73,7 @@
v-if="scanDetailVisible"
width="65%"
append-to-body
@close="handleDialogClose"
>
<codesPanelBiz
:bizId="bizId"
@ -104,6 +105,10 @@ export default {
type: Object,
required: true,
},
refreshPanel: {
type: Function,
required: true
},
},
data() {
return {
@ -192,10 +197,14 @@ export default {
this.billNo = val.orderIdFk;
this.scanDetailVisible = true
},
handleDialogClose() {
this.closeScanDialog();
},
closeScanDialog() {
this.bizId = null
this.billNo = null
this.scanDetailVisible = false
this.bizId = null;
this.billNo = null;
this.scanDetailVisible = false;
this.refreshPanel();
},
},

Loading…
Cancel
Save