|
@@ -96,7 +96,7 @@
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="8" class="noprint">
|
|
|
- <a-button type="primary" @click="openEnclosure" disabled>附件</a-button>
|
|
|
+ <a-button type="primary" @click="openEnclosure" >附件</a-button>
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="8" class="noprint">
|
|
|
<a-upload productName="file" :showUploadList="true" :file-list="fileList" :headers="tokenHeader" :multiple="false" :action="importExcelUrl" @change="handleImportExcel" :data="{code:this.planNO,name:this.fileName}" :beforeUpload="uploadFlie" :remove="removeFile">
|
|
@@ -1272,6 +1272,19 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ openEnclosure(){
|
|
|
+ this.$refs.attachmentDisplay.AttachmentModVis = true
|
|
|
+ var attachList = [];
|
|
|
+ if (this.fabricLoss != null && this.fabricLoss.accessorItemList != null){
|
|
|
+ this.fabricLoss.accessorItemList.forEach(e=>{
|
|
|
+ var attach = {};
|
|
|
+ attach.name = e.filename;
|
|
|
+ attach.src=e.fileurl;
|
|
|
+ attachList.push(attach);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.$refs.attachmentDisplay.attachmentData = attachList;
|
|
|
},
|
|
|
// 开票成本成衣-弹框
|
|
|
clInvoiceQuantityCustomCell(record) {
|