diff --git a/src/views/datawarehouse/maket/index.vue b/src/views/datawarehouse/maket/index.vue index dd186d6..ed59dfb 100644 --- a/src/views/datawarehouse/maket/index.vue +++ b/src/views/datawarehouse/maket/index.vue @@ -15,72 +15,8 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -182,36 +118,6 @@ export default { this.open = true; this.title = "添加订单详情"; }, - /** 修改按钮操作 */ - handleUpdate(row) { - this.reset(); - const orderId = row.orderId || this.ids - getDatawarehouse(orderId).then(response => { - this.form = response.data; - this.open = true; - this.title = "修改订单详情"; - }); - }, - /** 提交按钮 */ - submitForm() { - this.$refs["form"].validate(valid => { - if (valid) { - if (this.form.orderId != null) { - updateDatawarehouse(this.form).then(response => { - this.$modal.msgSuccess("修改成功"); - this.open = false; - this.getList(); - }); - } else { - addDatawarehouse(this.form).then(response => { - this.$modal.msgSuccess("新增成功"); - this.open = false; - this.getList(); - }); - } - } - }); - }, /** 删除按钮操作 */ handleDelete(row) { const orderIds = row.orderId || this.ids;