|
@@ -308,6 +308,7 @@
|
|
|
}
|
|
|
salesDetailInsert(params).then(res => {
|
|
|
if(res.status == 200){
|
|
|
+ this.toashMsg(res.message)
|
|
|
this.changeList(params) // 变更 列表产品可选状态
|
|
|
this.selectedProductTotal() // 已选产品合计
|
|
|
this.commonModal = false
|
|
@@ -326,6 +327,7 @@
|
|
|
}
|
|
|
salesDetailUpdate(params).then(res => {
|
|
|
if(res.status == 200){
|
|
|
+ this.toashMsg(res.message)
|
|
|
this.$refs.selectedProducts.getList(1)
|
|
|
this.selectedProductTotal() // 已选产品合计
|
|
|
this.commonModal = false
|
|
@@ -357,8 +359,6 @@
|
|
|
handleCancel(){
|
|
|
this.openProductModal = false
|
|
|
},
|
|
|
- // 已选产品 提交
|
|
|
- selectedConfirm(){},
|
|
|
// 已选产品合计
|
|
|
selectedProductTotal(){
|
|
|
salesDetail({ id: this.salesInfo.id }).then(res => {
|