|
@@ -93,7 +93,9 @@ export default {
|
|
|
this.$refs.multipleTable.clearSelection()
|
|
this.$refs.multipleTable.clearSelection()
|
|
|
this.$refs.multipleTable.toggleRowSelection(row)
|
|
this.$refs.multipleTable.toggleRowSelection(row)
|
|
|
},
|
|
},
|
|
|
- // 表单提交
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 表单提交
|
|
|
|
|
+ */
|
|
|
dataFormSubmit() {
|
|
dataFormSubmit() {
|
|
|
if (this.multipleSelection == null || this.multipleSelection.length === 0) {
|
|
if (this.multipleSelection == null || this.multipleSelection.length === 0) {
|
|
|
this.$message.error('请选择清单')
|
|
this.$message.error('请选择清单')
|
|
@@ -103,8 +105,8 @@ export default {
|
|
|
url: this.$http.adornUrl(`/biz-service/projProduct/selection`),
|
|
url: this.$http.adornUrl(`/biz-service/projProduct/selection`),
|
|
|
method: 'post',
|
|
method: 'post',
|
|
|
data: this.$http.adornData({
|
|
data: this.$http.adornData({
|
|
|
- productTechnologyId: this.dataForm.productTechnologyId
|
|
|
|
|
- , productId: this.multipleSelection[0].productId
|
|
|
|
|
|
|
+ productTechnologyId: this.dataForm.productTechnologyId,
|
|
|
|
|
+ productId: this.multipleSelection[0].productId
|
|
|
})
|
|
})
|
|
|
}).then(({ data }) => {
|
|
}).then(({ data }) => {
|
|
|
if (data && data.code === '200') {
|
|
if (data && data.code === '200') {
|