|
@@ -282,13 +282,10 @@ export default {
|
|
const paper = this.papers.find(
|
|
const paper = this.papers.find(
|
|
(item) => item.paperNumber === this.modalForm.paperNumber
|
|
(item) => item.paperNumber === this.modalForm.paperNumber
|
|
);
|
|
);
|
|
- if (paper) this.paperTypes = paper.paperTypes;
|
|
|
|
|
|
+ if (paper) this.paperTypes = paper.paperTypes.map((item) => `${item}`);
|
|
},
|
|
},
|
|
visibleChange() {
|
|
visibleChange() {
|
|
this.modalForm = this.$objAssign(initModalForm, this.instance);
|
|
this.modalForm = this.$objAssign(initModalForm, this.instance);
|
|
- this.modalForm.relatePaperType = this.instance.relatePaperType
|
|
|
|
- ? this.instance.relatePaperType.split(",")
|
|
|
|
- : [];
|
|
|
|
|
|
|
|
this.getPapers();
|
|
this.getPapers();
|
|
// this.getPaperTypes();
|
|
// this.getPaperTypes();
|
|
@@ -310,7 +307,7 @@ export default {
|
|
const paper = this.papers.find(
|
|
const paper = this.papers.find(
|
|
(item) => item.paperNumber === this.modalForm.paperNumber
|
|
(item) => item.paperNumber === this.modalForm.paperNumber
|
|
);
|
|
);
|
|
- if (paper) this.paperTypes = paper.paperTypes;
|
|
|
|
|
|
+ if (paper) this.paperTypes = paper.paperTypes.map((item) => `${item}`);
|
|
},
|
|
},
|
|
async toViewAttachment(attachment) {
|
|
async toViewAttachment(attachment) {
|
|
if (!attachment.jpgAttachmentId) {
|
|
if (!attachment.jpgAttachmentId) {
|