| | |
| | | <el-table-column prop="materialName" show-overflow-tooltip label="产品名称"> </el-table-column> |
| | | </template> |
| | | <template slot="tableButton"> |
| | | <el-table-column prop="amount" label="数量" min-width="110"> |
| | | <el-table-column prop="amount" label="数量"> |
| | | <template slot-scope="scope"> |
| | | <el-input |
| | | style="width: 100%" |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | // import { saveMaterialApply } from "@/api/outsourceEnterpriseManage/index" |
| | | import { saveMaterialApply } from "@/api/orderManageModule/orderManage" |
| | | import SelectCommonDialog from "@/views/other/commonDialog/SelectCommonDialog" |
| | | export default { |
| | | name: "AddSalesDetailsDialog", |
| | |
| | | const params = this.saveParams() |
| | | console.log(params) |
| | | this.isAddloading = true |
| | | // saveMaterialApply(params).then((res) => { |
| | | // if (res.code === 200) { |
| | | // this.editRow.visible = false |
| | | // this.$message.success(this.editRow.title + "成功!") |
| | | // this.$emit("reRreshData") |
| | | // } |
| | | // this.isAddloading = false |
| | | // }) |
| | | saveMaterialApply(params).then((res) => { |
| | | if (res.code === 200) { |
| | | this.editRow.visible = false |
| | | this.$message.success(this.editRow.title + "成功!") |
| | | this.$emit("reRreshData") |
| | | } |
| | | this.isAddloading = false |
| | | }) |
| | | }, |
| | | saveParams() { |
| | | let commonParam = { |