|
|
@ -1,8 +1,8 @@ |
|
|
|
<template> |
|
|
|
<div class="app-container"> |
|
|
|
<div> |
|
|
|
<div v-show="relState == '1'"> |
|
|
|
<div class="tab-header webtop"> |
|
|
|
<div v-else>【修改】销售订车单</div> |
|
|
|
<div>销售订车单</div> |
|
|
|
<div> |
|
|
|
<el-button type="primary" size="small" :disabled="FormLoading" @click="handleCreate()">保存</el-button> |
|
|
|
<el-button :disabled="this.nodeState == '待提交' ? false : this.nodeState == '' ? false : true" size="small" |
|
|
@ -342,11 +342,13 @@ |
|
|
|
:action="uploadAction" |
|
|
|
:data="requestData" |
|
|
|
:headers="accessToken" |
|
|
|
:accept="filType" |
|
|
|
:multiple="false" |
|
|
|
:on-success="uploadSuccessHetong" |
|
|
|
:show-file-list="false" |
|
|
|
:limit="1" |
|
|
|
:file-list="fileList" |
|
|
|
class="upload-demo" |
|
|
|
> |
|
|
|
><!--:show-file-list="false"--> |
|
|
|
<el-button size="small" type="primary">合同上传</el-button> |
|
|
|
</el-upload> |
|
|
|
</el-form-item> |
|
|
@ -521,7 +523,9 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="baoxianInput"> |
|
|
|
<el-form-item> |
|
|
|
<el-input v-model="temp.busSalesOrderInsurance.insuranceNum" class="addinputw" clearable |
|
|
|
<el-input v-model="temp.busSalesOrderInsurance.insuranceNum" |
|
|
|
oninput="temp.busSalesOrderInsurance.insuranceNum=temp.busSalesOrderInsurance.insuranceNum.replace(/[^\d]/g,'')" |
|
|
|
class="addinputw" clearable |
|
|
|
placeholder="请输入公司入保期数"/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
@ -644,6 +648,7 @@ |
|
|
|
:data="requestData" |
|
|
|
:headers="accessToken" |
|
|
|
:multiple="false" |
|
|
|
:accept="filType" |
|
|
|
:on-success="uploadSuccessKuanxiang" |
|
|
|
:show-file-list="false" |
|
|
|
class="upload-demo" |
|
|
@ -850,17 +855,17 @@ import xunidingdanguanli from "@/views/xiaoshouguanli/xiaoshoudingdan/relation/x |
|
|
|
import xiaoshoudingdanSubmit from "@/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdanSubmit"; |
|
|
|
import {breakTask} from "@/api/flow/orderSalesTodo"; |
|
|
|
|
|
|
|
export default { |
|
|
|
name: "xiaoshoudingdanFlowEdit", |
|
|
|
components: { |
|
|
|
Pagination, |
|
|
|
pageye, |
|
|
|
xuanzekehu, |
|
|
|
xuanzekehuAdd, |
|
|
|
yixiangchexingxuanze, |
|
|
|
xunidingdanxuanze, |
|
|
|
modellibrary, |
|
|
|
xiaoshouzhengce, |
|
|
|
export default { |
|
|
|
name: "xiaoshoudingdanFlowEdit", |
|
|
|
components: { |
|
|
|
Pagination, |
|
|
|
pageye, |
|
|
|
xuanzekehu, |
|
|
|
xuanzekehuAdd, |
|
|
|
yixiangchexingxuanze, |
|
|
|
xunidingdanxuanze, |
|
|
|
modellibrary, |
|
|
|
xiaoshouzhengce, |
|
|
|
xunidingdanguanli, |
|
|
|
xiaoshoudingdanSubmit, |
|
|
|
vehiclelibraryconfiguration |
|
|
@ -881,6 +886,8 @@ import {breakTask} from "@/api/flow/orderSalesTodo"; |
|
|
|
dialogStatus: 'add', |
|
|
|
index: 0, |
|
|
|
// Start 上传附件 |
|
|
|
filType:'.pdf,.docx', |
|
|
|
fileList:[], |
|
|
|
userName: sessionStorage.getItem('name'), |
|
|
|
// 请求头部 |
|
|
|
accessToken: { |
|
|
@ -1101,7 +1108,7 @@ import {breakTask} from "@/api/flow/orderSalesTodo"; |
|
|
|
var b = window.location.href.indexOf('#data') // 第一个#data出现的位置 |
|
|
|
const info = window.location.href.slice(a, b) |
|
|
|
var sid = info.substr(info.indexOf('=') + 1) |
|
|
|
this.showInfo(sid) |
|
|
|
this.showEdit(sid) |
|
|
|
// ===获取参数 |
|
|
|
var one = window.location.href.lastIndexOf('#') + 1 |
|
|
|
var two = window.location.href.lastIndexOf('}') + 1 |
|
|
@ -1772,8 +1779,8 @@ import {breakTask} from "@/api/flow/orderSalesTodo"; |
|
|
|
}, |
|
|
|
// 返回 |
|
|
|
handleReturn(isreload) { |
|
|
|
if (isreload === 'true') this.$emit('reloadlist') |
|
|
|
this.relState = '' |
|
|
|
if (isreload === 'true') this.FormLoading = true |
|
|
|
this.relState = '1' |
|
|
|
this.isXuanzeShow = '' |
|
|
|
this.temp = { |
|
|
|
affiliatedCompany: '', //挂靠公司名称 |
|
|
@ -1851,7 +1858,6 @@ import {breakTask} from "@/api/flow/orderSalesTodo"; |
|
|
|
this.checkedGua = false |
|
|
|
this.checkedBaoxian = false |
|
|
|
this.$refs['dataForm'].resetFields() |
|
|
|
this.$emit('doback') |
|
|
|
}, |
|
|
|
|
|
|
|
// ----------------功能打开下一级页面开始---------------- |
|
|
|