From ed273c95906d0ddcac92433eb2e9e70a50be2ff8 Mon Sep 17 00:00:00 2001 From: chenjianan Date: Fri, 12 Apr 2019 13:32:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E7=A6=BB=E7=BA=BF=E5=90=88=E5=90=8C?= =?UTF-8?q?=E9=87=87=E8=B4=AD=E5=88=86=E9=85=8D=E4=B8=8B=E6=9D=A5=E7=9A=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/PurchasingCenter/OfflineContract/index.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/PurchasingCenter/OfflineContract/index.vue b/src/views/PurchasingCenter/OfflineContract/index.vue index d023e0cf..554d5ec5 100644 --- a/src/views/PurchasingCenter/OfflineContract/index.vue +++ b/src/views/PurchasingCenter/OfflineContract/index.vue @@ -1241,11 +1241,10 @@ export default { return '' }, handleSelectionChange1(val) { // 标准件和外购件多选 - console.log(val) this.groupPartNumGroup = [] this.tableData02 = val for (let i = 0; i < val.length; i++) { - this.groupPartNumGroup.push(val.组件零件流水号) + this.groupPartNumGroup.push(val[i].组件零件流水号) } }, selectable(row, index) { // 控制某行是否可选 @@ -1261,7 +1260,6 @@ export default { this.materialSpec ? check2 = 1 : check2 = 0 this.materialModel ? check3 = 1 : check3 = 0 searchMaterial(this.pageCurrent00, this.pageSize00, this.materialStatusValue[this.materialStatusValue.length - 1], check1, this.materialName, check2, this.materialSpec, check3, this.materialModel, this.id).then(response => { - console.log(response.data.rows) this.tableData00 = response.data.rows this.total00 = response.data.total }) @@ -1290,9 +1288,9 @@ export default { }, submitBind() { if (this.offlineContractsValue) { - console.log('改物料询价状态,采购状态,往物料附上离线合同流水号') submitBind(this.groupPartNumGroup, this.offlineContractsValue).then(res => { if (res.data[0].result === '1') { + this.$message.success('操作成功') this.searchTable00() this.dialogVisible0 = false } else { this.$message.error('操作失败') }