feat: 更改跳转

This commit is contained in:
wwz 2025-04-11 09:37:28 +08:00
parent 462f75ce3e
commit 682fe03165
1 changed files with 5 additions and 2 deletions

View File

@ -135,7 +135,9 @@
</el-table> </el-table>
</div> </div>
<div> <div>
<el-button type="primary" :loading="queryFormLoading" @click="submitHandle">确定</el-button> <el-button type="primary" :loading="queryFormLoading" @click="submitHandle">
保存并返回
</el-button>
</div> </div>
<!-- 选择耗材 --> <!-- 选择耗材 -->
<ConsumableList ref="ConsumableList" @success="selectConsumable" /> <ConsumableList ref="ConsumableList" @success="selectConsumable" />
@ -308,6 +310,7 @@ export default {
const price = row.price * row.stockNumber; const price = row.price * row.stockNumber;
return price; return price;
}, },
handleSelect(item) { handleSelect(item) {
// //
this.autocompletename = ""; this.autocompletename = "";
@ -381,7 +384,7 @@ export default {
message: title + "提交成功", message: title + "提交成功",
type: "success", type: "success",
}); });
this.resetHandle(); // this.$router.push("/inventory/consumables");
// this.showResult = true // this.showResult = true
// this.$refs.shopList.reset()// // this.$refs.shopList.reset()//
// this.$refs.ConsumableList.reset()// // this.$refs.ConsumableList.reset()//