feat: 更改跳转
This commit is contained in:
parent
462f75ce3e
commit
682fe03165
|
|
@ -135,7 +135,9 @@
|
|||
</el-table>
|
||||
</div>
|
||||
<div>
|
||||
<el-button type="primary" :loading="queryFormLoading" @click="submitHandle">确定</el-button>
|
||||
<el-button type="primary" :loading="queryFormLoading" @click="submitHandle">
|
||||
保存并返回
|
||||
</el-button>
|
||||
</div>
|
||||
<!-- 选择耗材 -->
|
||||
<ConsumableList ref="ConsumableList" @success="selectConsumable" />
|
||||
|
|
@ -308,6 +310,7 @@ export default {
|
|||
const price = row.price * row.stockNumber;
|
||||
return price;
|
||||
},
|
||||
|
||||
handleSelect(item) {
|
||||
//选定后清空
|
||||
this.autocompletename = "";
|
||||
|
|
@ -381,7 +384,7 @@ export default {
|
|||
message: title + "提交成功",
|
||||
type: "success",
|
||||
});
|
||||
this.resetHandle(); //初始化
|
||||
this.$router.push("/inventory/consumables");
|
||||
// this.showResult = true
|
||||
// this.$refs.shopList.reset()//清除选项
|
||||
// this.$refs.ConsumableList.reset()//清除选项
|
||||
|
|
|
|||
Loading…
Reference in New Issue