|
@@ -0,0 +1,978 @@
|
|
|
|
+<!--销售合同-->
|
|
|
|
+<!--2019年5月30日 20:25:16 by jlx-->
|
|
|
|
+<template>
|
|
|
|
+ <div class="container">
|
|
|
|
+ <el-row>
|
|
|
|
+ <el-col :span="12">
|
|
|
|
+ <h2 class="bg-left title">销售合同审核</h2>
|
|
|
|
+ </el-col>
|
|
|
|
+ <el-col :span="12" class="bg-right">
|
|
|
|
+ <el-button class="bg-bottom" type="primary" size="small" @click="returnsales()"><img width="6" height="10"
|
|
|
|
+ style="vertion-align: bottom; margin-right: 3px" src="../../../public/img/lujing.png" alt="" />返回
|
|
|
|
+ </el-button>
|
|
|
|
+ </el-col>
|
|
|
|
+ </el-row>
|
|
|
|
+ <div class="center">
|
|
|
|
+ <ws-form class="ws-form" ref="deptBudgetList" :rules="mainReportAdd" :model="deptBudgetList">
|
|
|
|
+ <div class="title-top">
|
|
|
|
+ 销售合同
|
|
|
|
+ <span class="title-number">【编号:{{ deptBudgetList.contractNo }}】</span>
|
|
|
|
+ <div class="icon" v-if="deptBudgetList.status">
|
|
|
|
+ <template>
|
|
|
|
+ <el-popover placement="right" :width="285" trigger="click" visible-arrow="false"
|
|
|
|
+ @show="history(deptBudgetList.id)">
|
|
|
|
+ <template>
|
|
|
|
+ <div slot="reference"> {{deptBudgetList.status }}</div>
|
|
|
|
+ </template>
|
|
|
|
+ <div>
|
|
|
|
+ <p style="margin-top: 0; padding-left: 10px">操作历史</p>
|
|
|
|
+ <div v-for="(item, index) in historyList" class="flex">
|
|
|
|
+ <div class="vertical-text vertical-text-left">
|
|
|
|
+ {{ item.updateDate }}
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <div class="vertical-circle"></div>
|
|
|
|
+ <div v-if="index != historyList.length - 1" class="vertical-line"></div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="vertical-text">
|
|
|
|
+ {{ item.operateUser }}<br />{{ item.dealMsg }}
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </el-popover>
|
|
|
|
+ </template>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="remark">
|
|
|
|
+ <h3>基本信息</h3>
|
|
|
|
+ </div>
|
|
|
|
+ <ws-info-table>
|
|
|
|
+ <ws-form-item label="合同类型" span="1" prop="agreementType">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.agreementType }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="合同编号" v-if="deptBudgetList.agreementType=='销售合同'" span="1" prop="contractNo">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractNo }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="交易主体" span="1" prop="transactionSubject" class="readonly">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{deptBudgetList.transactionSubject}}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item v-if="deptBudgetList.transactionSubject == '合营'" class="readonly" label="合营方" span="1" prop="seller">
|
|
|
|
+ <div class="unchanged">{{ deptBudgetList.jointVentureParties }}</div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item v-if="deptBudgetList.transactionSubject == '合营'" label="合营方电话" span="1" prop="jointPhone">
|
|
|
|
+ <div class="unchanged">{{deptBudgetList.jointPhone}}</div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="关联合同" v-if="deptBudgetList.agreementType=='补充协议'" span="1" prop="agreementNo">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.agreementNo }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="补充协议编号" v-if="deptBudgetList.agreementType=='补充协议'" span="1" prop="contractNo">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractNo }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="运输方式" span="1" prop="shippingType">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.shippingType }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="买方" span="1" prop="buyer">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.buyer }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="结算方式" span="1" prop="settlementMethod">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.settlementMethod }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="卖方" span="1" prop="seller">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.seller }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="交货方式" span="1" prop="deliverType">
|
|
|
|
+ <div v-if="deptBudgetList.deliverType==1" class="unchanged">
|
|
|
|
+ 我方送货
|
|
|
|
+ </div>
|
|
|
|
+ <div v-else class="unchanged">
|
|
|
|
+ 对方自提
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="买方电话" span="1" prop="buyerPhone">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.buyerPhone }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <!-- 收货反馈负责人 -->
|
|
|
|
+ <ws-form-item label="收货反馈负责人" span="1" prop="feedbackLeader" v-if="deptBudgetList.deliverType ==2">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.feedbackLeader }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="包装方式" span="1" prop="packingMethod">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.packingMethod }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="中转公司" span="1" prop="buyer" class="readonly">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{deptBudgetList.transitCompany}}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="卖方电话" span="1" prop="sellerPhone">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.sellerPhone }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <!-- 收货反馈负责人 -->
|
|
|
|
+ <ws-form-item label="收货反馈负责人" span="1" prop="feedbackLeader" v-if="deptBudgetList.deliverType == '对方自提'">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.feedbackLeader }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+
|
|
|
|
+ <ws-form-item label="验收方式" span="1" prop="acceptanceMethod">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.acceptanceMethod }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="重量(吨)" span="1" prop="weight">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.weight }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="交货日期(起)" span="1" prop="deliveryDateStart">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.deliveryDateStart }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="溢短装(%)" span="1" prop="overShort">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.overShort }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="交货日期(止)" span="1" prop="deliveryDateEnd">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.deliveryDateEnd }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="价格类型" span="1" prop="priceType">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.priceType }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="合同单价(元/吨)" span="1" prop="unitContractPrice" v-if="deptBudgetList.priceType == '定价销售'">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.unitContractPrice }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="合同总价(元)" span="1" prop="totalContractPrice" v-if="deptBudgetList.priceType == '定价销售'">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.totalContractPrice }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="签订日期" span="1" prop="signingDate" v-if="deptBudgetList.agreementType=='销售合同'">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.signingDate }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="货源所在地区" span="1">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.sourceProvince }}
|
|
|
|
+ {{ deptBudgetList.sourceCity }}
|
|
|
|
+ {{ deptBudgetList.sourceArea }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+
|
|
|
|
+ <ws-form-item label="货源详细地址" span="1" prop="sourceGoods">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.sourceGoods }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+
|
|
|
|
+ <ws-form-item label="交货地所在地区" span="1">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.deliveryProvince }}
|
|
|
|
+ {{ deptBudgetList.deliveryCity }}
|
|
|
|
+ {{ deptBudgetList.deliveryArea }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+
|
|
|
|
+ <ws-form-item label="交货地详细地址" span="1" prop="placeDelivery">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.placeDelivery }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="签订日期" span="1" prop="signingDate" v-if="deptBudgetList.agreementType=='补充协议'">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.signingDate }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <!--结算重量方式-->
|
|
|
|
+ <ws-form-item label="结算重量方式" span="1" prop="settlementWeightMethod">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.settlementWeightMethod==1?'按出库重量结算':'按收货重量结算' }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="最终实际交易量 (吨)" span="1" prop="finalTradingVolume">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.finalTradingVolume }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="结算单价(元/吨)" span="1" prop="settlementPrice" >
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.settlementPrice?deptBudgetList.settlementPrice:'自动结算,不可编辑'}}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ </ws-info-table>
|
|
|
|
+
|
|
|
|
+ <!--货物信息-->
|
|
|
|
+ <div class="remark">
|
|
|
|
+ <h3>货物信息</h3>
|
|
|
|
+ </div>
|
|
|
|
+ <ws-info-table>
|
|
|
|
+ <ws-form-item label="货名" span="1" prop="waterContent">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractGoodsInfo.goodsName }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="水分(%)<=" span="1" prop="intendedShipId">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractGoodsInfo.waterContent }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="品级" span="1" prop="grade">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractGoodsInfo.grade }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="杂质(%)<=" span="1" prop="impurity">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractGoodsInfo.impurity }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="容重(克/升)>=" span="1" prop="bulkDensity">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractGoodsInfo.bulkDensity }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="霉变粒(%)<=" span="1" prop="mildewGrain" class="result">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractGoodsInfo.mildewGrain }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="热损伤(%)<=" span="1" prop="jiaorenli">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractGoodsInfo.jiaorenli }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="不完善粒(%)<=" span="1" prop="imperfectGrain" class="result">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractGoodsInfo.imperfectGrain }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ </ws-info-table>
|
|
|
|
+ <div class="remark">
|
|
|
|
+ <h3>流程信息</h3>
|
|
|
|
+ </div>
|
|
|
|
+ <ws-info-table>
|
|
|
|
+ <ws-form-item label="合同收入(元)" span="1" prop="goodsNameKey">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractProcessInfo.goodsNameKey }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="已开发票(元)" span="1" prop="goodsName">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractProcessInfo.goodsName }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="费用支出(元)" span="1" prop="waterContent">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractProcessInfo.waterContent }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="未开发票(元)" span="1" prop="impurity">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractProcessInfo.impurity }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="未回款(元)" span="1" prop="mildewGrain">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractProcessInfo.mildewGrain }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <!-- <ws-form-item
|
|
|
|
+ label="已完成发运量(吨)"
|
|
|
|
+ span="1"
|
|
|
|
+ prop="imperfectGrain"
|
|
|
|
+ class="result"
|
|
|
|
+ >
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractProcessInfo.imperfectGrain }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item> -->
|
|
|
|
+ <ws-form-item label="双章原件回收情况" span="1" prop="grade">
|
|
|
|
+ <div class="unchanged">
|
|
|
|
+ {{ deptBudgetList.contractProcessInfo.grade }}
|
|
|
|
+ </div>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ </ws-info-table>
|
|
|
|
+ <div class="remark">
|
|
|
|
+ <h3>备注信息</h3>
|
|
|
|
+ <div class="beizhu">
|
|
|
|
+ <ws-input v-model="deptBudgetList.remarks" disabled type="textarea" :row="3" autosize placeholder="暂无备注信息"
|
|
|
|
+ maxlength="200" />
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ <ws-upload ref="upload" :comp-id="compId" :appendix-ids="deptBudgetList.addressUrl" :editable="false"
|
|
|
|
+ accept=".jpg, .jpeg, .png, .pdf, .doc, .zip, .rar" />
|
|
|
|
+ </ws-form>
|
|
|
|
+ <div style="text-align: right; padding: 10px">
|
|
|
|
+ <el-button class="bg-bottom" type="primary" size="small" @click="reject()">驳回</el-button>
|
|
|
|
+ <el-button class="bg-bottom" type="primary" size="small" @click="pass()">通过</el-button>
|
|
|
|
+ </div>
|
|
|
|
+ <el-dialog :title="title" :visible.sync="dialogTableVisible">
|
|
|
|
+ <el-form ref="form" :model="form" label-width="80px">
|
|
|
|
+ <el-form-item :label="title">
|
|
|
|
+ <el-input size="medium" type="textarea" placeholder="请输入审核原因" maxlength="1000" show-word-limit v-model="form.auditMind"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item label="附件">
|
|
|
|
+ <ws-upload ref="upload" :size-limit="size" @onChange="onChange" @uploadSuccess="uploadSuccess" :comp-id="compId" :appendix-ids="appendixIdss1"
|
|
|
|
+ accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .zip, .rar" />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item>
|
|
|
|
+ <el-button @click="dialogTableVisible=false">取消</el-button>
|
|
|
|
+ <el-button type="primary" @click="onSubmit">确定</el-button>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-form>
|
|
|
|
+ </el-dialog>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+</template>
|
|
|
|
+
|
|
|
|
+<script>
|
|
|
|
+ import {
|
|
|
|
+ packList,
|
|
|
|
+ xiala,
|
|
|
|
+ examineList,
|
|
|
|
+ billoperatehis,
|
|
|
|
+ } from '@/model/contarct/index'
|
|
|
|
+ import {
|
|
|
|
+ gettaskhistories
|
|
|
|
+ } from '@/model/tasksport/index'
|
|
|
|
+ import {
|
|
|
|
+ dayjs
|
|
|
|
+ } from 'base-core-lib'
|
|
|
|
+ import WsUpload from '@/components/WsUpload'
|
|
|
|
+ import {
|
|
|
|
+ woekflowhandle
|
|
|
|
+} from '@/model/tasksport/index'
|
|
|
|
+ export default {
|
|
|
|
+ name: 'viewSpareMoney',
|
|
|
|
+ components: {
|
|
|
|
+ WsUpload,
|
|
|
|
+ },
|
|
|
|
+ watch: {
|
|
|
|
+ vesselId(val) {
|
|
|
|
+ this.getVesselData()
|
|
|
|
+ },
|
|
|
|
+ isShow(val) {
|
|
|
|
+ this.showType = val
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ data() {
|
|
|
|
+ return {
|
|
|
|
+ //弹出框
|
|
|
|
+ dialogViewSpareMoney: false,
|
|
|
|
+ dialogApproveFormVisible: false,
|
|
|
|
+ taskhistories: [],
|
|
|
|
+ // 船舶类型
|
|
|
|
+ monetaryKey: null,
|
|
|
|
+ // 表格显示数据
|
|
|
|
+ tableDate: [],
|
|
|
|
+ // 是否显示
|
|
|
|
+ showType: true,
|
|
|
|
+ // 年
|
|
|
|
+ year: '',
|
|
|
|
+ // 提交类型
|
|
|
|
+ submitType: true,
|
|
|
|
+ tableData: [],
|
|
|
|
+ ruleDeptBudget: [],
|
|
|
|
+ deptBudgetList: {
|
|
|
|
+ contractProcessInfo: {},
|
|
|
|
+ contractGoodsInfo: {},
|
|
|
|
+ },
|
|
|
|
+ mainReportAdd: {},
|
|
|
|
+ list: {},
|
|
|
|
+ historyList: [],
|
|
|
|
+ size: 10,
|
|
|
|
+ form:{},
|
|
|
|
+ fileList:[],
|
|
|
|
+ title:'',
|
|
|
|
+ dialogTableVisible:false,
|
|
|
|
+ compId: localStorage.getItem('ws-pf_compId'),
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ activated() {
|
|
|
|
+ this.status = this.$route.query.status
|
|
|
|
+ this.loaddata()
|
|
|
|
+ this.showType = this.isShow
|
|
|
|
+ // this.examineList()
|
|
|
|
+ },
|
|
|
|
+ methods: {
|
|
|
|
+ onSubmit() {
|
|
|
|
+ if (this.title == '驳回原因') {
|
|
|
|
+ woekflowhandle({
|
|
|
|
+ taskId: this.deptBudgetList.taskId,
|
|
|
|
+ approved: false,
|
|
|
|
+ auditMind: this.form.auditMind+ "##" + this.fileList.toString(),
|
|
|
|
+ needReapply: true,
|
|
|
|
+ }).toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '驳回成功!',
|
|
|
|
+ type: 'success',
|
|
|
|
+ })
|
|
|
|
+ this.dialogTableVisible = false
|
|
|
|
+ this.$router.go(-1)
|
|
|
|
+ }).catch((response) => {
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '驳回失败!',
|
|
|
|
+ type: 'error',
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ } else {
|
|
|
|
+ woekflowhandle({
|
|
|
|
+ taskId: this.deptBudgetList.taskId,
|
|
|
|
+ approved: true,
|
|
|
|
+ auditMind: this.form.auditMind+ "##" + this.fileList.toString(),
|
|
|
|
+ needReapply: true,
|
|
|
|
+ }).toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '通过成功!',
|
|
|
|
+ type: 'success',
|
|
|
|
+ })
|
|
|
|
+ this.dialogTableVisible = false
|
|
|
|
+ this.$router.go(-1)
|
|
|
|
+ }).catch((response) => {
|
|
|
|
+ this.$message({
|
|
|
|
+ message: '通过失败!',
|
|
|
|
+ type: 'error',
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ onChange(file,fileList) {
|
|
|
|
+ for (let i = 0; i < fileList.length; i++) {
|
|
|
|
+ this.fileList.push(fileList[i].appendixPath)
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ console.log(file,fileList)
|
|
|
|
+ // this.deptBudgetList.addressUrl = response
|
|
|
|
+ // this.deptBudgetList.id = this.id
|
|
|
|
+ // this.deptBudgetList.flag = 1
|
|
|
|
+ // editInfo(this.deptBudgetList)
|
|
|
|
+ // .toPromise()
|
|
|
|
+ // .then((response) => {
|
|
|
|
+ // this.accessoryTFs = false
|
|
|
|
+ // this.$message.success('上传成功')
|
|
|
|
+ // this.getList()
|
|
|
|
+ // })
|
|
|
|
+ },
|
|
|
|
+ reject(){
|
|
|
|
+ this.title='驳回原因'
|
|
|
|
+ this.dialogTableVisible=true
|
|
|
|
+ },
|
|
|
|
+ pass(){
|
|
|
|
+ this.title='通过原因'
|
|
|
|
+ this.dialogTableVisible=true
|
|
|
|
+ },
|
|
|
|
+ loaddata() {
|
|
|
|
+ gettaskhistories({
|
|
|
|
+ businessKey: this.$route.query.id,
|
|
|
|
+ workflowId: this.$route.query.workflowId
|
|
|
|
+ }).toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.taskhistories = response
|
|
|
|
+ })
|
|
|
|
+ // 数据
|
|
|
|
+ examineList({
|
|
|
|
+ id: this.$route.query.id
|
|
|
|
+ })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.deptBudgetList = response
|
|
|
|
+ if (this.deptBudgetList.deliverType == 1) {
|
|
|
|
+ this.deptBudgetList.deliverType1 = '我方送货'
|
|
|
|
+ } else if (this.deptBudgetList.deliverType == 2) {
|
|
|
|
+ this.deptBudgetList.deliverType1 = '对方自提'
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ // 包装方式
|
|
|
|
+ packList({
|
|
|
|
+ constId: 'CON1'
|
|
|
|
+ })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.packtypeList = response
|
|
|
|
+ })
|
|
|
|
+ // 验收方式
|
|
|
|
+ this.getUnitList()
|
|
|
|
+ // 货名
|
|
|
|
+ packList({
|
|
|
|
+ constId: 'CON2'
|
|
|
|
+ })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.goodnameList = response
|
|
|
|
+ })
|
|
|
|
+ // 品级
|
|
|
|
+ packList({
|
|
|
|
+ constId: 'CON3'
|
|
|
|
+ })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.gradeList = response
|
|
|
|
+ })
|
|
|
|
+ // 双章
|
|
|
|
+ packList({
|
|
|
|
+ constId: 'CON4'
|
|
|
|
+ })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.ChapterTwoList = response
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ getUnitList() {
|
|
|
|
+ xiala({
|
|
|
|
+ compId: localStorage.getItem('ws-pf_compId'),
|
|
|
|
+ constCode: 'TYPEYAN',
|
|
|
|
+ })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.unitList = response
|
|
|
|
+ let currItem
|
|
|
|
+ this.unitList.forEach((item, index, arr) => {
|
|
|
|
+ item.flag = 'delete'
|
|
|
|
+ if (this.vModel == item.constKey) {
|
|
|
|
+ currItem = item
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ //
|
|
|
|
+ if (currItem) {
|
|
|
|
+ this.selectContract(currItem.constValue)
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ // 关闭 dialog时 处理文件url 初始化upload组件
|
|
|
|
+ handleClose() {
|
|
|
|
+ this.dialogViewSpareMoney = false
|
|
|
|
+ },
|
|
|
|
+ history(id1) {
|
|
|
|
+ billoperatehis({
|
|
|
|
+ id: id1
|
|
|
|
+ })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ this.historyList = response
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ returnsales() {
|
|
|
|
+ this.$router.go(-1)
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ }
|
|
|
|
+</script>
|
|
|
|
+<style lang="scss" scoped>
|
|
|
|
+ /deep/.ws-info-table .el-form-item .el-form-item__content {
|
|
|
|
+ padding: 0 25px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /deep/.ws-info-table .el-form-item {
|
|
|
|
+ border-right: 1px solid #cdd2dc;
|
|
|
|
+ border-bottom: 1px solid #cdd2dc;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .title {
|
|
|
|
+ position: relative;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .title::before {
|
|
|
|
+ content: '';
|
|
|
|
+ display: inline-block;
|
|
|
|
+ width: 5px;
|
|
|
|
+ height: 30px;
|
|
|
|
+ background: #5473e8;
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .el-button--primary {
|
|
|
|
+ background-color: #5878e8;
|
|
|
|
+ border-color: #5878e8;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .el-col {
|
|
|
|
+ background: #f6f7fc;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .readonly {
|
|
|
|
+ position: relative;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .readonly:after {
|
|
|
|
+ content: '*';
|
|
|
|
+ color: #ff2727;
|
|
|
|
+ position: absolute;
|
|
|
|
+ right: 8px;
|
|
|
|
+ z-index: 10;
|
|
|
|
+ top: 21%;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /deep/.ws-info-table .el-form-item .el-form-item__content {
|
|
|
|
+ padding: 0 25px;
|
|
|
|
+ border-left: 1px solid #cdd2dc;
|
|
|
|
+ background: #fafbfc;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /deep/.ws-info-table .el-form-item .el-form-item__label {
|
|
|
|
+ width: 140px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ background: #f0f2f6;
|
|
|
|
+ // border: 1px solid #cdd2dc;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .button-container {
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-wrap: nowrap;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ align-items: center;
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 50px;
|
|
|
|
+ padding: 0 10px;
|
|
|
|
+
|
|
|
|
+ &>div {
|
|
|
|
+ margin-left: 10px;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-wrap: nowrap;
|
|
|
|
+ flex-direction: row;
|
|
|
|
+
|
|
|
|
+ &>span {
|
|
|
|
+ line-height: 50px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /deep/.auditFlow-box {
|
|
|
|
+ position: unset;
|
|
|
|
+ margin-left: 10px;
|
|
|
|
+
|
|
|
|
+ &/deep/.auditFlow-icon {
|
|
|
|
+ width: auto;
|
|
|
|
+ padding-right: 30px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ &/deep/.auditFlow-main {
|
|
|
|
+ position: absolute;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .box-app {
|
|
|
|
+ display: inline-block;
|
|
|
|
+
|
|
|
|
+ margin-left: 30px;
|
|
|
|
+ line-height: 50px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /deep/.el-dialog {
|
|
|
|
+ .el-form-item {
|
|
|
|
+ margin-bottom: 0 !important;
|
|
|
|
+
|
|
|
|
+ .el-input--medium {
|
|
|
|
+ textarea {
|
|
|
|
+ min-height: 100px !important;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .collapse-bottom {
|
|
|
|
+ margin-bottom: 20px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .input-main .textarea .el-textarea__inner {
|
|
|
|
+ width: 100%;
|
|
|
|
+ z-index: 1;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .bg-left {
|
|
|
|
+ padding-left: 30px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .bg-right {
|
|
|
|
+ padding: 10px;
|
|
|
|
+ text-align: right;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .bg-bottom {
|
|
|
|
+ margin: 6px 0px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .wenzi {
|
|
|
|
+ width: 900px;
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .wenzi h3 {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ left: 30px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .wenzi p {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .center {
|
|
|
|
+ width: 70%;
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ .el-form-item__label {
|
|
|
|
+ text-align: center;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /*.crt-main .textarea /deep/ .el-form-item__label {*/
|
|
|
|
+ /* height: 82px;*/
|
|
|
|
+ /*}*/
|
|
|
|
+ // 控制select为只读的时候显示样式
|
|
|
|
+
|
|
|
|
+ .hide-sel {
|
|
|
|
+ .el-input__inner {
|
|
|
|
+ border: 0px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .el-icon-arrow-up {
|
|
|
|
+ display: none;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .el-textarea__inner {
|
|
|
|
+ background-color: #fff !important;
|
|
|
|
+ border: 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .el-date-editor {
|
|
|
|
+ i {
|
|
|
|
+ display: none;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .is-disabled {
|
|
|
|
+ .el-input__inner:hover {
|
|
|
|
+ background-color: #fff !important;
|
|
|
|
+ border: 0;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ color: #606266;
|
|
|
|
+
|
|
|
|
+ .el-input__inner {
|
|
|
|
+ background-color: #fff !important;
|
|
|
|
+ border: 0;
|
|
|
|
+ color: #606266;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .el-textarea__inner {
|
|
|
|
+ background-color: #fff !important;
|
|
|
|
+ border: 0;
|
|
|
|
+ color: #606266;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ // 控制select为只读的时候显示样式
|
|
|
|
+ /deep/.ws-class-table-col {
|
|
|
|
+ height: auto;
|
|
|
|
+ padding: 0px 2px;
|
|
|
|
+
|
|
|
|
+ /deep/.el-input__inner {
|
|
|
|
+ padding: 0px 2px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /deep/.is-disabled {
|
|
|
|
+ .el-input__prefix,
|
|
|
|
+ .el-input__suffix {
|
|
|
|
+ display: none;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .el-input__inner {
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ border-color: #fff !important;
|
|
|
|
+ color: #000 !important;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ cursor: text;
|
|
|
|
+ padding: 0 !important;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .winseaview-view {
|
|
|
|
+ padding: 10px 0 20px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .container {
|
|
|
|
+ overflow: scroll;
|
|
|
|
+ height: 93vh;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .state {
|
|
|
|
+ width: 900px;
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .state h2,
|
|
|
|
+ .state p {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .state p {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ margin-left: 10px;
|
|
|
|
+ width: 170px;
|
|
|
|
+ height: 20px;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ color: #000000;
|
|
|
|
+ line-height: 20px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .icon {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ width: 60px;
|
|
|
|
+ background: #ecfeff;
|
|
|
|
+ border-radius: 12px;
|
|
|
|
+ border: 1px solid #50cad4;
|
|
|
|
+ position: relative;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ color: #50cad4;
|
|
|
|
+ padding: 1px 7px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .title-top {
|
|
|
|
+ margin-top: 20px;
|
|
|
|
+ font-size: 21px;
|
|
|
|
+ font-weight: 600;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .title-number {
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ //*号
|
|
|
|
+ // .unchangeable {
|
|
|
|
+ // position: absolute;
|
|
|
|
+ // width: 9px;
|
|
|
|
+ // height: 22px;
|
|
|
|
+ // font-size: 16px;
|
|
|
|
+ // font-family: PingFangSC-Medium, PingFang SC;
|
|
|
|
+ // font-weight: 500;
|
|
|
|
+ // color: #ff2727;
|
|
|
|
+ // line-height: 22px;
|
|
|
|
+ // display: inline-block;
|
|
|
|
+ // right: 14px;
|
|
|
|
+ // }
|
|
|
|
+ /deep/.el-input,
|
|
|
|
+ /deep/.el-date-editor {
|
|
|
|
+ font-size: 13px;
|
|
|
|
+ width: 232px;
|
|
|
|
+ left: 21px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /deep/.ws-form .el-textarea {
|
|
|
|
+ width: 900px;
|
|
|
|
+ margin: 0px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /deep/el-date-editor--date {
|
|
|
|
+ width: 200px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /deep/.beizhu {
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ color: #afb5cb;
|
|
|
|
+ margin-left: 20px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .unchanged {
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 37px;
|
|
|
|
+ width: 900px;
|
|
|
|
+ height: 14px;
|
|
|
|
+ font-size: 14px;
|
|
|
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
|
|
+ font-weight: 400;
|
|
|
|
+ color: #afb5cb;
|
|
|
|
+ line-height: 14px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /deep/.ws-info-table[data-v-850a44a6] .el-form-item .el-form-item__label {
|
|
|
|
+ width: 130px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /deep/.el-input--small .el-input__inner {
|
|
|
|
+ height: 32px;
|
|
|
|
+ line-height: 32px;
|
|
|
|
+ width: 232px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .vertical-text-left {
|
|
|
|
+ width: 62px;
|
|
|
|
+ text-align: right;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .vertical-text {
|
|
|
|
+ margin: 0 10px;
|
|
|
|
+ color: #8890b1;
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ margin-top: -4px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .vertical-line {
|
|
|
|
+ height: 100px;
|
|
|
|
+ border-left: 2px solid #e9ecf7;
|
|
|
|
+ margin-left: 4px;
|
|
|
|
+ padding: 0 3px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .vertical-circle {
|
|
|
|
+ width: 10px;
|
|
|
|
+ height: 10px;
|
|
|
|
+ border: 2px solid #5878e8;
|
|
|
|
+ background-color: #ffffff;
|
|
|
|
+ -webkit-border-radius: 100px;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .vertical-circle:first-child {
|
|
|
|
+ color: red;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .ws-info-table .el-form-item {
|
|
|
|
+ width: 50%;
|
|
|
|
+ }
|
|
|
|
+</style>
|