Merge branch 'wwz' of https://e.coding.net/g-cphe0354/yinshoukeguanliduan/management into test
This commit is contained in:
commit
f623106dce
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -244,6 +244,7 @@ export default {
|
|||
this.getTableData();
|
||||
}, 200);
|
||||
}
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 获取订单汇总
|
||||
|
|
|
|||
Loading…
Reference in New Issue