13404089107
2025-05-12 e5f9577a73289f4ff1df38d8a86403cabf449b5c
src/view/addOrder.vue
@@ -29,7 +29,8 @@
                      </div>
                      <div class="box_text2">Container No.</div>
                    </div>
                    <el-input :disabled="type != 'add'" v-model="form.container" maxlength="15" placeholder="请输入"></el-input>
                    <el-input :disabled="type != 'add'" v-model="form.container" maxlength="15"
                      placeholder="请输入"></el-input>
                  </div>
                </el-form-item>
              </div>
@@ -590,7 +591,8 @@
                  </div>
                  <div class="box_text2">Remarks</div>
                </div>
                <el-input type="textarea" :rows="4"  v-model="form.customerRemark" readonly style="margin-right: 135px;"></el-input>
              <el-input type="textarea" :rows="4" v-model="form.customerRemark" readonly
                style="margin-right: 135px;"></el-input>
              </div>
          </div>
        </el-card>
@@ -628,6 +630,14 @@
                  :on-remove="handleRemove4" :http-request="handleUpload4" action="#" :on-exceed="handleExceed"
                  :file-list="fileList4">
                  <div class="upload_btn">+上传附件</div>
              </el-upload>
            </el-form-item>
            <el-form-item label="发票附件:" v-if="form.EmailFileUrls && form.EmailFileUrls.length" :limit="1" class="w-316"
              prop="otherFileUrls" label-width="88px">
              <el-upload :disabled="type == 'detail'" class="upload-demo" :on-preview="handlePreview"
                :on-remove="handleRemove4" :http-request="handleUpload6" action="#" :on-exceed="handleExceed"
                :file-list="fileList6">
                <!-- <div class="upload_btn">+上传附件</div> -->
                </el-upload>
              </el-form-item>
              <el-form-item v-if="form.SOC === '是'" label="EIR:" class="w-316" prop="EIRFileUrls" label-width="88px">
@@ -711,7 +721,9 @@
        otherFileUrls: [],//其他附件
        specialRequest: '',//特殊要求
        remark: '',//备注
        EmailFileUrls: [],
      },
      fileList6: [], //发票附件
      orderId: '',
      editorOption: {
        modules: {
@@ -931,6 +943,12 @@
          })
          this.originalFiles.otherFileUrls = [...resp.data.otherFileUrls]
        }
        if (resp.data.EmailFileUrls) {
          resp.data.EmailFileUrls.map(item => {
            this.fileList6.push({ url: item.url, name: item.url.split('ownload/')[1] })
          })
        }
        if (resp.data.EIRFileUrls) {
          resp.data.EIRFileUrls.map(item => {
            this.fileList5.push({ url: item.url, name: item.url.split('ownload/')[1] })