123
gongjinbao
2025-01-09 04ea53d964452a04c4f2cd608ea3afc5195909ff
123
3个文件已修改
331 ■■■■ 已修改文件
src/view/Home.vue 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/addOrder.vue 305 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/addservier.js 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/view/Home.vue
@@ -12,7 +12,7 @@
                <div class="title-right">
                    <span @click="noticeShow = true" class="order-agress">下单须知</span>
                    <div class="line"></div>
                    <span class="add-ord">添加订单</span>
                    <span class="add-ord" @click="$router.push('/addOrder')">添加订单</span>
                </div>
            </div>
            <div class="search-form">
@@ -85,9 +85,9 @@
                </el-table-column>
                <el-table-column prop="option" label="操作" align="center">
                    <template slot-scope="scope">
                        <el-button type="text" class="table-btn" @click="handleClick(scope.row)">查看详情</el-button><span
                        <el-button type="text" class="table-btn" @click="handleClick(scope.row,'detail')">查看详情</el-button><span
                            class="line-set">|</span>
                        <el-button type="text" class="table-btn" @click="handleClick(scope.row)">编辑</el-button>
                        <el-button type="text" class="table-btn" @click="handleClick(scope.row,'edit')">编辑</el-button>
                    </template>
                </el-table-column>
            </el-table>
