jiangping
2025-06-09 663dbe4ddca1fa409e6acbc1f77d924c161b0c39
company/src/components/business/OperaApplyChangeCheckWindow.vue
@@ -122,7 +122,7 @@
                <div class="form_item">
                    <div class="form_item_label"><span>*</span>上传批单:</div>
                    <div class="form_item_val">
                      <UploadFile :uploadData="{ folder: 'apply',fileType:'.pdf' }" :fileList="form.fileList2" @uploadSuccess="editBaoxianFileUploaded" />
                      <UploadFile :limit="99" :uploadData="{ folder: 'apply',fileType:'.pdf' }" @remove="removeEditPiDan" :fileList="form.fileList2" @uploadSuccess="editBaoxianFileUploaded" />
                    </div>
                </div>
                <div class="form_item">
@@ -186,7 +186,7 @@
        delValidTime: null,
        validCode: null,
        pidanFile: [],
        editPidanFile: null,
        editPidanFile: [],
        fileList1: [],
        fileList2: [],
        selectRadio: 0
@@ -218,7 +218,7 @@
        applyStartTime: null,
        validCode: null,
        pidanFile: [],
        editPidanFile: null,
        editPidanFile: [],
        fileList1: [],
        fileList2: [],
        selectRadio: 0
@@ -323,7 +323,14 @@
      })
    },
    editBaoxianFileUploaded (data) {
      this.form.editPidanFile = data
      this.form.editPidanFile.push(data)
    },
    removeEditPiDan(e) {
        this.form.editPidanFile.forEach((item, index) => {
            if (e === item.imgaddr) {
                this.form.editPidanFile.splice(index, 1)
            }
        })
    },
    backDo () {
      this.$dialog.messageConfirm('确认进行该操作吗?')
@@ -374,7 +381,7 @@
      this.$dialog.messageConfirm('确认进行该操作吗?')
        .then(() => {
          this.isWorking = true
          editChangePidan({ id: this.model.id, checkInfo: this.form.editCheckInfo, validCode: this.form.editValidCode, pidanFile: this.form.editPidanFile })
          editChangePidan({ id: this.model.id, checkInfo: this.form.editCheckInfo, validCode: this.form.editValidCode, pidanFileList: this.form.editPidanFile })
            .then(response => {
              this.visible = false
              this.$emit('success')