feat(crm/coilTable): 新增数字钢卷跳转按钮

在钢卷表格操作栏添加数字钢卷按钮,点击后跳转至对应钢卷详情页
This commit is contained in:
2026-05-18 15:14:55 +08:00
parent f5c1aecd56
commit 07b4f10a27

View File

@@ -48,6 +48,8 @@
<el-button size="mini" type="text" icon="el-icon-printer" @click="handlePrintLabel(scope.row)">
打印标签
</el-button>
<el-button size="mini" type="text" icon="el-icon-search"
@click="handleDigitalCoilNo(scope.row)">数字钢卷</el-button>
<el-button size="mini" type="text" icon="el-icon-search" @click="handleTrace(scope.row)">追溯</el-button>
</template>
</el-table-column>
@@ -168,6 +170,12 @@ export default {
this.$refs.labelRender.printLabel();
})
},
/** 数字钢卷按钮操作 */
handleDigitalCoilNo(row) {
this.$router.push({
path: '/wms/coil/' + row.coilId,
});
},
/** 追溯按钮操作 */
handleTrace(row) {
this.trace.open = true;