feat: 更改跳转
This commit is contained in:
parent
462f75ce3e
commit
682fe03165
|
|
@ -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()//清除选项
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue