Browse Source

修改排产管理、未售买断的问题,调整样式布局

zhanglei
yunuo970428 3 years ago
parent
commit
e2be7a2c61
  1. 4
      anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js
  2. 3
      anrui-scm/anrui-scm-ui/src/styles/index.scss
  3. 33
      anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichan.vue
  4. 321
      anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue
  5. 304
      anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanInfo.vue
  6. 27
      anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/chexingbyconfiguration.vue
  7. 344
      anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue
  8. 318
      anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue
  9. 313
      anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanYiBanInfo.vue
  10. 27
      anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/chexingbyconfiguration.vue
  11. 2
      anrui-scm/anrui-scm-ui/src/views/workFlow/weishoumaiduanFlow/weishoumaiduanguanli/weishoumaiduanYiBanInfo.vue

4
anrui-scm/anrui-scm-ui/src/router/modules/codemenu.js

@ -598,7 +598,7 @@ const codemenu = [
path: '/tiaojiaguanliFlow/tiaojiaguanli/tiaojianYibanInfo',
component: () =>
import('@/views/workFlow/tiaojiaguanliFlow/tiaojiaguanli/tiaojianYibanInfo.vue'),
name: 'tiaojiaInfo'
name: 'tiaojianYibanInfo'
},
// 车辆内购编辑
{
@ -619,7 +619,7 @@ const codemenu = [
path: '/cheliangneigouFlow/neigouguanli/neigouDaiBanByShunTingTypeValueInfo',
component: () =>
import('@/views/workFlow/cheliangneigouFlow/neigouguanli/neigouDaiBanByShunTingTypeValueInfo.vue'),
name: 'neigouDaiBanInfo'
name: 'neigouDaiBanByShunTingTypeValueInfo'
},
// 车辆内购待办详情
{

3
anrui-scm/anrui-scm-ui/src/styles/index.scss

@ -304,9 +304,10 @@ div:focus {
margin-bottom: 0;
line-height: 42px;
.addinputw {
padding: 5px 0;
//padding: 5px 0;
width: 65%;
margin-left: 80px;
line-height: 42px;
}
.addinputInfo {

33
anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichan.vue

@ -7,8 +7,8 @@
<el-button size="small" class="searchbtn" @click="isSearchShow = !isSearchShow">{{ isSearchShow ? '隐藏查询条件' : '显示查询条件' }}
</el-button>
<div v-show="isSearchShow" class="search">
<el-form :inline="true" class="tab-header">
<el-form-item :model="queryParams" :inline="true" class="tab-header" label="申请日期">
<el-form :inline="true" class="tab-header" label-width="100px">
<el-form-item :model="queryParams" label="申请日期">
<el-date-picker value-format="yyyy-MM-dd" v-model="queryParams.params.applicationDateStart" clearable style="width: 160px;" type="date" placeholder="开始日期"/>
<div class="line"></div>
<el-date-picker value-format="yyyy-MM-dd" v-model="queryParams.params.applicationDateEnd" clearable style="width: 160px;" type="date" placeholder="结束日期"/>
@ -18,20 +18,17 @@
</el-form-item>
</el-form>
<div class="btn" style="text-align: center;">
<el-button type="primary" @click="dosearch">查询</el-button>
<el-button type="primary" @click="resetQuery">重置</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="dosearch">查询</el-button>
<el-button type="primary" icon="el-icon-refresh" size="small" @click="resetQuery">重置</el-button>
</div>
</div>
</div>
<!--Start 项目列表头部-->
<div class="listtop">
<div class="tit">排产车型列表</div>
<div class="tit">车辆排产申请列表</div>
<pageye v-show="dataList.length > 0" :total="queryParams.total" :page.sync="queryParams.current" :limit.sync="queryParams.size" class="pagination" @pagination="loadList"/>
</div>
<!--End 项目列表头部-->
<!--Start 项目列表-->
<div class="listcon">
<div class="">
<el-table v-loading="tableLoading" :data="dataList" border style="width: 100%;" max-height="500" @selection-change="handleSelectionChange">
<el-table-column width="80" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column width="50" type="selection" align="center"/>
@ -45,6 +42,7 @@
<el-table-column width="150" prop="schedulingType" label="排产类型" align="center"/>
<el-table-column width="200" prop="applicationCode" label="申请编号" align="center"/>
<el-table-column width="150" prop="applicationDate" label="申请日期" align="center"/>
<el-table-column width="150" prop="createOrgName" label="分公司" align="center"/>
<el-table-column width="150" prop="createByName" label="申请人" align="center"/>
<el-table-column width="150" prop="applyForDeposit" label="申请订金" align="center"/>
<el-table-column prop="remarks" fit label="备注" align="left" header-align="center"/>
@ -268,21 +266,4 @@ export default {
display: inline-block;
margin: 0px 15px;
}
.listtop {
display: flex;
justify-content: space-between;
align-items: center;
border: 1px solid #dfe4ed;
height: 40px;
}
.tit {
margin-bottom: -10px;
}
.pagination {
margin-bottom: -10px;
}
.formItem {
margin-right: 28px;
}
</style>

321
anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanAdd.vue

@ -11,163 +11,106 @@
</el-button>
<el-button type="primary" size="small" @click="submitVehicleApply()">提交
</el-button>
<el-button type="info" size="small" @click="handleReturn()">返回</el-button>
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button>
</div>
</div>
<!--标题按钮部分结束-->
<!--Start 新增修改部分-->
<div class="listconadd">
<div class="wlInfo"><span>排产申请</span></div>
<el-form ref="form_obj" :model="formobj" :rules="rules" label-position="top">
<el-row class="lineone">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请编号:"></el-form-item>
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<div class="titwu"><span>排产申请</span></div>
<el-row class="rowStyle">
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>分公司:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.createOrgName }}</span></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.applicationCode" readonly/>
</el-form-item>
</el-col>
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请人:"></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.createByName" readonly/>
</el-form-item>
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>申请人:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.createByName }}</span></el-form-item>
</el-col>
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请日期:"></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.applicationDate" readonly/>
</el-form-item>
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>申请日期:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.applicationDate }}</span></el-form-item>
</el-col>
</el-row>
<el-row class="linetwo">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="排产类型:"></el-form-item>
</el-col>
<el-col :span="21">
<el-row class="rowStyle">
<el-col :span="24" class="colStyle">
<div class="span-sty spanOneWidth"><span>排产类型:</span></div>
<el-form-item>
<el-select v-model="formobj.schedulingType" placeholder="请选择" @change="changeSchedulingType" clearable>
<el-select v-model="formobj.schedulingType" placeholder="请选择" @change="changeSchedulingType" clearable class="addinputInfo addinputOne">
<el-option v-for="item in schedulingType_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictValue"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row class="linethree">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="备注:"></el-form-item>
</el-col>
<el-col :span="21">
<el-form-item>
<el-input v-model="formobj.remarks" clearable/>
</el-form-item>
<el-row class="rowStyle">
<el-col :span="24" class="colStyle">
<div class="span-sty spanOneWidth"><span>备注:</span></div>
<el-form-item><el-input class="addinputw addinputOne" v-model="formobj.remarks" clearable placeholder=""/></el-form-item>
</el-col>
</el-row>
</el-form>
<div class="tableStyle">
<div style="margin-left: 5px;font-weight: bold">排产车型列表</div>
<div style="margin-left: 15px">
<el-button type="primary" size="small" icon="el-icon-plus" @click="addCommodity()">车型选择</el-button>
<div class="title">
<div>排产车型列表</div>
<div>
<el-button type="primary" size="mini" icon="el-icon-plus" @click="addCommodity()">车型选择</el-button>
</div>
</div>
</div>
<el-table :key="tableKey" :data="formobj.busVehicleApplyDetailDtoList" :index="index" border style="width: 100%" show-summary :summary-method="getSummaries">
<el-table-column fixed width="110px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column fixed label="操作" width="190px" align="center" header-align="center">
<template slot-scope="scope">
<el-button size="mini" type="danger" @click="dataDelete(scope.$index, formobj.busVehicleApplyDetailDtoList[scope.$index])">删除
</el-button>
<el-button size="mini" type="primary">上装选择</el-button>
</template>
</el-table-column>
<el-table-column label="车型" align="center" header-align="center" width="250">
<template slot-scope="scope">
<span>{{ scope.row.vehicleName }}</span>
</template>
</el-table-column>
<el-table-column label="常用配置" align="left" header-align="center" width="400">
<template slot-scope="scope">
<span>{{ scope.row.configName }}</span>
</template>
</el-table-column>
<el-table-column label="内部编码" header-align="center" width="200">
<template slot-scope="scope">
<el-input v-model="scope.row.insideCode" :readonly="isRead" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="排产数量" header-align="center" width="130">
<template slot-scope="scope">
<el-input v-model="scope.row.quantity" @keyup.native="UpNumber" @keydown.native="UpNumber" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<!-- <el-table-column prop="useDeposit" label="使用订金" header-align="center" width="150">-->
<!-- <template slot-scope="scope" prop="useDeposit">-->
<!-- <el-input v-model="scope.row.useDeposit" placeholder="" class="addinputw" clearable/>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column prop="applyForDeposit" label="申请订金" header-align="center" width="150">
<template slot-scope="scope" prop="applyForDeposit">
<el-input v-model="scope.row.applyForDeposit" @keyup.native="UpNumber" @keydown.native="UpNumber" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="厂家合同价" header-align="center" width="150">
<template slot-scope="scope">
<el-input v-model="scope.row.contractPrice" @keyup.native="UpNumber" @keydown.native="UpNumber" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="销售指导价" header-align="center" width="150">
<template slot-scope="scope">
<el-input v-model="scope.row.saleGuPrice" @keyup.native="UpNumber" @keydown.native="UpNumber" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" width="200">
<template slot-scope="scope">
<el-input v-model="scope.row.remarks" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="上装信息" header-align="center" width="100" align="center">
<template slot-scope="scope">
<span class="bluezi">查看</span>
</template>
</el-table-column>
</el-table>
<!--先不要删除的代码-->
<!-- <div>-->
<!-- <div class="tableStyle">-->
<!-- <div style="margin-left: 5px;font-weight: bold">订金使用情况</div>-->
<!-- </div>-->
<!-- <el-form ref="formobj" :model="formobj" label-width="130px" label-position="top" class="formadd">-->
<!-- <el-row>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="当前订金金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- <el-input v-model="formobj.currentAmount" placeholder="" clearable/>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="本次需使用金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- {{ useMoney }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="本次申请金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- {{ applyMoney }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- </el-row>-->
<!-- </el-form>-->
<!-- </div>-->
<el-table :key="tableKey" :data="formobj.busVehicleApplyDetailList" :index="index" border style="width: 100%" show-summary :summary-method="getSummaries">
<el-table-column fixed width="110px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column fixed label="操作" width="190px" align="center" header-align="center">
<template slot-scope="scope">
<el-button size="mini" type="danger" @click="dataDelete(scope.$index)">删除
</el-button>
<el-button size="mini" type="primary">上装选择</el-button>
</template>
</el-table-column>
<el-table-column label="车型" align="center" header-align="center" width="250">
<template slot-scope="scope">
<span>{{ scope.row.vehicleName }}</span>
</template>
</el-table-column>
<el-table-column label="常用配置" align="left" header-align="center" width="400">
<template slot-scope="scope">
<span>{{ scope.row.configName }}</span>
</template>
</el-table-column>
<el-table-column label="内部编码" header-align="center" width="200">
<template slot-scope="scope">
<el-input v-model="scope.row.insideCode" :readonly="isRead" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="排产数量" header-align="center" width="130">
<template slot-scope="scope">
<el-input v-model="scope.row.quantity" @keyup.native="UpNumber" @keydown.native="UpNumber" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column prop="applyForDeposit" label="申请订金" header-align="center" width="150">
<template slot-scope="scope" prop="applyForDeposit">
<el-input v-model="scope.row.applyForDeposit" @keyup.native="UpNumber" @keydown.native="UpNumber" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="厂家合同价" header-align="center" width="150">
<template slot-scope="scope">
<el-input v-model="scope.row.contractPrice" @keyup.native="UpNumber" @keydown.native="UpNumber" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="销售指导价" header-align="center" width="150">
<template slot-scope="scope">
<el-input v-model="scope.row.saleGuPrice" @keyup.native="UpNumber" @keydown.native="UpNumber" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" width="200">
<template slot-scope="scope">
<el-input v-model="scope.row.remarks" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="上装信息" header-align="center" width="100" align="center">
<template slot-scope="scope">
<span class="bluezi">查看</span>
</template>
</el-table-column>
</el-table>
</el-form>
</div>
</div>
<!--End 添加修改部分-->
@ -179,6 +122,7 @@
<script>
import req from '@/api/supplychain/busvehicleapply'
import configuration from './chexingbyconfiguration'
import { getPathSidByUserSid, fetchBySid } from '@/api/cheliang/dictcommons'
export default {
name: 'cheliangpaichanAdd',
@ -194,8 +138,6 @@ export default {
tableKey: 0,
//
schedulingType_list: [], // 使
useMoney: '', // 使
applyMoney: '', //
isRead: false,
//
formobj: {
@ -212,7 +154,9 @@ export default {
salesSid: '', // sid
instanceId: '', // ID
taskId: '', // ID
busVehicleApplyDetailDtoList: []
createOrgSid: '',
createOrgName: '',
busVehicleApplyDetailList: []
},
rules: {},
submitdisabled: false
@ -227,6 +171,18 @@ export default {
}
})
},
getUserOrg() {
getPathSidByUserSid({ userSid: window.sessionStorage.getItem('userSid') }).then((resp) => {
if (resp.success) {
this.formobj.createOrgSid = resp.data
fetchBySid(this.formobj.createOrgSid).then((response) => {
if (response.success) {
this.formobj.createOrgName = response.data.name
}
})
}
})
},
newDate() {
let date = new Date()
let year = date.getFullYear() //
@ -254,14 +210,15 @@ export default {
//
addCommodity() {
this.viewState = 2
this.$refs['divconfiguration'].showData(this.formobj.busVehicleApplyDetailDtoList)
this.$refs['divconfiguration'].showData(this.formobj.busVehicleApplyDetailList)
},
//
dataDelete(index, row) {
this.formobj.busVehicleApplyDetailDtoList.splice(index, 1)
dataDelete(index) {
this.formobj.busVehicleApplyDetailList.splice(index, 1)
},
showAdd() {
this.init()
this.getUserOrg()
this.newDate()
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
@ -281,18 +238,8 @@ export default {
console.log('编辑回显', sid)
req.fetchBySid(sid).then((resp) => {
const data = resp.data
this.formobj.applicationCode = data.applicationCode
this.formobj.applicationDate = data.applicationDate
this.formobj.schedulingType = data.schedulingType
this.formobj.schedulingTypeKey = data.schedulingTypeKey
this.formobj.remarks = data.remarks
this.formobj.currentAmount = data.currentAmount
this.formobj = data
this.formobj.instanceId = data.procInstId
this.formobj.taskId = data.taskId
this.formobj.sid = sid
this.formobj.createBySid = data.createBySid
this.formobj.createByName = data.createByName
this.formobj.busVehicleApplyDetailDtoList = data.busVehicleApplyDetailVoList
}).catch((e) => {
this.formobj = row
})
@ -303,7 +250,7 @@ export default {
console.log('确认返回的车辆数据',value)
if (value.length > 0) {
value.forEach((e) => {
this.formobj.busVehicleApplyDetailDtoList.push({
this.formobj.busVehicleApplyDetailList.push({
quantity: '',
applySid: '',
configSid: e.configSid,
@ -312,7 +259,7 @@ export default {
applyForDeposit: '',
contractPrice: '',
remarks: '',
saleGuPrice: '',
saleGuPrice: e.guidedPrice,
insideCode: e.insideCode, //
vehicleName: e.vehicleAlias,
vehicleSid: e.modelSid
@ -390,7 +337,9 @@ export default {
this.formobj.createByName = ''
this.formobj.taskId = ''
this.formobj.instanceId = ''
this.formobj.busVehicleApplyDetailDtoList = []
this.formobj.createOrgSid = ''
this.formobj.createOrgName = ''
this.formobj.busVehicleApplyDetailList = []
this.$refs['form_obj'].resetFields()
this.$emit('doback')
},
@ -442,47 +391,29 @@ export default {
</script>
<style scoped>
.wlInfo {
text-align: center;
font-size: 28px;
line-height: 90px;
}
.lineone {
border-bottom: 2px solid #e0e3eb;
}
.lineone .el-form-item {
margin-bottom: -10px;
}
.lineone >>> .el-input__inner {
border: 0;
}
.linetwo {
margin-top: 10px;
}
.linetwo .el-form-item {
margin-bottom: 0px !important;
}
.linethree .el-form-item {
margin-bottom: 0px !important;
}
.tableStyle {
background-color: #FFFFFF;
.title {
padding: 7px;
display: flex;
justify-content: flex-start;
flex-direction: row;
justify-content: space-between;
align-items: center;
border: 1px solid #dfe4ed;
height: 40px;
}
.el-form-item-right {
/* padding: 0 10px 0 0; */
text-align: right;
.spanOneWidth {
border-right: 0px !important;
width: 150px !important;
}
.addinputOne {
margin-left: 150px !important;
}
.rowStyle {
border-left: 0px;
}
.formadd{
padding: 0px !important;
.colStyle {
border-right: 0px !important;
border-bottom: 0px !important;
}
.icon {
color: #e84026;
margin-right: 4px;
.colOneStyle {
border-right: 0px !important;
}
</style>

304
anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichanInfo.vue

@ -13,144 +13,87 @@
<!--标题按钮部分结束-->
<!--Start 新增修改部分-->
<div class="listconadd">
<div class="wlInfo"><span>排产申请</span></div>
<el-form ref="form_obj" :model="formobj" :rules="rules" label-position="top">
<el-row class="lineone">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请编号:"></el-form-item>
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<div class="titwu"><span>排产申请</span></div>
<el-row class="rowStyle">
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>分公司:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.createOrgName }}</span></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.applicationCode" readonly/>
</el-form-item>
</el-col>
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请人:"></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.createByName" readonly/>
</el-form-item>
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>申请人:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.createByName }}</span></el-form-item>
</el-col>
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请日期:"></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.applicationDate" readonly/>
</el-form-item>
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>申请日期:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.applicationDate }}</span></el-form-item>
</el-col>
</el-row>
<el-row class="linetwo">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="排产类型:"></el-form-item>
</el-col>
<el-col :span="21">
<el-form-item>
<el-input v-model="formobj.schedulingType" readonly/>
<el-row class="rowStyle">
<el-col :span="24" class="colStyle">
<div class="span-sty spanOneWidth"><span>排产类型:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.schedulingType }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row class="linethree">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="备注:"></el-form-item>
</el-col>
<el-col :span="21">
<el-form-item>
<el-input v-model="formobj.remarks" readonly/>
</el-form-item>
<el-row class="rowStyle">
<el-col :span="24" class="colStyle">
<div class="span-sty spanOneWidth"><span>备注:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.remarks }}</span></el-form-item>
</el-col>
</el-row>
<div class="title">
<div>排产车型列表</div>
</div>
<el-table :key="tableKey" :data="formobj.busVehicleApplyDetailList" :index="index" border style="width: 100%" show-summary :summary-method="getSummaries">
<el-table-column fixed width="110px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column label="车型" align="center" width="250">
<template slot-scope="scope">
<span>{{ scope.row.vehicleName }}</span>
</template>
</el-table-column>
<el-table-column label="常用配置" align="left" header-align="center" width="400">
<template slot-scope="scope">
<span>{{ scope.row.configName }}</span>
</template>
</el-table-column>
<el-table-column label="内部编码" align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.insideCode }}</span>
</template>
</el-table-column>
<el-table-column label="排产数量" align="center" width="130">
<template slot-scope="scope">
<span>{{ scope.row.quantity }}</span>
</template>
</el-table-column>
<el-table-column prop="applyForDeposit" label="申请订金" align="center" width="150">
<template slot-scope="scope" prop="applyForDeposit">
<span>{{ scope.row.applyForDeposit }}</span>
</template>
</el-table-column>
<el-table-column label="厂家合同价" align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.contractPrice }}</span>
</template>
</el-table-column>
<el-table-column label="销售指导价" align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.saleGuPrice }}</span>
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.remarks }}</span>
</template>
</el-table-column>
<el-table-column label="上装信息" header-align="center" width="100" align="center">
<template slot-scope="scope">
<span class="bluezi">查看</span>
</template>
</el-table-column>
</el-table>
</el-form>
<div class="tableStyle">
<div style="margin-left: 5px;font-weight: bold">排产车型列表</div>
</div>
<el-table :key="tableKey" :data="formobj.busVehicleApplyDetailDtoList" :index="index" border style="width: 100%" show-summary :summary-method="getSummaries">
<el-table-column fixed width="110px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column label="车型" align="center" width="250px">
<template slot-scope="scope">
<span>{{ scope.row.vehicleName }}</span>
</template>
</el-table-column>
<el-table-column label="常用配置" align="left" header-align="center" width="400">
<template slot-scope="scope">
<span>{{ scope.row.configName }}</span>
</template>
</el-table-column>
<el-table-column label="内部编码" align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.insideCode }}</span>
</template>
</el-table-column>
<el-table-column label="排产数量" align="center" width="130">
<template slot-scope="scope">
<span>{{ scope.row.quantity }}</span>
</template>
</el-table-column>
<!-- <el-table-column prop="useDeposit" label="使用订金" header-align="center" width="150">-->
<!-- <template slot-scope="scope" prop="useDeposit">-->
<!-- <span>{{ scope.row.useDeposit }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column prop="applyForDeposit" label="申请订金" align="center" width="150">
<template slot-scope="scope" prop="applyForDeposit">
<span>{{ scope.row.applyForDeposit }}</span>
</template>
</el-table-column>
<el-table-column label="厂家合同价" align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.contractPrice }}</span>
</template>
</el-table-column>
<el-table-column label="销售指导价" align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.saleGuPrice }}</span>
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.remarks }}</span>
</template>
</el-table-column>
<el-table-column label="上装信息" align="center" width="100">
<template slot-scope="scope">
<span class="bluezi">查看</span>
</template>
</el-table-column>
</el-table>
<!-- <div>-->
<!-- <div class="tableStyle">-->
<!-- <div style="margin-left: 5px;font-weight: bold">订金使用情况</div>-->
<!-- </div>-->
<!-- <el-form ref="formobj" :model="formobj" label-width="130px" label-position="top" class="formadd">-->
<!-- <el-row>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="当前订金金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- {{ formobj.currentAmount }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="本次需使用金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- {{ useMoney }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="本次申请金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- {{ applyMoney }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- </el-row>-->
<!-- </el-form>-->
<!-- </div>-->
</div>
</div>
<!--End 添加修改部分-->
@ -159,6 +102,7 @@
<script>
import req from '@/api/supplychain/busvehicleapply'
export default {
name: 'cheliangpaichanInfo',
data() {
@ -166,11 +110,12 @@ export default {
viewTitle: '',
index: 0,
tableKey: 0,
useMoney: '', // 使
applyMoney: '', //
//
isRead: false,
//
formobj: {
sid: '', // sid
createByDeptSid: '',
createBySid: '', // sid
createByName: '', //
applicationCode: '', //
@ -179,9 +124,15 @@ export default {
schedulingTypeKey: '',
remarks: '', //
currentAmount: '', //
busVehicleApplyDetailDtoList: []
salesSid: '', // sid
instanceId: '', // ID
taskId: '', // ID
createOrgSid: '',
createOrgName: '',
busVehicleApplyDetailList: []
},
rules: {}
rules: {},
submitdisabled: false
}
},
methods: {
@ -190,34 +141,30 @@ export default {
this.$refs['form_obj'].clearValidate()
})
this.viewTitle = '排产申请详情'
console.log('编辑回显', sid)
req.fetchBySid(sid).then((resp) => {
const data = resp.data
this.formobj.applicationCode = data.applicationCode
this.formobj.applicationDate = data.applicationDate
this.formobj.schedulingType = data.schedulingType
this.formobj.schedulingTypeKey = data.schedulingTypeKey
this.formobj.remarks = data.remarks
this.formobj.currentAmount = data.currentAmount
this.formobj.sid = sid
this.formobj.createBySid = data.createBySid
this.formobj.createByName = data.createByName
this.formobj.busVehicleApplyDetailDtoList = data.busVehicleApplyDetailVoList
this.formobj = data
}).catch((e) => {
this.formobj = row
})
},
// ===
// ===
handleReturn(isreload) {
if (isreload === 'true') this.$emit('reloadlist')
this.formobj.schedulingType = '' //
this.formobj.schedulingTypeKey = ''
this.formobj.remarks = '' //
this.formobj.currentAmount = ''
this.formobj.createByName = ''
this.formobj.createBySid = ''
this.formobj.applicationCode = ''
this.formobj.applicationDate = ''
this.formobj.busVehicleApplyDetailDtoList = []
this.list1 = []
this.formobj.createBySid = ''
this.formobj.createByName = ''
this.formobj.taskId = ''
this.formobj.instanceId = ''
this.formobj.createOrgSid = ''
this.formobj.createOrgName = ''
this.formobj.busVehicleApplyDetailList = []
this.$refs['form_obj'].resetFields()
this.$emit('doback')
},
@ -260,57 +207,38 @@ export default {
}
})
return sums
},
closePage() {
this.viewState = 1
}
}
}
</script>
<style scoped>
.wlInfo {
text-align: center;
font-size: 28px;
line-height: 90px;
}
.lineone {
border-bottom: 2px solid #e0e3eb;
}
.lineone .el-form-item {
margin-bottom: -10px;
}
.lineone >>> .el-input__inner {
border: 0;
}
.linetwo {
margin-top: 10px;
}
.linetwo .el-form-item {
margin-bottom: 0px !important;
}
.linetwo >>> .el-input__inner {
border: 0;
}
.linethree .el-form-item {
margin-bottom: 0px !important;
}
.linethree >>> .el-input__inner {
border: 0;
}
.tableStyle {
background-color: #FFFFFF;
.title {
padding: 7px;
display: flex;
justify-content: flex-start;
flex-direction: row;
justify-content: space-between;
align-items: center;
border: 1px solid #dfe4ed;
height: 40px;
}
.el-form-item-right {
text-align: right;
.spanOneWidth {
border-right: 0px !important;
width: 150px !important;
}
.formadd{
padding: 0px !important;
.addinputOne {
margin-left: 150px !important;
}
.icon {
color: #e84026;
margin-right: 4px;
.rowStyle {
border-left: 0px;
}
.colStyle {
border-right: 0px !important;
border-bottom: 0px !important;
}
.colOneStyle {
border-right: 0px !important;
}
</style>

27
anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/chexingbyconfiguration.vue

@ -12,7 +12,7 @@
<div class="searchcon">
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button>
<div v-show="isSearchShow" class="search">
<el-form ref="listQueryform" :inline="true" :model="listQuery" class="tab-header">
<el-form ref="listQueryform" :inline="true" :model="listQuery" class="tab-header" label-width="100px">
<el-form-item label="车型:">
<el-input v-model="listQuery.params.vehicleAlias" placeholder="" clearable class="filter-item"/>
</el-form-item>
@ -21,8 +21,8 @@
</el-form-item>
</el-form>
<div class="btn" style="text-align: center">
<el-button type="primary" size="small" @click="handleFilter">查询</el-button>
<el-button type="primary" size="small" @click="handresetting">重置</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleFilter">查询</el-button>
<el-button type="primary" icon="el-icon-refresh" size="small" @click="handresetting">重置</el-button>
</div>
</div>
</div>
@ -40,7 +40,7 @@
<span>{{ scope.row.configName }}</span>
</template>
</el-table-column>
<el-table-column label="销售指导价(元)" width="200" align="center">
<el-table-column label="销售指导价(元)" width="200" align="center">
<template slot-scope="scope">
<span>{{ scope.row.guidedPrice }}</span>
</template>
@ -137,13 +137,18 @@ export default {
},
//
handresetting() {
this.listQuery.current = 1
this.listQuery.size = 10
this.listQuery.total = 0
this.listQuery.params.vehicleAlias = ''
this.listQuery.params.configName = ''
this.listQuery.params.vehicleStateValue = '库存'
this.listQuery.params.useOrgSid = ''
this.listQuery = {
current: 1,
size: 10,
params: {
vehicleAlias: '',
configName: '',
useOrgSid: '',
vehicleStateValue: '',
sidList: []
},
total: 1
}
this.getPathSid()
},
handleSelectionChange(row) {

344
anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanDaiBanInfo.vue

@ -7,170 +7,111 @@
<div>{{ viewTitle }}</div>
<!--start 添加修改按钮-->
<div>
<el-button type="primary" @click="openAgree('同意')"> </el-button>
<el-button type="danger" @click="openReject('驳回')"> </el-button>
<el-button type="danger" @click="openStop('终止')"> </el-button>
<el-button type="primary" size="small" @click="openAgree('同意')"> </el-button>
<el-button type="danger" size="small" @click="openReject('驳回')"> </el-button>
<el-button type="danger" size="small" @click="openStop('终止')"> </el-button>
</div>
</div>
<!--标题按钮部分结束-->
<!--Start 新增修改部分-->
<div class="listadd">
<div class="wlInfo"><span>排产申请</span></div>
<el-form ref="form_obj" :model="formobj" :rules="rules" label-position="top">
<el-row class="lineone">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请编号:"></el-form-item>
<div class="listconadd">
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<div class="titwu"><span>排产申请</span></div>
<el-row class="rowStyle">
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>分公司:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.createOrgName }}</span></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.applicationCode" readonly/>
</el-form-item>
</el-col>
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请人:"></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.createByName" readonly/>
</el-form-item>
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>申请人:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.createByName }}</span></el-form-item>
</el-col>
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请日期:"></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.applicationDate" readonly/>
</el-form-item>
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>申请日期:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.applicationDate }}</span></el-form-item>
</el-col>
</el-row>
<el-row class="linetwo">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="排产类型:"></el-form-item>
</el-col>
<el-col :span="21">
<el-form-item>
<el-input v-model="formobj.schedulingType" readonly/>
<el-row class="rowStyle">
<el-col :span="24" class="colStyle">
<div class="span-sty spanOneWidth"><span>排产类型:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.schedulingType }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row class="linethree">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="备注:"></el-form-item>
</el-col>
<el-col :span="21">
<el-form-item>
<el-input v-model="formobj.remarks" readonly/>
</el-form-item>
<el-row class="rowStyle">
<el-col :span="24" class="colStyle">
<div class="span-sty spanOneWidth"><span>备注:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.remarks }}</span></el-form-item>
</el-col>
</el-row>
<div class="title">
<div>排产车型列表</div>
</div>
<el-table :key="tableKey" :data="formobj.busVehicleApplyDetailList" :index="index" border style="width: 100%" show-summary :summary-method="getSummaries">
<el-table-column fixed width="110px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column label="车型" align="center" width="250">
<template slot-scope="scope">
<span>{{ scope.row.vehicleName }}</span>
</template>
</el-table-column>
<el-table-column label="常用配置" align="left" header-align="center" width="400">
<template slot-scope="scope">
<span>{{ scope.row.configName }}</span>
</template>
</el-table-column>
<el-table-column label="内部编码" align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.insideCode }}</span>
</template>
</el-table-column>
<el-table-column label="排产数量" align="center" width="130">
<template slot-scope="scope">
<span>{{ scope.row.quantity }}</span>
</template>
</el-table-column>
<el-table-column prop="applyForDeposit" label="申请订金" align="center" width="150">
<template slot-scope="scope" prop="applyForDeposit">
<span>{{ scope.row.applyForDeposit }}</span>
</template>
</el-table-column>
<el-table-column label="厂家合同价" align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.contractPrice }}</span>
</template>
</el-table-column>
<el-table-column label="销售指导价" align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.saleGuPrice }}</span>
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.remarks }}</span>
</template>
</el-table-column>
<el-table-column label="上装信息" header-align="center" width="100" align="center">
<template slot-scope="scope">
<span class="bluezi">查看</span>
</template>
</el-table-column>
</el-table>
</el-form>
<div class="tableStyle">
<div style="margin-left: 5px;font-weight: bold">排产车型列表</div>
</div>
<el-table :key="tableKey" :data="formobj.busVehicleApplyDetailDtoList" :index="index" border style="width: 100%" show-summary :summary-method="getSummaries">
<el-table-column fixed width="110px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column label="车型" align="center" width="250">
<template slot-scope="scope">
<span>{{ scope.row.vehicleName }}</span>
</template>
</el-table-column>
<el-table-column label="常用配置" align="left" header-align="center" width="400">
<template slot-scope="scope">
<span>{{ scope.row.configName }}</span>
</template>
</el-table-column>
<el-table-column label="内部编码" align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.insideCode }}</span>
</template>
</el-table-column>
<el-table-column label="排产数量" align="center" width="130">
<template slot-scope="scope">
<span>{{ scope.row.quantity }}</span>
</template>
</el-table-column>
<!-- <el-table-column prop="useDeposit" label="使用订金" header-align="center" width="150">-->
<!-- <template slot-scope="scope" prop="useDeposit">-->
<!-- <span>{{ scope.row.useDeposit }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column prop="applyForDeposit" label="申请订金" align="center" width="150">
<template slot-scope="scope" prop="applyForDeposit">
<span>{{ scope.row.applyForDeposit }}</span>
</template>
</el-table-column>
<el-table-column label="厂家合同价" align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.contractPrice }}</span>
</template>
</el-table-column>
<el-table-column label="销售指导价" align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.saleGuPrice }}</span>
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.remarks }}</span>
</template>
</el-table-column>
<el-table-column label="上装信息" align="center" width="100">
<template slot-scope="scope">
<span class="bluezi">查看</span>
</template>
</el-table-column>
</el-table>
<!-- <div>-->
<!-- <div class="tableStyle">-->
<!-- <div style="margin-left: 5px;font-weight: bold">订金使用情况</div>-->
<!-- </div>-->
<!-- <el-form ref="formobj" :model="formobj" label-width="130px" label-position="top" class="formadd">-->
<!-- <el-row>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="当前订金金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- {{ formobj.currentAmount }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="本次需使用金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- {{ useMoney }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="本次申请金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- {{ applyMoney }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- </el-row>-->
<!-- </el-form>-->
<!-- </div>-->
</div>
</div>
<!-- <span class="el-icon-picture-outline">流程图</span>-->
<!-- <flow :xmlData="xmlData" :taskData="taskList"></flow>-->
<!--End 添加修改部分-->
<!-- 选择待办人 的弹出框-->
<el-dialog title="填写审批意见" :visible.sync="nodeDialogVisible" width="80%">
<el-form label-position="right" class="formadd" >
<el-row v-show="currentLink">
<el-col :span="4" class="tleftb">当前环节</el-col>
<el-col :span="20" class="trightb">
<el-form-item prop="purchasingUnitName"><span>{{ current.taskName }}->{{ nextNode.name }}</span></el-form-item>
<el-form class="formaddcopy02" >
<el-row v-show="currentLink" style="border-top: 1px solid #e0e3eb">
<el-col :span="24">
<div class="span-sty spanTwoWidth"><span>当前环节:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ current.taskName }}->{{ nextNode.name }}</span></el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="4" class="tleftb">意见</el-col>
<el-col :span="20" class="trightb">
<el-input size="small" v-model="dialogList.comment" placeholder="审批意见" class="addinputw" clearable ></el-input>
<el-col :span="24">
<div class="span-sty spanTwoWidth"><span>意见:</span></div>
<el-form-item><el-input size="small" v-model="dialogList.comment" placeholder="审批意见" class="addinputw addinputOne" clearable ></el-input></el-form-item>
</el-col>
</el-row>
<div style="text-align:center;margin-top: 20px;">
@ -184,12 +125,8 @@
<script>
import req from '@/api/supplychain/busvehicleapply'
import flow from '../../../baseoutsourcingapplication/workflow/flow'
export default {
name: 'cheliangpaichanDaiBanInfo',
components: {
flow
},
data() {
return {
viewTitle: '',
@ -201,8 +138,6 @@ export default {
dialogList: {
comment: ''
},
xmlData: '', // xml
taskList: [],
startTask: true,
current: {
taskDefKey: '',
@ -222,7 +157,7 @@ export default {
schedulingTypeKey: '',
remarks: '', //
currentAmount: '', //
busVehicleApplyDetailDtoList: []
busVehicleApplyDetailList: []
},
//
linkByParameter: {
@ -252,9 +187,6 @@ export default {
this.linkByParameter.userSid = window.sessionStorage.getItem('userSid')
this.current.taskDefKey = obj.taskDefKey
this.current.taskName = obj.taskName
//
// this.getModelDetail(obj.deployId)
// this.getFlowViewer(obj.instanceId)
//
this.showInfo(obj.businessSid)
},
@ -264,7 +196,7 @@ export default {
params: {
//
code: 2,
data: 550 + 'px'
data: 500 + 'px'
}
}, '*')
},
@ -276,33 +208,11 @@ export default {
this.viewTitle = '排产申请详情'
req.fetchBySid(sid).then((resp) => {
const data = resp.data
this.formobj.applicationCode = data.applicationCode
this.formobj.applicationDate = data.applicationDate
this.formobj.schedulingType = data.schedulingType
this.formobj.schedulingTypeKey = data.schedulingTypeKey
this.formobj.remarks = data.remarks
this.formobj.currentAmount = data.currentAmount
this.formobj.sid = sid
this.formobj.createBySid = data.createBySid
this.formobj.createByName = data.createByName
this.formobj.busVehicleApplyDetailDtoList = data.busVehicleApplyDetailVoList
this.formobj = data
}).catch((e) => {
this.formobj = {}
})
},
/** xml 文件 */
getModelDetail(deployId) {
// xml
req.readXml(deployId).then((res) => {
this.xmlData = res.data
})
},
//
getFlowViewer(procInsId) {
req.getFlowViewer(procInsId).then((res) => {
this.taskList = res.data
})
},
//
openAgree(val) {
this.operation = val
@ -342,9 +252,17 @@ export default {
if (this.operation === '同意') {
this.handleAgree()
} else if (this.operation === '驳回') {
this.handleReject()
if (this.dialogList.comment === '') {
this.$message({ showClose: true, type: 'error', message: '请填写审批意见' })
} else {
this.handleReject()
}
} else if (this.operation === '终止') {
this.handleStop()
if (this.dialogList.comment === '') {
this.$message({ showClose: true, type: 'error', message: '请填写审批意见' })
} else {
this.handleStop()
}
}
},
/** 同意任务 */
@ -483,59 +401,35 @@ export default {
</script>
<style scoped>
.diaTitle {
padding: 30px 0 15px 0;
font-size: 20px;
font-weight: 500;
}
.inputType {
width: 600px;
}
.wlInfo {
text-align: center;
font-size: 28px;
line-height: 90px;
}
.lineone {
border-bottom: 2px solid #e0e3eb;
}
.lineone .el-form-item {
margin-bottom: -10px;
}
.lineone >>> .el-input__inner {
border: 0;
.listconadd {
height: calc(100vh - 0px) !important;
}
.linetwo {
margin-top: 10px;
.title {
padding: 7px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.linetwo .el-form-item {
margin-bottom: 0px !important;
.spanOneWidth {
border-right: 0px !important;
width: 150px !important;
}
.linetwo >>> .el-input__inner {
border: 0;
.addinputOne {
margin-left: 150px !important;
}
.linethree .el-form-item {
margin-bottom: 0px !important;
.rowStyle {
border-left: 0px;
}
.linethree >>> .el-input__inner {
border: 0;
.colStyle {
border-right: 0px !important;
border-bottom: 0px !important;
}
.tableStyle {
background-color: #FFFFFF;
display: flex;
justify-content: flex-start;
align-items: center;
border: 1px solid #dfe4ed;
height: 40px;
.colOneStyle {
border-right: 0px !important;
}
.el-form-item-right {
text-align: right;
}
.formadd{
padding: 0px !important;
}
.icon {
color: #e84026;
margin-right: 4px;
.spanTwoWidth {
width: 150px !important;
}
</style>

318
anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanEdit.vue

@ -11,162 +11,105 @@
</el-button>
<el-button type="primary" size="small" @click="submitVehicleApply()">提交
</el-button>
<!-- <el-button type="info" size="small" @click="handleReturn()">返回</el-button>-->
</div>
</div>
<!--标题按钮部分结束-->
<!--Start 新增修改部分-->
<div class="">
<div class="wlInfo"><span>排产申请</span></div>
<el-form ref="form_obj" :model="formobj" :rules="rules" label-position="top">
<el-row class="lineone">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请编号:"></el-form-item>
<div class="listconadd">
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<div class="titwu"><span>排产申请</span></div>
<el-row class="rowStyle">
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>分公司:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.createOrgName }}</span></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.applicationCode" readonly/>
</el-form-item>
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>申请人:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.createByName }}</span></el-form-item>
</el-col>
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请人:"></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.createByName" readonly/>
</el-form-item>
</el-col>
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请日期:"></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.applicationDate" readonly/>
</el-form-item>
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>申请日期:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.applicationDate }}</span></el-form-item>
</el-col>
</el-row>
<el-row class="linetwo">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="排产类型:"></el-form-item>
</el-col>
<el-col :span="21">
<el-row class="rowStyle">
<el-col :span="24" class="colStyle">
<div class="span-sty spanOneWidth"><span>排产类型:</span></div>
<el-form-item>
<el-select v-model="formobj.schedulingType" placeholder="请选择" @change="changeSchedulingType" clearable>
<el-select v-model="formobj.schedulingType" placeholder="请选择" @change="changeSchedulingType" clearable class="addinputInfo addinputOne">
<el-option v-for="item in schedulingType_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictValue"></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row class="linethree">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="备注:"></el-form-item>
</el-col>
<el-col :span="21">
<el-form-item>
<el-input v-model="formobj.remarks" clearable/>
</el-form-item>
<el-row class="rowStyle">
<el-col :span="24" class="colStyle">
<div class="span-sty spanOneWidth"><span>备注:</span></div>
<el-form-item><el-input class="addinputw addinputOne" v-model="formobj.remarks" clearable placeholder=""/></el-form-item>
</el-col>
</el-row>
</el-form>
<div class="tableStyle">
<div style="margin-left: 5px;font-weight: bold">排产车型列表</div>
<div style="margin-left: 15px">
<el-button type="primary" size="small" icon="el-icon-plus" @click="addCommodity()">车型选择</el-button>
<div class="title">
<div>排产车型列表</div>
<div>
<el-button type="primary" size="mini" icon="el-icon-plus" @click="addCommodity()">车型选择</el-button>
</div>
</div>
</div>
<el-table :key="tableKey" :data="formobj.busVehicleApplyDetailDtoList" :index="index" border style="width: 100%" show-summary :summary-method="getSummaries">
<el-table-column fixed width="110px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column fixed prop="name" label="操作" width="190px" align="center" header-align="center">
<template slot-scope="scope">
<el-button size="mini" type="danger" @click="dataDelete(scope.$index, formobj.busVehicleApplyDetailDtoList[scope.$index])">删除
</el-button>
<el-button size="mini" type="primary">上装选择</el-button>
</template>
</el-table-column>
<el-table-column label="车型" align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.vehicleName }}</span>
</template>
</el-table-column>
<el-table-column label="常用配置" align="left" header-align="center" width="400">
<template slot-scope="scope">
<span>{{ scope.row.configName }}</span>
</template>
</el-table-column>
<el-table-column label="内部编码" header-align="center" width="200">
<template slot-scope="scope">
<el-input v-model="scope.row.insideCode" :readonly="isRead" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="排产数量" header-align="center" width="130">
<template slot-scope="scope">
<el-input v-model="scope.row.quantity" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<!-- <el-table-column prop="useDeposit" label="使用订金" header-align="center" width="150">-->
<!-- <template slot-scope="scope" prop="useDeposit">-->
<!-- <el-input v-model="scope.row.useDeposit" placeholder="" class="addinputw" clearable/>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column prop="applyForDeposit" label="申请订金" header-align="center" width="150">
<template slot-scope="scope" prop="applyForDeposit">
<el-input v-model="scope.row.applyForDeposit" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="厂家合同价" header-align="center" width="150">
<template slot-scope="scope">
<el-input v-model="scope.row.contractPrice" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="销售指导价" header-align="center" width="150">
<template slot-scope="scope">
<el-input v-model="scope.row.saleGuPrice" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" width="150">
<template slot-scope="scope">
<el-input v-model="scope.row.remarks" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="上装信息" header-align="center" width="100" align="center">
<template slot-scope="scope">
<span class="bluezi">查看</span>
</template>
</el-table-column>
</el-table>
<!-- <div>-->
<!-- <div class="tableStyle">-->
<!-- <div style="margin-left: 5px;font-weight: bold">订金使用情况</div>-->
<!-- </div>-->
<!-- <el-form ref="formobj" :model="formobj" label-width="130px" label-position="top" class="formadd">-->
<!-- <el-row>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="当前订金金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- <el-input v-model="formobj.currentAmount" placeholder="" clearable/>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="本次需使用金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- {{ useMoney }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="本次申请金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- {{ applyMoney }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- </el-row>-->
<!-- </el-form>-->
<!-- </div>-->
<el-table :key="tableKey" :data="formobj.busVehicleApplyDetailList" :index="index" border style="width: 100%" show-summary :summary-method="getSummaries">
<el-table-column fixed width="110px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column fixed label="操作" width="190px" align="center" header-align="center">
<template slot-scope="scope">
<el-button size="mini" type="danger" @click="dataDelete(scope.$index)">删除
</el-button>
<el-button size="mini" type="primary">上装选择</el-button>
</template>
</el-table-column>
<el-table-column label="车型" align="center" header-align="center" width="250">
<template slot-scope="scope">
<span>{{ scope.row.vehicleName }}</span>
</template>
</el-table-column>
<el-table-column label="常用配置" align="left" header-align="center" width="400">
<template slot-scope="scope">
<span>{{ scope.row.configName }}</span>
</template>
</el-table-column>
<el-table-column label="内部编码" header-align="center" width="200">
<template slot-scope="scope">
<el-input v-model="scope.row.insideCode" :readonly="isRead" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="排产数量" header-align="center" width="130">
<template slot-scope="scope">
<el-input v-model="scope.row.quantity" @keyup.native="UpNumber" @keydown.native="UpNumber" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column prop="applyForDeposit" label="申请订金" header-align="center" width="150">
<template slot-scope="scope" prop="applyForDeposit">
<el-input v-model="scope.row.applyForDeposit" @keyup.native="UpNumber" @keydown.native="UpNumber" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="厂家合同价" header-align="center" width="150">
<template slot-scope="scope">
<el-input v-model="scope.row.contractPrice" @keyup.native="UpNumber" @keydown.native="UpNumber" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="销售指导价" header-align="center" width="150">
<template slot-scope="scope">
<el-input v-model="scope.row.saleGuPrice" @keyup.native="UpNumber" @keydown.native="UpNumber" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" width="200">
<template slot-scope="scope">
<el-input v-model="scope.row.remarks" placeholder="" class="addinputw" clearable/>
</template>
</el-table-column>
<el-table-column label="上装信息" header-align="center" width="100" align="center">
<template slot-scope="scope">
<span class="bluezi">查看</span>
</template>
</el-table-column>
</el-table>
</el-form>
</div>
</div>
<!--End 添加修改部分-->
@ -193,12 +136,11 @@ export default {
tableKey: 0,
//
schedulingType_list: [], // 使
useMoney: '', // 使
applyMoney: '', //
isRead: false,
//
formobj: {
sid: '', // sid
createByDeptSid: '',
createBySid: '', // sid
createByName: '', //
applicationCode: '', //
@ -210,7 +152,9 @@ export default {
salesSid: '', // sid
instanceId: '', // ID
taskId: '', // ID
busVehicleApplyDetailDtoList: []
createOrgSid: '',
createOrgName: '',
busVehicleApplyDetailList: []
},
rules: {},
submitdisabled: false
@ -230,7 +174,7 @@ export default {
params: {
//
code: 2,
data: document.body.scrollHeight + 'px'
data: 500 + 'px'
}
}, '*')
},
@ -238,7 +182,7 @@ export default {
// -
getSchedulingType() {
req.pullDown({ type: 'schedulingType' }).then((res) => {
if (res.code == '200') {
if (res.success) {
this.schedulingType_list = res.data
console.log('下拉框请求111', res.data)
}
@ -247,7 +191,7 @@ export default {
//
addCommodity() {
this.viewState = 2
this.$refs['divconfiguration'].showData(this.formobj.busVehicleApplyDetailDtoList)
this.$refs['divconfiguration'].showData(this.formobj.busVehicleApplyDetailList)
},
//
dataDelete(index, row) {
@ -262,18 +206,8 @@ export default {
console.log('编辑回显', sid)
req.fetchBySid(sid).then((resp) => {
const data = resp.data
this.formobj.applicationCode = data.applicationCode
this.formobj.applicationDate = data.applicationDate
this.formobj.schedulingType = data.schedulingType
this.formobj.schedulingTypeKey = data.schedulingTypeKey
this.formobj.remarks = data.remarks
this.formobj.currentAmount = data.currentAmount
this.formobj = data
this.formobj.instanceId = data.procInstId
this.formobj.taskId = data.taskId
this.formobj.sid = sid
this.formobj.createBySid = data.createBySid
this.formobj.createByName = data.createByName
this.formobj.busVehicleApplyDetailDtoList = data.busVehicleApplyDetailVoList
}).catch((e) => {
this.formobj = row
})
@ -373,23 +307,6 @@ export default {
}
})
},
// // ===
// handleReturn(isreload) {
// if (isreload === 'true') this.$emit('reloadlist')
// this.formobj.schedulingType = '' //
// this.formobj.schedulingTypeKey =''
// this.formobj.remarks = '' //
// this.formobj.currentAmount = ''
// this.formobj.applicationCode = ''
// this.formobj.applicationDate = ''
// this.formobj.createBySid = ''
// this.formobj.createByName = ''
// this.formobj.taskId = ''
// this.formobj.instanceId = ''
// this.formobj.busVehicleApplyDetailDtoList = []
// this.$refs['form_obj'].resetFields()
// this.$emit('doback')
// },
//
getSummaries(param) {
const { columns, data } = param
@ -438,47 +355,32 @@ export default {
</script>
<style scoped>
.wlInfo {
text-align: center;
font-size: 28px;
line-height: 90px;
}
.lineone {
border-bottom: 2px solid #e0e3eb;
}
.lineone .el-form-item {
margin-bottom: -10px;
.listconadd {
height: calc(100vh - 0px) !important;
}
.lineone >>> .el-input__inner {
border: 0;
}
.linetwo {
margin-top: 10px;
}
.linetwo .el-form-item {
margin-bottom: 0px !important;
}
.linethree .el-form-item {
margin-bottom: 0px !important;
}
.tableStyle {
background-color: #FFFFFF;
.title {
padding: 7px;
display: flex;
justify-content: flex-start;
flex-direction: row;
justify-content: space-between;
align-items: center;
border: 1px solid #dfe4ed;
height: 40px;
}
.el-form-item-right {
/* padding: 0 10px 0 0; */
text-align: right;
.spanOneWidth {
border-right: 0px !important;
width: 150px !important;
}
.addinputOne {
margin-left: 150px !important;
}
.rowStyle {
border-left: 0px;
}
.formadd{
padding: 0px !important;
.colStyle {
border-right: 0px !important;
border-bottom: 0px !important;
}
.icon {
color: #e84026;
margin-right: 4px;
.colOneStyle {
border-right: 0px !important;
}
</style>

313
anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/cheliangpaichanYiBanInfo.vue

@ -7,175 +7,107 @@
<div>{{ viewTitle }}</div>
<!--start 添加修改按钮-->
<div>
<el-button type="danger" @click="openRevoke()"> </el-button>
<el-button type="danger" size="small" @click="openRevoke()"> </el-button>
</div>
</div>
<!--标题按钮部分结束-->
<!--Start 新增修改部分-->
<div class="listadd">
<div class="wlInfo"><span>排产申请</span></div>
<el-form ref="form_obj" :model="formobj" :rules="rules" label-position="top">
<el-row class="lineone">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请编号:"></el-form-item>
<div class="listconadd">
<el-form ref="form_obj" :model="formobj" :rules="rules" class="formaddcopy02">
<div class="titwu"><span>排产申请</span></div>
<el-row class="rowStyle">
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>分公司:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.createOrgName }}</span></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.applicationCode" readonly/>
</el-form-item>
</el-col>
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请人:"></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.createByName" readonly/>
</el-form-item>
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>申请人:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.createByName }}</span></el-form-item>
</el-col>
<el-col :span="3" class="el-form-item-right">
<el-form-item label="申请日期:"></el-form-item>
</el-col>
<el-col :span="5">
<el-form-item>
<el-input v-model="formobj.applicationDate" readonly/>
</el-form-item>
<el-col :span="8" class="colOneStyle">
<div class="span-sty spanOneWidth"><span>申请日期:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.applicationDate }}</span></el-form-item>
</el-col>
</el-row>
<el-row class="linetwo">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="排产类型:"></el-form-item>
</el-col>
<el-col :span="21">
<el-form-item>
<el-input v-model="formobj.schedulingType" readonly/>
<el-row class="rowStyle">
<el-col :span="24" class="colStyle">
<div class="span-sty spanOneWidth"><span>排产类型:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.schedulingType }}</span>
</el-form-item>
</el-col>
</el-row>
<el-row class="linethree">
<el-col :span="3" class="el-form-item-right">
<el-form-item label="备注:"></el-form-item>
</el-col>
<el-col :span="21">
<el-form-item>
<el-input v-model="formobj.remarks" readonly/>
</el-form-item>
<el-row class="rowStyle">
<el-col :span="24" class="colStyle">
<div class="span-sty spanOneWidth"><span>备注:</span></div>
<el-form-item><span class="addinputInfo addinputOne">{{ formobj.remarks }}</span></el-form-item>
</el-col>
</el-row>
<div class="title">
<div>排产车型列表</div>
</div>
<el-table :key="tableKey" :data="formobj.busVehicleApplyDetailList" :index="index" border style="width: 100%" show-summary :summary-method="getSummaries">
<el-table-column fixed width="110px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column label="车型" align="center" width="250">
<template slot-scope="scope">
<span>{{ scope.row.vehicleName }}</span>
</template>
</el-table-column>
<el-table-column label="常用配置" align="left" header-align="center" width="400">
<template slot-scope="scope">
<span>{{ scope.row.configName }}</span>
</template>
</el-table-column>
<el-table-column label="内部编码" align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.insideCode }}</span>
</template>
</el-table-column>
<el-table-column label="排产数量" align="center" width="130">
<template slot-scope="scope">
<span>{{ scope.row.quantity }}</span>
</template>
</el-table-column>
<el-table-column prop="applyForDeposit" label="申请订金" align="center" width="150">
<template slot-scope="scope" prop="applyForDeposit">
<span>{{ scope.row.applyForDeposit }}</span>
</template>
</el-table-column>
<el-table-column label="厂家合同价" align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.contractPrice }}</span>
</template>
</el-table-column>
<el-table-column label="销售指导价" align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.saleGuPrice }}</span>
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.remarks }}</span>
</template>
</el-table-column>
<el-table-column label="上装信息" header-align="center" width="100" align="center">
<template slot-scope="scope">
<span class="bluezi">查看</span>
</template>
</el-table-column>
</el-table>
</el-form>
<div class="tableStyle">
<div style="margin-left: 5px;font-weight: bold">排产车型列表</div>
</div>
<el-table :key="tableKey" :data="formobj.busVehicleApplyDetailDtoList" :index="index" border style="width: 100%" show-summary :summary-method="getSummaries">
<el-table-column fixed width="110px" label="序号" type="index" :index="index + 1" align="center"/>
<el-table-column label="车型" align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.vehicleName }}</span>
</template>
</el-table-column>
<el-table-column label="常用配置" align="left" header-align="center" width="400">
<template slot-scope="scope">
<span>{{ scope.row.configName }}</span>
</template>
</el-table-column>
<el-table-column label="内部编码" align="center" width="200">
<template slot-scope="scope">
<span>{{ scope.row.insideCode }}</span>
</template>
</el-table-column>
<el-table-column label="排产数量" align="center" width="130">
<template slot-scope="scope">
<span>{{ scope.row.quantity }}</span>
</template>
</el-table-column>
<!-- <el-table-column prop="useDeposit" label="使用订金" header-align="center" width="150">-->
<!-- <template slot-scope="scope" prop="useDeposit">-->
<!-- <span>{{ scope.row.useDeposit }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column prop="applyForDeposit" label="申请订金" align="center" width="150">
<template slot-scope="scope" prop="applyForDeposit">
<span>{{ scope.row.applyForDeposit }}</span>
</template>
</el-table-column>
<el-table-column label="厂家合同价" align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.contractPrice }}</span>
</template>
</el-table-column>
<el-table-column label="销售指导价" align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.saleGuPrice }}</span>
</template>
</el-table-column>
<el-table-column label="备注" header-align="center" width="150">
<template slot-scope="scope">
<span>{{ scope.row.remarks }}</span>
</template>
</el-table-column>
<el-table-column label="上装信息" align="center" width="100">
<template slot-scope="scope">
<span class="bluezi">查看</span>
</template>
</el-table-column>
</el-table>
<!-- <div>-->
<!-- <div class="tableStyle">-->
<!-- <div style="margin-left: 5px;font-weight: bold">订金使用情况</div>-->
<!-- </div>-->
<!-- <el-form ref="formobj" :model="formobj" label-width="130px" label-position="top" class="formadd">-->
<!-- <el-row>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="当前订金金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- {{ formobj.currentAmount }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="本次需使用金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- {{ useMoney }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4" class="el-form-item-right">-->
<!-- <el-form-item label="本次申请金额"></el-form-item>-->
<!-- </el-col>-->
<!-- <el-col :span="4">-->
<!-- <el-form-item>-->
<!-- {{ applyMoney }}-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<!-- </el-row>-->
<!-- </el-form>-->
<!-- </div>-->
</div>
</div>
<!-- <span class="el-icon-picture-outline">流程图</span>-->
<!-- <flow :xmlData="xmlData" :taskData="taskList"></flow>-->
<!--End 添加修改部分-->
</div>
</template>
<script>
import req from '@/api/supplychain/busvehicleapply'
import flow from '../../../baseoutsourcingapplication/workflow/flow'
export default {
name: 'cheliangpaichanYiBanInfo',
components: {
flow
},
data() {
return {
viewTitle: '',
index: 0,
tableKey: 0,
useMoney: '', // 使
applyMoney: '', //
xmlData: '', // xml
taskList: [],
//
formobj: {
sid: '', // sid
@ -187,7 +119,7 @@ export default {
schedulingTypeKey: '',
remarks: '', //
currentAmount: '', //
busVehicleApplyDetailDtoList: []
busVehicleApplyDetailList: []
},
//
linkByParameter: {
@ -215,9 +147,6 @@ export default {
this.linkByParameter.taskDefKey = obj.taskDefKey
this.linkByParameter.orgSidPath = window.sessionStorage.getItem('orgSidPath')
this.linkByParameter.userSid = window.sessionStorage.getItem('userSid')
//
// this.getModelDetail(obj.deployId)
// this.getFlowViewer(obj.instanceId)
//
this.showInfo(obj.businessSid)
},
@ -227,7 +156,7 @@ export default {
params: {
//
code: 2,
data: 550 + 'px'
data: 500 + 'px'
}
}, '*')
},
@ -239,33 +168,11 @@ export default {
this.viewTitle = '排产申请详情'
req.fetchBySid(sid).then((resp) => {
const data = resp.data
this.formobj.applicationCode = data.applicationCode
this.formobj.applicationDate = data.applicationDate
this.formobj.schedulingType = data.schedulingType
this.formobj.schedulingTypeKey = data.schedulingTypeKey
this.formobj.remarks = data.remarks
this.formobj.currentAmount = data.currentAmount
this.formobj.sid = sid
this.formobj.createBySid = data.createBySid
this.formobj.createByName = data.createByName
this.formobj.busVehicleApplyDetailDtoList = data.busVehicleApplyDetailVoList
this.formobj = data
}).catch((e) => {
this.formobj = {}
})
},
/** xml 文件 */
getModelDetail(deployId) {
// xml
req.readXml(deployId).then((res) => {
this.xmlData = res.data
})
},
//
getFlowViewer(procInsId) {
req.getFlowViewer(procInsId).then((res) => {
this.taskList = res.data
})
},
/** 确认撤回任务 */
openRevoke() {
this.$confirm('是否确认执行撤回操作', '提示', {
@ -354,59 +261,31 @@ export default {
</script>
<style scoped>
.diaTitle {
padding: 30px 0 15px 0;
font-size: 20px;
font-weight: 500;
}
.inputType {
width: 600px;
}
.wlInfo {
text-align: center;
font-size: 28px;
line-height: 90px;
}
.lineone {
border-bottom: 2px solid #e0e3eb;
}
.lineone .el-form-item {
margin-bottom: -10px;
}
.lineone >>> .el-input__inner {
border: 0;
}
.linetwo {
margin-top: 10px;
.listconadd {
height: calc(100vh - 0px) !important;
}
.linetwo .el-form-item {
margin-bottom: 0px !important;
}
.linetwo >>> .el-input__inner {
border: 0;
}
.linethree .el-form-item {
margin-bottom: 0px !important;
}
.linethree >>> .el-input__inner {
border: 0;
}
.tableStyle {
background-color: #FFFFFF;
.title {
padding: 7px;
display: flex;
justify-content: flex-start;
flex-direction: row;
justify-content: space-between;
align-items: center;
border: 1px solid #dfe4ed;
height: 40px;
}
.el-form-item-right {
text-align: right;
.spanOneWidth {
border-right: 0px !important;
width: 150px !important;
}
.addinputOne {
margin-left: 150px !important;
}
.rowStyle {
border-left: 0px;
}
.formadd{
padding: 0px !important;
.colStyle {
border-right: 0px !important;
border-bottom: 0px !important;
}
.icon {
color: #e84026;
margin-right: 4px;
.colOneStyle {
border-right: 0px !important;
}
</style>

27
anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/chexingbyconfiguration.vue

@ -12,7 +12,7 @@
<div class="searchcon">
<el-button size="small" class="searchbtn" @click="clicksearchShow">{{ searchxianshitit }}</el-button>
<div v-show="isSearchShow" class="search">
<el-form ref="listQueryform" :inline="true" :model="listQuery" class="tab-header">
<el-form ref="listQueryform" :inline="true" :model="listQuery" class="tab-header" label-width="100px">
<el-form-item label="车型:">
<el-input v-model="listQuery.params.vehicleAlias" placeholder="" clearable class="filter-item"/>
</el-form-item>
@ -21,8 +21,8 @@
</el-form-item>
</el-form>
<div class="btn" style="text-align: center">
<el-button type="primary" size="small" @click="handleFilter">查询</el-button>
<el-button type="primary" size="small" @click="handresetting">重置</el-button>
<el-button type="primary" icon="el-icon-search" size="small" @click="handleFilter">查询</el-button>
<el-button type="primary" icon="el-icon-refresh" size="small" @click="handresetting">重置</el-button>
</div>
</div>
</div>
@ -40,7 +40,7 @@
<span>{{ scope.row.configName }}</span>
</template>
</el-table-column>
<el-table-column label="销售指导价(元)" width="200" align="center">
<el-table-column label="销售指导价(元)" width="200" align="center">
<template slot-scope="scope">
<span>{{ scope.row.guidedPrice }}</span>
</template>
@ -137,13 +137,18 @@ export default {
},
//
handresetting() {
this.listQuery.current = 1
this.listQuery.size = 10
this.listQuery.total = 0
this.listQuery.params.vehicleAlias = ''
this.listQuery.params.configName = ''
this.listQuery.params.vehicleStateValue = '库存'
this.listQuery.params.useOrgSid = ''
this.listQuery = {
current: 1,
size: 10,
params: {
vehicleAlias: '',
configName: '',
useOrgSid: '',
vehicleStateValue: '',
sidList: []
},
total: 1
}
this.getPathSid()
},
handleSelectionChange(row) {

2
anrui-scm/anrui-scm-ui/src/views/workFlow/weishoumaiduanFlow/weishoumaiduanguanli/weishoumaiduanYiBanInfo.vue

@ -7,7 +7,7 @@
<div>车辆未售买断申请详情</div>
<!--start 添加修改按钮-->
<div>
<el-button type="info" size="small" @click="handleReturn()">关闭</el-button>
<el-button type="info" size="small" @click="openRevoke()">撤回</el-button>
</div>
</div>
<!--标题按钮部分结束-->

Loading…
Cancel
Save