@@ -127,6 +127,7 @@
                address: '',
                DO: '',
                status: '',
                extra: JSON.parse(localStorage.getItem('userInfo')).extra
            },
            options: [
                {
@@ -192,8 +193,17 @@
        this.getLists()
    },
    methods: {
        handleClick(e,type){
            this.$router.push({
                path: '/addOrder',
                query: {
                    orderId: e.orderId,
                    type: type
                },
            })
        },
        getLists() {
            getList({ ...this.searchForm }).then(res => {
            getList({ ...this.searchForm, }).then(res => {
                this.tableData = res.data
            })
        },
src/view/addOrder.vue
@@ -5,7 +5,7 @@
      <el-card class="">
        <div slot="header" class="clearfix">
          <span class="clearfix_text">添加订单</span>
          <img class="clearfix_img" src="@/assets/addOrder/img2x.png" alt="" />
          <img class="clearfix_img" src="@/assets/addOrder/img2x.png" @click="$router.go(-1)" alt="" />
        </div>
        <div class="box-cards">
          <div class="flex tab"  v-if="type=='detail'">
@@ -28,7 +28,7 @@
                    </div>
                    <div class="box_text2">Contain#</div>
                  </div>
                  <el-input v-model="form.container" placeholder="请输入"></el-input>
                  <el-input :disabled="type == 'detail'" v-model="form.container" placeholder="请输入"></el-input>
                </div>
              </el-form-item>
@@ -41,7 +41,7 @@
                    </div>
                    <div class="box_text2">BOLI#</div>
                  </div>
                  <el-input v-model="form.bol" placeholder="请输入"></el-input>
                  <el-input :disabled="type == 'detail'" v-model="form.bol" placeholder="请输入"></el-input>
                </div>
              </el-form-item>
@@ -54,7 +54,8 @@
                    </div>
                    <div class="box_text2">Cargo Type</div>
                  </div>
                  <el-select v-model="form.cargoType" clearable placeholder="请选择" prop="type">
                  <el-select :disabled="type == 'detail'" v-model="form.cargoType" clearable placeholder="请选择"
                    prop="type">
                    <el-option :label="item.label" :value="item.value" v-for="item in options"
                      :key="item.value"></el-option>
                  </el-select>
@@ -71,7 +72,7 @@
                    </div>
                    <div class="box_text2">Carrier</div>
                  </div>
                  <el-select v-model="form.carrier" clearable placeholder="请选择">
                  <el-select :disabled="type == 'detail'" v-model="form.carrier" clearable placeholder="请选择">
                    <el-option :label="item.label" :value="item.value" v-for="item in optionsSc"
                      :key="item.value"></el-option>
                  </el-select>
@@ -87,7 +88,7 @@
                    </div>
                    <div class="box_text2">Vessel & Voyage</div>
                  </div>
                  <el-input v-model="form.vesselAndVoyage" placeholder="请输入"></el-input>
                  <el-input :disabled="type == 'detail'" v-model="form.vesselAndVoyage" placeholder="请输入"></el-input>
                </div>
              </el-form-item>
              <el-form-item label="" class="label3" prop="pickupLocation" label-width="0px">
@@ -99,7 +100,7 @@
                    </div>
                    <div class="box_text2">Pickup Location</div>
                  </div>
                  <el-select v-model="form.pickupLocation" clearable placeholder="请选择">
                  <el-select :disabled="type == 'detail'" v-model="form.pickupLocation" clearable placeholder="请选择">
                    <el-option :label="item.label" :value="item.value" v-for="item in optionsPL"
                      :key="item.value"></el-option>
                  </el-select>
@@ -114,8 +115,8 @@
                    </div>
                    <div class="box_text2">ETA</div>
                  </div>
                  <el-date-picker type="datetime" suffix-icon="el-icon-date" placeholder="选择日期" v-model="form.ETA"
                    style="width: 100%">
                  <el-date-picker :disabled="type == 'detail'" type="datetime" suffix-icon="el-icon-date"
                    placeholder="选择日期" v-model="form.ETA" style="width: 100%">
                    <div></div>
                  </el-date-picker>
                </div>
@@ -130,7 +131,7 @@
                      <div class="box_text1">SOC:</div>
                    </div>
                  </div>
                  <el-radio-group text-color="#014099" fill="#014099" v-model="form.SOC">
                  <el-radio-group :disabled="type == 'detail'" text-color="#014099" fill="#014099" v-model="form.SOC">
                    <el-radio label="是"></el-radio>
                    <el-radio label="否"></el-radio>
                  </el-radio-group>
@@ -144,7 +145,7 @@
                      <div class="box_text1">DG:</div>
                    </div>
                  </div>
                  <el-radio-group text-color="#014099" fill="#014099" v-model="form.DG">
                  <el-radio-group :disabled="type == 'detail'" text-color="#014099" fill="#014099" v-model="form.DG">
                    <el-radio label="是"></el-radio>
                    <el-radio label="否"></el-radio>
                  </el-radio-group>
@@ -159,7 +160,8 @@
                    </div>
                    <div class="box_text1 mr-14">Over Weight</div>
                  </div>
                  <el-radio-group text-color="#014099" fill="#014099" v-model="form.overweight">
                  <el-radio-group :disabled="type == 'detail'" text-color="#014099" fill="#014099"
                    v-model="form.overweight">
                    <el-radio label="是"></el-radio>
                    <el-radio label="否"></el-radio>
                  </el-radio-group>
@@ -174,7 +176,8 @@
                    </div>
                    <div class="box_text1">Customs Inspection</div>
                  </div>
                  <el-radio-group text-color="#014099" fill="#014099" v-model="form.customsInspection">
                  <el-radio-group :disabled="type == 'detail'" text-color="#014099" fill="#014099"
                    v-model="form.customsInspection">
                    <el-radio label="是"></el-radio>
                    <el-radio label="否"></el-radio>
                  </el-radio-group>
@@ -189,7 +192,8 @@
                      <div class="box_text1">DROP/LIVE:</div>
                    </div>
                  </div>
                  <el-radio-group text-color="#014099" fill="#014099" v-model="form.dropOrLive">
                  <el-radio-group :disabled="type == 'detail'" text-color="#014099" fill="#014099"
                    v-model="form.dropOrLive">
                    <el-radio label="Drop"></el-radio>
                    <el-radio label="Live"></el-radio>
                  </el-radio-group>
@@ -224,7 +228,7 @@
                    </div>
                    <div class="box_text2">Clinet Order#</div>
                  </div>
                  <el-input v-model="form.clientOrder" placeholder="请输入"></el-input>
                  <el-input :disabled="type == 'detail'" v-model="form.clientOrder" placeholder="请输入"></el-input>
                </div>
              </el-form-item>
@@ -237,7 +241,7 @@
                    </div>
                    <div class="box_text2">Product</div>
                  </div>
                  <el-input v-model="form.product" placeholder="请输入"></el-input>
                  <el-input :disabled="type == 'detail'" v-model="form.product" placeholder="请输入"></el-input>
                </div>
              </el-form-item>
@@ -250,7 +254,7 @@
                    </div>
                    <div class="box_text2">QTY</div>
                  </div>
                  <el-input v-model="form.QTY" placeholder="请输入"></el-input>
                  <el-input :disabled="type == 'detail'" v-model="form.QTY" placeholder="请输入"></el-input>
                </div>
              </el-form-item>
              <el-form-item label="" class="label4" prop="QTYUnit" label-width="0">
@@ -262,7 +266,7 @@
                    </div>
                    <div class="box_text2">QTY Unit</div>
                  </div>
                  <el-select v-model="form.QTYUnit" clearable placeholder="请选择">
                  <el-select :disabled="type == 'detail'" v-model="form.QTYUnit" clearable placeholder="请选择">
                    <el-option :label="item.label" :value="item.value" v-for="item in optionsUs"
                      :key="item.value"></el-option>
                  </el-select>
@@ -279,7 +283,7 @@
                    </div>
                    <div class="box_text2">Weight</div>
                  </div>
                  <el-input v-model="form.weight" @input="onInput" placeholder="请输入">
                  <el-input :disabled="type == 'detail'" v-model="form.weight" @input="onInput" placeholder="请输入">
                    <div style="line-height: 50px;" slot="prefix-icon">KG</div>
                  </el-input>
                </div>
@@ -308,7 +312,7 @@
                    </div>
                    <div class="box_text2">Voume</div>
                  </div>
                  <el-input v-model="form.volume" placeholder="请输入">
                  <el-input :disabled="type == 'detail'" v-model="form.volume" placeholder="请输入">
                    <div style="line-height: 50px;" slot="suffix">CMB</div>
                  </el-input>
                </div>
@@ -337,7 +341,7 @@
                      </div>
                      <div class="box_text2">Contact</div>
                    </div>
                    <el-input v-model="form.contact" placeholder="请输入"></el-input>
                    <el-input :disabled="type == 'detail'" v-model="form.contact" placeholder="请输入"></el-input>
                  </div>
                </el-form-item>
@@ -350,7 +354,7 @@
                      </div>
                      <div class="box_text2">Consignee-Company</div>
                    </div>
                    <el-input v-model="form.consigneeCompany" placeholder="请输入"></el-input>
                    <el-input :disabled="type == 'detail'" v-model="form.consigneeCompany" placeholder="请输入"></el-input>
                  </div>
                </el-form-item>
@@ -364,7 +368,7 @@
                      <div class="box_text2">Post</div>
                    </div>
                    <el-input v-model="form.post" placeholder="请输入"></el-input>
                    <el-input :disabled="type == 'detail'" v-model="form.post" placeholder="请输入"></el-input>
                  </div>
                </el-form-item>
@@ -377,7 +381,7 @@
                      </div>
                      <div class="box_text2">Address</div>
                    </div>
                    <el-input v-model="form.address" placeholder="请输入"></el-input>
                    <el-input :disabled="type == 'detail'" v-model="form.address" placeholder="请输入"></el-input>
                  </div>
                </el-form-item>
              </div>
@@ -393,7 +397,7 @@
                        </div>
                        <div class="box_text2">Tel</div>
                      </div>
                      <el-input v-model="form.tel" placeholder="请输入"></el-input>
                      <el-input :disabled="type == 'detail'" v-model="form.tel" placeholder="请输入"></el-input>
                    </div>
                  </el-form-item>
@@ -412,7 +416,7 @@
                        </div>
                        <div class="box_text2">Email</div>
                      </div>
                      <el-input v-model="form.email" placeholder="请输入"></el-input>
                      <el-input :disabled="type == 'detail'" v-model="form.email" placeholder="请输入"></el-input>
                    </div>
                  </el-form-item>
                  <div class="tip">
@@ -433,8 +437,9 @@
                </div>
                <div class="box_text3">Other Information</div>
              </div>
              <quill-editor class="editor" v-model="form.specialRequest" ref="myQuillEditor" :options="editorOption"
                @blur="onEditorBlur($event)" @focus="onEditorFocus($event)" @change="onEditorChange($event)">
              <quill-editor :disabled="type == 'detail'" class="editor" v-model="form.specialRequest"
                ref="myQuillEditor" :options="editorOption" @blur="onEditorBlur($event)" @focus="onEditorFocus($event)"
                @change="onEditorChange($event)">
              </quill-editor>
            </div>
@@ -447,8 +452,9 @@
              </div>
              <div class="box_text3">Remark</div>
            </div>
            <quill-editor class="editor" v-model="form.remark" ref="myQuillEditor" :options="editorOption"
              @blur="onEditorBlur($event)" @focus="onEditorFocus($event)" @change="onEditorChange($event)">
            <quill-editor :disabled="type == 'detail'" class="editor" v-model="form.remark" ref="myQuillEditor"
              :options="editorOption" @blur="onEditorBlur($event)" @focus="onEditorFocus($event)"
              @change="onEditorChange($event)">
            </quill-editor>
          </div>
@@ -464,31 +470,35 @@
            <div class="flex">
              <el-form-item label="Do:" class="w-316" prop="DOFileUrl" label-width="88px">
                <el-upload class="upload-demo" :on-preview="handlePreview" :http-request="handleUpload1" action="#"
                  :on-remove="handleRemove1" :on-exceed="handleExceed" :file-list="fileList1">
                <el-upload :disabled="type == 'detail'" class="upload-demo" :on-preview="handlePreview"
                  :http-request="handleUpload1" action="#" :on-remove="handleRemove1" :on-exceed="handleExceed"
                  :file-list="fileList1">
                  <div class="upload_btn" v-if="form.DOFileUrl == ''">+上传附件</div>
                </el-upload>
              </el-form-item>
              <el-form-item label="PU#:" class="w-316" prop="PUFileUrl" label-width="88px">
                <el-upload class="upload-demo" :on-preview="handlePreview" :on-remove="handleRemove2"
                  :http-request="handleUpload2" action="#" :on-exceed="handleExceed" :file-list="fileList2">
                <el-upload :disabled="type == 'detail'" class="upload-demo" :on-preview="handlePreview"
                  :on-remove="handleRemove2" :http-request="handleUpload2" action="#" :on-exceed="handleExceed"
                  :file-list="fileList2">
                  <div class="upload_btn" v-if="form.PUFileUrl == ''">+上传附件</div>
                </el-upload>
              </el-form-item>
              <el-form-item label="PU说明:" class="" prop="PUExplain" label-width="80px">
                <el-input v-model="form.PUExplain" placeholder="请输入"></el-input>
                <el-input :disabled="type == 'detail'" v-model="form.PUExplain" placeholder="请输入"></el-input>
              </el-form-item>
            </div>
            <div class="flex">
              <el-form-item label="POD:" class=" w-316" prop="PODFileUrls" label-width="88px">
                <el-upload class="upload-demo" :on-preview="handlePreview" :on-remove="handleRemove3"
                  :http-request="handleUpload3" action="#" :on-exceed="handleExceed" :file-list="fileList3">
                <el-upload :disabled="type == 'detail'" class="upload-demo" :on-preview="handlePreview"
                  :on-remove="handleRemove3" :http-request="handleUpload3" action="#" :on-exceed="handleExceed"
                  :file-list="fileList3">
                  <div class="upload_btn" v-if="form.PODFileUrl == ''">+上传附件</div>
                </el-upload>
              </el-form-item>
              <el-form-item label="其他附件:" class="w-316" prop="otherFileUrls" label-width="88px">
                <el-upload class="upload-demo" :on-preview="handlePreview" :on-remove="handleRemove4"
                  :http-request="handleUpload4" action="#" :on-exceed="handleExceed" :file-list="fileList4">
                <el-upload :disabled="type == 'detail'" class="upload-demo" :on-preview="handlePreview"
                  :on-remove="handleRemove4" :http-request="handleUpload4" action="#" :on-exceed="handleExceed"
                  :file-list="fileList4">
                  <div class="upload_btn" v-if="form.otherFileUrl == ''">+上传附件</div>
                </el-upload>
              </el-form-item>
@@ -509,7 +519,7 @@
</template>
<script>
import { addOrder, getaddress } from './addservier'
import { addOrder, getaddress, edit, getDetail } from './addservier'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
@@ -555,6 +565,7 @@
        post: "", //目的地邮编
        address: "", //地址
        tel: "", //联系电话
        QTYUnit: '',//单位
        email: "", //邮箱
        PUExplain: '',//PU说明
        PUFileUrl: '',//PU附件
@@ -564,6 +575,7 @@
        specialRequest: '',//特殊要求
        remark: '',//备注
      },
      orderId: '',
      editorOption: {
        modules: {
          toolbar: [
@@ -586,22 +598,7 @@
      },
      // 导入参数
      upload: {
        data: {},
        // 是否显示弹出层
        open: false,
        // 弹出层标题
        title: "",
        // 是否禁用上传
        isUploading: false,
        // 是否更新已经存在的数据
        updateSupport: 0,
        // 设置上传的请求头部
        // headers: { Authorization: "Bearer " + getToken() },
        // 上传的地址
        url: 'http://47.108.239.173:2020' + "/api/oss/new_temp_upload"
      },
      fileList1: [],
      fileList2: [],
      fileList3: [],
@@ -730,6 +727,39 @@
    };
  },
  created() {
    this.orderId = this.$route.query.orderId
    this.type = this.$route.query.type ? this.$route.query.type : 'add'
    if (this.orderId) {
      getDetail({
        orderId: this.orderId
      }).then(resp => {
        this.form = resp.data
        this.form.DOFileUrl = resp.data.DOFileUrl ? resp.data.DOFileUrl : ''
        this.form.PUFileUrl = resp.data.PUFileUrl ? resp.data.PUFileUrl : ''
        this.form.PODFileUrl = resp.data.PODFileUrl ? resp.data.PODFileUrl : ''
        this.form.otherFileUrl = resp.data.otherFileUrl ? resp.data.otherFileUrl : ''
        if (resp.data.DOFileUrl) {
          this.fileList1.push({ url: resp.data.DOFileUrl, name: resp.data.DOFileUrl.split('ownload/')[1] })
        }
        if (resp.data.PUFileUrl) {
          this.fileList2.push({ url: resp.data.PUFileUrl, name: resp.data.PUFileUrl.split('ownload/')[1] })
        }
        if (resp.data.PODFileUrl) {
          this.fileList3.push({ url: resp.data.PODFileUrl, name: resp.data.PODFileUrl.split('ownload/')[1] })
        }
        if (resp.data.otherFileUrl) {
          this.fileList4.push({ url: resp.data.otherFileUrl, name: resp.data.otherFileUrl.split('ownload/')[1] })
        }
      })
    }
    getaddress({
      extra: JSON.parse(localStorage.getItem('userInfo')).extra
    }).then(resp => {
@@ -789,6 +819,7 @@
          } else {
            // 添加订单
            if (this.type === 'add') {
            addOrder({
              ...this.form,
              extra: JSON.parse(localStorage.getItem('userInfo')).extra
@@ -833,10 +864,64 @@
                this.fileList2=[]
                this.fileList3=[]
                this.fileList4=[]
                  this.$router.go(-1)
                 
              }
            })
            } else {
              edit({
                ...this.form,
                extra: JSON.parse(localStorage.getItem('userInfo')).extra,
                orderId: this.orderId
              }).then(resp => {
                if (resp.data.status === 'SUCCESS') {
                  this.$message.success('编辑成功');
                  this.form = {
                    container: "", //集装箱号
                    bol: "", //提单号
                    cargoType: "", //货柜类型
                    carrier: "", //船司
                    vesselAndVoyage: "", //航名航次
                    pickupLocation: "", //提柜地
                    ETA: "", //预计到达日期
                    SOC: "", //SOC
                    DG: "", //DG
                    overweight: "", //超重
                    customsInspection: "", //查验
                    dropOrLive: "", //DROP/LIVE
                    clientOrder: "", //客户订单号
                    product: "", //品名
                    QTY: "", //包装数量
                    weight: "", //重量
                    poundWeight: "", //≈重量(磅)
                    volume: "", //体积
                    contact: "", //收件人
                    consigneeCompany: "", //收件人公司
                    post: "", //目的地邮编
                    address: "", //地址
                    tel: "", //联系电话
                    email: "", //邮箱
                    PUExplain: '',//PU说明
                    PUFileUrl: '',//PU附件
                    DOFileUrl: '',//DO附件
                    PODFileUrl: '',//POD附件
                    otherFileUrl: '',//其他附件
                    specialRequest: '',//特殊要求
                    remark: '',//备注
                  }
                  this.fileList1 = []
                  this.fileList2 = []
                  this.fileList3 = []
                  this.fileList4 = []
                  this.$router.go(-1)
                }
              })
            }
          }
        } else {
@@ -856,45 +941,105 @@
    },
    handleRemove2(e) {
      console.log(e, 'e');
      this.form.DOFileUrl = '';
      this.form.PUFileUrl = '';
    },
    handleRemove3(e) {
      console.log(e, 'e');
      this.form.DOFileUrl = '';
      this.form.PODFileUrl = '';
    },
    handleRemove4(e) {
      console.log(e, 'e');
      this.form.DOFileUrl = '';
      this.form.otherFileUrl = '';
    },
    handleExceed(e) {
      console.log(e, 'e');
    },
    async toArrayBuffer(file) {
      return new Promise((resolve, reject) => {
        // 读取文件
        const fileReader = new FileReader();
        setTimeout(() => {
          fileReader.readAsArrayBuffer(file);
        });
        fileReader.onerror = (e) => {
          reject(e);
        };
        // 读取完成
        // fileReader.onload = (e) => {
        //   resolve(e.target?.result);
        // };
      });
    },
    async upFileAsArrayBuffer(
      url,
      file,
      options,
    ){
      // 读取文件
      const arrayBuffer = await this.toArrayBuffer(file);
      // 上传文件
      return axios({
        url,
        method: options?.method || 'POST',
        withCredentials: Boolean(options?.withCredentials),
        // 二进制数据
        data: arrayBuffer,
        // 请求头
        headers: {
          'Content-Type': 'application/octet-stream',
          'file-name': encodeURIComponent(options?.fileName || file.name),
        },
        // 上传进度
        onUploadProgress: ({ total, loaded }) => {
          const onProgress = options?.onProgress;
          if (!isFunction(onProgress)) return;
          onProgress({
            percent: Math.ceil((loaded / total) * 100),
          });
        },
      });
    },
    uploadFile(e, obj, value) {
      axios.post('http://47.108.239.173:2020/api/oss/new_temp_upload', obj).then(res => {
        if (res.status == 200) {
          const fileName = new FormData();
          fileName.append('file', e.file);
          axios.post('http://47.108.239.173:2020/api/oss/upload_file', fileName, {
            headers: {
              'File-Name': res.data.data
            }
          }).then(resp => {
            console.log(resp, value, 'asdasdasdasdas');
            if (resp.data.status === 0) {
              if (value == 1) {
                this.form.DOFileUrl = 'http://47.108.239.173:2020/api/oss/download/' + res.data.data
              } else if (value == 2) {
                this.form.PUFileUrl = 'http://47.108.239.173:2020/api/oss/download/' + res.data.data
              } else if (value == 3) {
                this.form.PODFileUrl = 'http://47.108.239.173:2020/api/oss/download/' + res.data.data
              } else {
                this.form.otherFileUrl = 'http://47.108.239.173:2020/api/oss/download/' + res.data.data
              }
            }
          this.upFileAsArrayBuffer('http://47.108.239.173:2020/api/oss/upload_file', e.file).then(resp=>{
            console.log(resp,'asdasdsad');
          })
          // axios.post('http://47.108.239.173:2020/api/oss/upload_file', fileName, {
          //   headers: {
          //     'File-Name': res.data.data
          //   }
          // }).then(resp => {
          //   console.log(resp, value, 'asdasdasdasdas');
          //   if (resp.data.status === 0) {
          //     if (value == 1) {
          //       this.form.DOFileUrl = 'http://47.108.239.173:2020/api/oss/download/' + res.data.data
          //       console.log(this.fileList1, 'this.fileList1');
          //     } else if (value == 2) {
          //       this.form.PUFileUrl = 'http://47.108.239.173:2020/api/oss/download/' + res.data.data
          //       console.log(this.form.PUFileUrl, 'this.form.PUFileUrl');
          //     } else if (value == 3) {
          //       this.form.PODFileUrl = 'http://47.108.239.173:2020/api/oss/download/' + res.data.data
          //     } else {
          //       this.form.otherFileUrl = 'http://47.108.239.173:2020/api/oss/download/' + res.data.data
          //     }
          //     this.$forceUpdate()
          //   }
          // })
        }
      })
    },
@@ -1050,6 +1195,8 @@
  ::v-deep .el-form-item__label {
    text-align: left !important;
    width: 88px !important;
    flex-shrink: 0;
  }
}
@@ -1272,11 +1419,13 @@
    left: 110px !important;
  }
}
.label7{
  ::v-deep .el-form-item__error {
    left: 205px !important;
  }
}
.label8{
  ::v-deep .el-form-item__error {
    left: 188px !important;
src/view/addservier.js
@@ -8,6 +8,14 @@
export const getaddress = (data) => {
    return axios.post("/zj0FFk5wx4S05X-zksJKOZX19c0XC-1", data);
  };
  //编辑
  export const edit = (data) => {
    return axios.post("/zj0FFk5wx4S05X-zlFb9zLFcA40XL-1", data);
  };
  export const getDetail = (data) => {
    return axios.post("/zj0FFk5wx4S05X-zksTNiUo9S40X7-1", data);
  };
export const uploader = (data) => {
    return axios.post("http://47.108.239.173:2020/api/oss/new_temp_upload", data);
  };