This commit is contained in:
魏啾 2024-10-12 14:48:26 +08:00
commit f623106dce
2 changed files with 19 additions and 2 deletions

View File

@ -148,7 +148,7 @@
</template>
<!-- 动态信息 出库 报损 消耗 手动减少 减少数量 入库 手动增加 增加数量 现有数量-->
<el-dialog :title="variabilitytitle" :visible.sync="variabilityshow">
<el-dialog :title="variabilitytitle" :visible.sync="variabilityshow" width="75%">
<div class="head-container">
<el-table ref="table" :data="stockData.data" v-loading="stockData.loading" row-key="id" height="450">
<!-- 共存前面 -->
@ -166,7 +166,14 @@
</template>
</el-table-column>
<el-table-column label="操作类型" prop="bizName" />
<el-table-column v-if="variabilitytitle == '消耗'" label="订单编号" prop="orderNo" />
<el-table-column v-if="variabilitytitle == '消耗'" label="订单编号" prop="orderNo">
<template v-slot="scope">
<div>
<el-button type="text" @click="toGoodslist(scope.row.orderNo)">{{ scope.row.orderNo }}</el-button>
</div>
</template>
</el-table-column>
<!-- 减少数量 -->
<el-table-column v-if="variabilitytitle == '报损'" label="图片" prop="coverImg" />
<!-- 尾巴 -->
@ -744,6 +751,15 @@ export default {
}
})
},
//
toGoodslist(orderNo) {
this.$router.push({
path: '/order_manage/order_list',
query: {
orderNo: orderNo
}
})
},
//
ruleFormsAdd() {
console.log('add')

View File

@ -244,6 +244,7 @@ export default {
this.getTableData();
}, 200);
}
},
methods: {
//