| | |
| | | </ul> |
| | | <div class="business_scope"> |
| | | <div class="content-title">{{ "合同附件" }}</div> |
| | | <div class="content-data" @click="downLoadFiles"> |
| | | {{ detailConfig.infomation.contract.fileName ? detailConfig.infomation.contract.fileName : "--" }} |
| | | </div> |
| | | <div class="content-data downFlie" @click="downLoadFiles"> |
| | | {{ detailConfig.infomation.contract.fileName ? detailConfig.infomation.contract.fileName : "--" }} |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <!-- 采购订单-基本信息 --> |
| | | <!-- 产品信息 --> |
| | | <div class="basic-info"> |
| | | <div class="basic-info-label" @click="expandClick('basic')"> |
| | | <i v-if="isBasicExpand" class="el-icon-arrow-down"></i> |
| | | <i v-else class="el-icon-arrow-up"></i> |
| | | <span style="margin-left: 10px">产品信息</span> |
| | | </div> |
| | | <div v-show="isBasicExpand" class="basic-info-content"> |
| | | <el-button type="primary" size="mini" @click="toPurchaseBtn"><i class="el-icon-plus"></i> 新建</el-button> |
| | | <div class="basic-info-content" > |
| | | <el-button type="primary" size="mini" @click="toPurchaseBtn"><i class="el-icon-plus"></i> 新建</el-button> |
| | | <TableCommonView |
| | | style="margin-top: 2px" |
| | | class="content-table" |
| | |
| | | showCol: ['采购单号', '采购单名称', '单据类型', '供应商名称', '采购数量', '收货仓库','经办人','制单人'], |
| | | tableColumn: [ |
| | | { label: "单据类型", prop: "orderType", min: 130 }, |
| | | { label: "采购单号", prop: "number", min: 150, isCommonClick: true ,default:true}, |
| | | { label: "采购单名称", prop: "name", min: 130, isCommonClick: true }, |
| | | { label: "采购单号", prop: "number", min: 150,default:true}, |
| | | { label: "采购单名称", prop: "name", min: 130 }, |
| | | { label: "供应商名称", prop: "supplierName", min: 130 }, |
| | | { label: "采购数量", prop: "quantity", min: 130 }, |
| | | { label: "收货仓库", prop: "warehouse", min: 130 }, |
| | |
| | | rightValue: "" |
| | | } |
| | | ] |
| | | this.detailConfig.productListInfo.map((item)=>{ |
| | | item.supplierName=item.supplier.name |
| | | }) |
| | | this.tableList = { |
| | | tableInfomation: this.detailConfig.productListInfo?this.detailConfig.productListInfo:[], |
| | | selectIndex: true, |
| | |
| | | }, |
| | | // 下载合同附件 |
| | | downLoadFiles(){ |
| | | let url = "/api/downloadContract?id=" + this.commonDetail.infomation.fileId |
| | | download(url, "", "") |
| | | if(this.detailConfig.infomation.contract.fileName){ |
| | | let url = "/api-srm/downloadContract?id=" + this.commonDetail.infomation.fileId |
| | | download(url, "", "") |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | font-size: 14px; |
| | | } |
| | | .basic-info-content { |
| | | margin-top: 10px; |
| | | background: #fff; |
| | | ul { |
| | | padding-inline-start: 0; |
| | |
| | | margin: 0; |
| | | } |
| | | } |
| | | .downFlie{ |
| | | color: blue !important; |
| | | cursor: pointer; |
| | | } |
| | | </style> |