|
@@ -113,8 +113,9 @@
|
|
|
<vxe-column min-width="100" align="center" field="priceSum" title="商品总价" ></vxe-column>
|
|
|
<vxe-column min-width="100" align="center" field="company" title="单位" ></vxe-column>
|
|
|
<vxe-column min-width="100" align="center" field="remarks" title="备注" ></vxe-column>
|
|
|
- <vxe-column align="center" title="操作" fixed="right" width="80">
|
|
|
+ <vxe-column align="center" title="操作" fixed="right" width="150">
|
|
|
<template v-slot="scope">
|
|
|
+ <el-button size="mini" v-if="method === 'purchaseAdd'" type="primary" :disabled="false" @click="wareHouseAdd(scope.$rowIndex)">入库</el-button>
|
|
|
<el-button size="mini" type="primary" :disabled="false" @click="seeFileInfo(scope.$rowIndex)">附件</el-button>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
@@ -833,7 +834,10 @@
|
|
|
tradeName: this.inputForm.detailInfos[index].tradeName,
|
|
|
tradeNumber: this.inputForm.detailInfos[index].tradeNumber,
|
|
|
company: this.inputForm.detailInfos[index].company,
|
|
|
- priceSum: this.inputForm.detailInfos[index].priceSum
|
|
|
+ priceSum: this.inputForm.detailInfos[index].priceSum,
|
|
|
+ supplierId: this.inputForm.detailInfos[index].supplierId,
|
|
|
+ supplierName: this.inputForm.detailInfos[index].supplierName,
|
|
|
+ isSupplier: this.inputForm.detailInfos[index].isSupplier
|
|
|
}
|
|
|
this.inputForm.wareHouse.push(param)
|
|
|
let i = this.inputForm.wareHouse.length
|