Merge branch 'master' of github.com:shawncai/ERP

This commit is contained in:
beyond 2019-05-21 14:53:07 +08:00
commit 5a629e843a
604 changed files with 17219 additions and 2987 deletions

View file

@ -266,6 +266,12 @@ const reg = /^[A-Z0-9]{2}$/
const date = new Date()
date.setTime(date.getTime() + 3600 * 1000 * 24 * 7)
this.getemplist.time = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
```
###### 当前日期
```js
const date = new Date()
date.setTime(date.getTime())
this.personalForm.enterDate = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
```
###### 完成进度
```text

View file

@ -31,6 +31,9 @@ export function advancelist(query) {
if (query.productType !== '' && query.productType !== null && query.productType !== undefined) {
params.append('productType', query.productType) // 你要传给后台的参数值 key/value
}
if (query.isUse !== '' && query.isUse !== null && query.isUse !== undefined) {
params.append('isUse', query.isUse) // 你要传给后台的参数值 key/value
}
params.append('pageNum', query.pageNum) // 你要传给后台的参数值 key/value
params.append('pageSize', query.pageSize) // 你要传给后台的参数值 key/value
return request({

40
src/api/CarStatList.js Normal file
View file

@ -0,0 +1,40 @@
import request from '@/utils/request'
// 车辆使用情况
export function carStatList(query) {
var params = new URLSearchParams()
if (query.licencenumber !== '' && query.licencenumber !== null && query.licencenumber !== undefined) {
params.append('licencenumber', query.licencenumber) // 你要传给后台的参数值 key/value
}
if (query.carnumber !== '' && query.carnumber !== null && query.carnumber !== undefined) {
params.append('carnumber', query.carnumber) // 你要传给后台的参数值 key/value
}
if (query.outPersonId !== '' && query.outPersonId !== null && query.outPersonId !== undefined) {
params.append('outPersonId', query.outPersonId) // 你要传给后台的参数值 key/value
}
if (query.carStat !== '' && query.carStat !== null && query.carStat !== undefined) {
params.append('carStat', query.carStat) // 你要传给后台的参数值 key/value
}
if (query.carType !== '' && query.carType !== null && query.carType !== undefined) {
params.append('carType', query.carType) // 你要传给后台的参数值 key/value
}
if (query.stat !== '' && query.stat !== null && query.stat !== undefined) {
params.append('stat', query.stat) // 你要传给后台的参数值 key/value
}
if (query.repositoryId !== '' && query.repositoryId !== null && query.repositoryId !== undefined) {
params.append('repositoryId', query.repositoryId) // 你要传给后台的参数值 key/value
}
if (query.createPersonId !== '' && query.createPersonId !== null && query.createPersonId !== undefined) {
params.append('createPersonId', query.createPersonId) // 你要传给后台的参数值 key/value
}
if (query.regionIds !== '' && query.regionIds !== null && query.regionIds !== undefined) {
params.append('regionIds', query.regionIds) // 你要传给后台的参数值 key/value
}
params.append('pageNum', query.pageNum) // 你要传给后台的参数值 key/value
params.append('pageSize', query.pageSize) // 你要传给后台的参数值 key/value
return request({
url: '/erp/logisticsCar/carStatList',
method: 'post',
data: params
})
}

103
src/api/DeliverGoods.js Normal file
View file

@ -0,0 +1,103 @@
import request from '@/utils/request'
// 新建配送单
export function addDeliverGoods(query, query2, query4) {
var params = new URLSearchParams()
params.append('deliverGoodsJson', query) // 你要传给后台的参数值 key/value
params.append('deliverGoodsDetailJson', query2) // 你要传给后台的参数值 key/value
if (query4.repositoryId !== '' && query4.repositoryId !== null && query4.repositoryId !== undefined) {
params.append('repositoryId', query4.repositoryId) // 你要传给后台的参数值 key/value
}
if (query4.regionId !== '' && query4.regionId !== null && query4.regionId !== undefined) {
params.append('regionId', query4.regionId) // 你要传给后台的参数值 key/value
}
return request({
url: '/erp/deliverGoods/addDeliverGoods',
method: 'post',
data: params
})
}
// 配送单列表
export function deliverGoodsList(query) {
var params = new URLSearchParams()
if (query.title !== '' && query.title !== null && query.title !== undefined) {
params.append('title', query.title) // 你要传给后台的参数值 key/value
}
if (query.deliverNumber !== '' && query.deliverNumber !== null && query.deliverNumber !== undefined) {
params.append('deliverNumber', query.deliverNumber) // 你要传给后台的参数值 key/value
}
if (query.sourceNUmber !== '' && query.sourceNUmber !== null && query.sourceNUmber !== undefined) {
params.append('sourceNUmber', query.sourceNUmber) // 你要传给后台的参数值 key/value
}
if (query.sourceType !== '' && query.sourceType !== null && query.sourceType !== undefined) {
params.append('sourceType', query.sourceType) // 你要传给后台的参数值 key/value
}
if (query.deliverPersonId !== '' && query.deliverPersonId !== null && query.deliverPersonId !== undefined) {
params.append('deliverPersonId', query.deliverPersonId) // 你要传给后台的参数值 key/value
}
if (query.judgeStat !== '' && query.judgeStat !== null && query.judgeStat !== undefined) {
params.append('judgeStat', query.judgeStat) // 你要传给后台的参数值 key/value
}
if (query.receiptStat !== '' && query.receiptStat !== null && query.receiptStat !== undefined) {
params.append('receiptStat', query.receiptStat) // 你要传给后台的参数值 key/value
}
if (query.beginTime !== '' && query.beginTime !== null && query.beginTime !== undefined) {
params.append('beginTime', query.beginTime) // 你要传给后台的参数值 key/value
}
if (query.endTime !== '' && query.endTime !== null && query.endTime !== undefined) {
params.append('endTime', query.endTime) // 你要传给后台的参数值 key/value
}
if (query.repositoryId !== '' && query.repositoryId !== null && query.repositoryId !== undefined) {
params.append('repositoryId', query.repositoryId) // 你要传给后台的参数值 key/value
}
if (query.createPersonId !== '' && query.createPersonId !== null && query.createPersonId !== undefined) {
params.append('createPersonId', query.createPersonId) // 你要传给后台的参数值 key/value
}
if (query.regionIds !== '' && query.regionIds !== null && query.regionIds !== undefined) {
params.append('regionIds', query.regionIds) // 你要传给后台的参数值 key/value
}
params.append('pageNum', query.pageNum) // 你要传给后台的参数值 key/value
params.append('pageSize', query.pageSize) // 你要传给后台的参数值 key/value
return request({
url: '/erp/deliverGoods/deliverGoodsList',
method: 'post',
data: params
})
}
// 修改配送单
export function updateDeliverGoods(query, query2) {
var params = new URLSearchParams()
params.append('deliverGoodsJson', query) // 你要传给后台的参数值 key/value
params.append('deliverGoodsDetailJson', query2) // 你要传给后台的参数值 key/value
return request({
url: '/erp/deliverGoods/updateDeliverGoods',
method: 'post',
data: params
})
}
// 删除配送单
export function deleteDeliverGoods(query) {
var params = new URLSearchParams()
if (query !== '' && query !== null && query !== undefined) {
params.append('deliverIds', query) // 你要传给后台的参数值 key/value
}
return request({
url: '/erp/deliverGoods/deleteDeliverGoods',
method: 'post',
data: params
})
}
// 审核配送单
export function updateDeliverGoods2(query) {
var params = new URLSearchParams()
params.append('deliverGoodsJson', query) // 你要传给后台的参数值 key/value
return request({
url: '/erp/deliverGoods/updateDeliverGoods',
method: 'post',
data: params
})
}

View file

@ -99,8 +99,11 @@ export function updateemp(query) {
if (query.postId !== '' && query.postId !== null && query.postId !== undefined) {
params.append('postid', query.postId) // 你要传给后台的参数值 key/value
}
if (query.repositoryid2 !== '' && query.repositoryid2 !== null && query.repositoryid2 !== undefined) {
params.append('repositoryid', query.repositoryid2) // 你要传给后台的参数值 key/value
if (query.repositoryId !== '' && query.repositoryId !== null && query.repositoryId !== undefined) {
params.append('repositoryid', query.repositoryId) // 你要传给后台的参数值 key/value
}
if (query.roleId !== '' && query.roleId !== null && query.roleId !== undefined) {
params.append('roleid', query.roleId) // 你要传给后台的参数值 key/value
}
if (query.regionId !== '' && query.regionId !== null && query.regionId !== undefined) {
params.append('regionid', query.regionId) // 你要传给后台的参数值 key/value
@ -160,6 +163,12 @@ export function getemplist(query) {
if (query.regionid !== '' && query.regionid !== undefined) {
params.append('regionid', query.regionid) // 你要传给后台的参数值 key/value
}
if (query.loginRepositoryId !== '' && query.loginRepositoryId !== undefined && query.loginRepositoryId !== null) {
params.append('loginRepositoryId', query.loginRepositoryId) // 你要传给后台的参数值 key/value
}
if (query.regionIds !== '' && query.regionIds !== undefined && query.regionIds !== null) {
params.append('regionIds', query.regionIds) // 你要传给后台的参数值 key/value
}
if (query.postid !== '') {
params.append('postid', query.postid) // 你要传给后台的参数值 key/value
}

View file

@ -58,6 +58,9 @@ export function produceplanlist(query) {
if (query.regionIds !== '' && query.regionIds !== null && query.regionIds !== undefined) {
params.append('regionIds', query.regionIds) // 你要传给后台的参数值 key/value
}
if (query.isUse !== '' && query.isUse !== null && query.isUse !== undefined) {
params.append('isUse', query.isUse) // 你要传给后台的参数值 key/value
}
params.append('pageNum', query.pageNum) // 你要传给后台的参数值 key/value
params.append('pageSize', query.pageSize) // 你要传给后台的参数值 key/value
return request({

View file

@ -85,6 +85,12 @@ export function searchRepository2(query) {
if (query.iseffective !== '' && query.iseffective !== null && query.iseffective !== undefined) {
params.append('iseffective', query.iseffective) // 你要传给后台的参数值 key/value
}
if (query.loginRepositoryId !== '' && query.loginRepositoryId !== undefined && query.loginRepositoryId !== null) {
params.append('loginRepositoryId', query.loginRepositoryId) // 你要传给后台的参数值 key/value
}
if (query.regionIds !== '' && query.regionIds !== undefined && query.regionIds !== null) {
params.append('regionIds', query.regionIds) // 你要传给后台的参数值 key/value
}
if (query.regionId !== '' && query.regionId !== null && query.regionId !== undefined) {
params.append('regionId', query.regionId) // 你要传给后台的参数值 key/value
}

105
src/api/ReturnExchange.js Normal file
View file

@ -0,0 +1,105 @@
import request from '@/utils/request'
// 新建换货单
export function addReturnExchange(query, query2, query3, query4) {
var params = new URLSearchParams()
params.append('returnExchangeJson', query) // 你要传给后台的参数值 key/value
params.append('returnExchangeOutJson', query2) // 你要传给后台的参数值 key/value
params.append('returnExchangeRetreatJson', query3) // 你要传给后台的参数值 key/value
if (query4.repositoryId !== '' && query4.repositoryId !== null && query4.repositoryId !== undefined) {
params.append('repositoryId', query4.repositoryId) // 你要传给后台的参数值 key/value
}
if (query4.regionId !== '' && query4.regionId !== null && query4.regionId !== undefined) {
params.append('regionId', query4.regionId) // 你要传给后台的参数值 key/value
}
return request({
url: '/erp/returnExchange/addReturnExchange',
method: 'post',
data: params
})
}
// 换货单列表
export function exchangelist(query) {
var params = new URLSearchParams()
if (query.title !== '' && query.title !== null && query.title !== undefined) {
params.append('title', query.title) // 你要传给后台的参数值 key/value
}
if (query.exchangeNumber !== '' && query.exchangeNumber !== null && query.exchangeNumber !== undefined) {
params.append('exchangeNumber', query.exchangeNumber) // 你要传给后台的参数值 key/value
}
if (query.handlePersonId !== '' && query.handlePersonId !== null && query.handlePersonId !== undefined) {
params.append('handlePersonId', query.handlePersonId) // 你要传给后台的参数值 key/value
}
if (query.saleRepositoryId !== '' && query.saleRepositoryId !== null && query.saleRepositoryId !== undefined) {
params.append('saleRepositoryId', query.saleRepositoryId) // 你要传给后台的参数值 key/value
}
if (query.customerName !== '' && query.customerName !== null && query.customerName !== undefined) {
params.append('customerName', query.customerName) // 你要传给后台的参数值 key/value
}
if (query.judgeStat !== '' && query.judgeStat !== null && query.judgeStat !== undefined) {
params.append('judgeStat', query.judgeStat) // 你要传给后台的参数值 key/value
}
if (query.receiptStat !== '' && query.receiptStat !== null && query.receiptStat !== undefined) {
params.append('receiptStat', query.receiptStat) // 你要传给后台的参数值 key/value
}
if (query.beginTime !== '' && query.beginTime !== null && query.beginTime !== undefined) {
params.append('beginTime', query.beginTime) // 你要传给后台的参数值 key/value
}
if (query.endTime !== '' && query.endTime !== null && query.endTime !== undefined) {
params.append('endTime', query.endTime) // 你要传给后台的参数值 key/value
}
if (query.repositoryId !== '' && query.repositoryId !== null && query.repositoryId !== undefined) {
params.append('repositoryId', query.repositoryId) // 你要传给后台的参数值 key/value
}
if (query.createPersonId !== '' && query.createPersonId !== null && query.createPersonId !== undefined) {
params.append('createPersonId', query.createPersonId) // 你要传给后台的参数值 key/value
}
if (query.regionIds !== '' && query.regionIds !== null && query.regionIds !== undefined) {
params.append('regionIds', query.regionIds) // 你要传给后台的参数值 key/value
}
params.append('pageNum', query.pageNum) // 你要传给后台的参数值 key/value
params.append('pageSize', query.pageSize) // 你要传给后台的参数值 key/value
return request({
url: '/erp/returnExchange/exchangelist',
method: 'post',
data: params
})
}
// 修改换货单
export function updateReturnExchange(query, query2, query3) {
var params = new URLSearchParams()
params.append('returnExchangeJson', query) // 你要传给后台的参数值 key/value
params.append('returnExchangeOutJson', query2) // 你要传给后台的参数值 key/value
params.append('returnExchangeRetreatJson', query3) // 你要传给后台的参数值 key/value
return request({
url: '/erp/returnExchange/updateReturnExchange',
method: 'post',
data: params
})
}
// 删除换货单
export function deleteReturnExchange(query) {
var params = new URLSearchParams()
if (query !== '' && query !== null && query !== undefined) {
params.append('exchangeIds', query) // 你要传给后台的参数值 key/value
}
return request({
url: '/erp/returnExchange/deleteReturnExchange',
method: 'post',
data: params
})
}
// 审核换货单
export function updateReturnExchange2(query) {
var params = new URLSearchParams()
params.append('returnExchangeJson', query) // 你要传给后台的参数值 key/value
return request({
url: '/erp/returnExchange/updateReturnExchange',
method: 'post',
data: params
})
}

View file

@ -42,6 +42,9 @@ export function saleopportunitylist(query) {
if (query.regionIds !== '' && query.regionIds !== null && query.regionIds !== undefined) {
params.append('regionIds', query.regionIds) // 你要传给后台的参数值 key/value
}
if (query.isUse !== '' && query.isUse !== null && query.isUse !== undefined) {
params.append('isUse', query.isUse) // 你要传给后台的参数值 key/value
}
params.append('pageNum', query.pageNum) // 你要传给后台的参数值 key/value
params.append('pageSize', query.pageSize) // 你要传给后台的参数值 key/value
return request({

View file

@ -353,3 +353,16 @@ export function agentCollectList(query) {
data: params
})
}
// 取角色名称
export function getDetailById(query) {
var params = new URLSearchParams()
if (query !== '' && query !== null && query !== undefined) {
params.append('detailId', query) // 你要传给后台的参数值 key/value
}
return request({
url: '/erp/role/getDetailById',
method: 'post',
data: params
})
}

View file

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1558332240492" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="775" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M553.890909 1024H123.345455C55.854545 1024 0 970.472727 0 905.309091V118.690909C0 53.527273 55.854545 0 123.345455 0h779.636363C970.472727 0 1024 53.527273 1024 118.690909v402.618182c0 9.309091-6.981818 18.618182-18.618182 18.618182s-18.618182-6.981818-18.618182-18.618182V118.690909c0-46.545455-39.563636-83.781818-88.436363-83.781818H123.345455c-48.872727 0-88.436364 37.236364-88.436364 83.781818v786.618182c0 46.545455 39.563636 83.781818 88.436364 83.781818h430.545454c9.309091 0 18.618182 6.981818 18.618182 18.618182s-9.309091 16.290909-18.618182 16.290909z" p-id="776"></path><path d="M819.2 216.436364H202.472727c-9.309091 0-16.290909-9.309091-16.290909-18.618182s6.981818-18.618182 18.618182-18.618182h616.727273c9.309091 0 18.618182 6.981818 18.618182 18.618182s-11.636364 18.618182-20.945455 18.618182zM819.2 404.945455H202.472727c-9.309091 0-16.290909-9.309091-16.290909-18.618182s6.981818-18.618182 18.618182-18.618182h616.727273c9.309091 0 18.618182 6.981818 18.618182 18.618182s-11.636364 18.618182-20.945455 18.618182zM902.981818 744.727273H630.690909c-9.309091 0-18.618182-6.981818-18.618182-18.618182s6.981818-18.618182 18.618182-18.618182h272.290909c9.309091 0 18.618182 6.981818 18.618182 18.618182s-9.309091 18.618182-18.618182 18.618182z" p-id="777"></path><path d="M902.981818 744.727273c-4.654545 0-9.309091-2.327273-11.636363-4.654546L814.545455 660.945455c-6.981818-6.981818-6.981818-18.618182 0-25.6s18.618182-6.981818 25.6 0l76.8 76.8c6.981818 6.981818 6.981818 18.618182 0 25.6-4.654545 4.654545-9.309091 6.981818-13.963637 6.981818zM902.981818 826.181818H630.690909c-9.309091 0-18.618182-6.981818-18.618182-18.618182s6.981818-18.618182 18.618182-18.618181h272.290909c9.309091 0 18.618182 6.981818 18.618182 18.618181s-9.309091 18.618182-18.618182 18.618182z" p-id="778"></path><path d="M709.818182 907.636364c-4.654545 0-9.309091-2.327273-11.636364-4.654546l-79.127273-79.127273c-6.981818-6.981818-6.981818-18.618182 0-25.6s18.618182-6.981818 25.6 0l79.127273 79.127273c6.981818 6.981818 6.981818 18.618182 0 25.6-4.654545 2.327273-9.309091 4.654545-13.963636 4.654546zM488.727273 593.454545H202.472727c-9.309091 0-18.618182-6.981818-18.618182-18.618181s9.309091-16.290909 18.618182-16.290909H488.727273c9.309091 0 18.618182 6.981818 18.618182 18.618181s-9.309091 16.290909-18.618182 16.290909zM409.6 784.290909H202.472727c-9.309091 0-18.618182-6.981818-18.618182-18.618182s6.981818-18.618182 18.618182-18.618182h207.127273c9.309091 0 18.618182 6.981818 18.618182 18.618182s-9.309091 18.618182-18.618182 18.618182z" p-id="779"></path><path d="M768 1024c-141.963636 0-256-116.363636-256-256s116.363636-256 256-256 256 116.363636 256 256-114.036364 256-256 256z m0-477.090909c-123.345455 0-221.090909 100.072727-221.090909 221.090909s100.072727 221.090909 221.090909 221.090909 221.090909-100.072727 221.090909-221.090909-97.745455-221.090909-221.090909-221.090909z" p-id="780"></path></svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1558078035680" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1187" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M164.63968 997.12c-59.84 0-99.584-30.912-99.584-104.768V99.84C65.05568 47.68 112.41568 0.32 164.63968 0.32h666.496c49.152 0 99.584 47.36 99.584 99.584v473.856c0 12.288-17.536 24.512-29.824 24.512s-29.824-12.224-29.824-24.512V99.84c0-18.432-18.432-36.864-36.864-36.864H164.63968c-18.432 0-36.864 18.432-36.864 36.864v798.592c0 21.12 19.008 36.864 36.864 36.864h283.264c12.224 0 24.512 18.816 24.512 31.104 0 15.36-12.288 30.336-24.512 30.336l6.08 0.384H164.63968z m258.048-288.448H250.33568c-7.552 0-15.104-17.536-15.104-29.824s7.552-29.824 15.104-29.824h172.352c7.488 0 15.36 13.056 15.04 32.448-0.064 15.36-7.552 27.2-15.04 27.2z m310.144-215.552H253.66368c-12.288 0-24.576-17.536-24.576-29.824s12.288-29.824 24.576-29.824H735.96768c12.288 0 24.576 17.536 24.576 29.824s-15.36 29.824-27.648 29.824z m6.144-215.552H259.80768c-12.288 0-24.576-17.536-24.576-29.824s12.288-29.824 24.576-29.824h482.24c12.288 0 24.576 17.536 24.576 29.824s-12.288 29.824-27.648 29.824z" p-id="1188"></path><path d="M532.70368 640h274.304c40 0 72.576 33.92 72.576 75.52v42.752l70.848 47.36a21.76 21.76 0 0 1 9.536 18.176v107.52c0 7.744-3.968 14.912-10.368 18.752-6.4 3.84-14.336 3.84-20.736 0a21.824 21.824 0 0 1-10.368-18.688v-95.808l-70.848-47.36a21.76 21.76 0 0 1-9.6-18.176v-54.528a32.832 32.832 0 0 0-9.088-22.848 30.72 30.72 0 0 0-21.952-9.536H553.43968v226.688h16.576c12.928-25.984 38.464-42.24 66.368-42.304 26.816 0 51.584 14.848 65.152 39.104l0.64 1.344h50.24c13.248-24.96 38.272-40.384 65.472-40.448 26.752 0 51.584 14.848 65.088 39.104 13.44 24.192 13.44 54.08 0 78.272A74.88 74.88 0 0 1 817.88768 1024c-37.312 0-68.864-28.8-74.112-67.456h-32.96c-1.28 9.984-4.48 19.584-9.28 28.352A74.88 74.88 0 0 1 636.38368 1024c-38.528 0-70.784-30.72-74.432-71.04h-29.248A21.184 21.184 0 0 1 511.96768 931.392v-269.824c0-11.904 9.28-21.568 20.736-21.568z m75.2 305.792c0 16.32 12.8 29.632 28.48 29.632a29.12 29.12 0 0 0 28.544-29.632c0-16.384-12.8-29.696-28.544-29.696a29.184 29.184 0 0 0-28.48 29.696z m181.44 0c0 16.32 12.8 29.632 28.544 29.632a29.12 29.12 0 0 0 28.48-29.632c0-16.384-12.8-29.696-28.48-29.696a29.184 29.184 0 0 0-28.544 29.696z" p-id="1189"></path></svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1558317733951" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="597" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M897.706667 440.32h-13.653334c3.413333-8.533333 3.413333-17.066667 1.706667-25.6l-52.906667-228.693333c-5.12-22.186667-27.306667-37.546667-52.906666-37.546667h-512c-25.6 0-49.493333 17.066667-52.906667 37.546667L162.133333 416.426667c-1.706667 8.533333-1.706667 17.066667 1.706667 25.6h-13.653333c-39.253333 0-71.68 32.426667-71.68 71.68v192.853333c0 39.253333 32.426667 71.68 71.68 71.68h136.533333v81.92c0 10.24 6.826667 17.066667 17.066667 17.066667s17.066667-6.826667 17.066666-17.066667v-81.92h406.186667v81.92c0 10.24 6.826667 17.066667 17.066667 17.066667s17.066667-6.826667 17.066666-17.066667v-81.92h136.533334c39.253333 0 71.68-32.426667 71.68-71.68V512c0-39.253333-32.426667-71.68-71.68-71.68z m-701.44-17.066667l52.906666-228.693333c1.706667-5.12 10.24-11.946667 20.48-11.946667h510.293334c10.24 0 18.773333 6.826667 20.48 11.946667L853.333333 423.253333c0 3.413333 0 6.826667-1.706666 10.24-3.413333 3.413333-6.826667 5.12-13.653334 5.12H209.92c-5.12 0-10.24-1.706667-13.653333-5.12 0-3.413333-1.706667-6.826667 0-10.24z m738.986666 281.6c0 20.48-17.066667 37.546667-37.546666 37.546667H150.186667c-20.48 0-37.546667-17.066667-37.546667-37.546667V512c0-20.48 17.066667-37.546667 37.546667-37.546667h747.52c20.48 0 37.546667 17.066667 37.546666 37.546667v192.853333z" p-id="598"></path><path d="M327.68 542.72c-35.84 0-64.853333 29.013333-64.853333 64.853333s29.013333 64.853333 64.853333 64.853334 64.853333-29.013333 64.853333-64.853334-29.013333-64.853333-64.853333-64.853333z m0 97.28c-17.066667 0-30.72-13.653333-30.72-30.72s13.653333-30.72 30.72-30.72 30.72 13.653333 30.72 30.72-13.653333 30.72-30.72 30.72zM720.213333 542.72c-35.84 0-64.853333 29.013333-64.853333 64.853333s29.013333 64.853333 64.853333 64.853334 64.853333-29.013333 64.853334-64.853334-29.013333-64.853333-64.853334-64.853333z m0 97.28c-17.066667 0-30.72-13.653333-30.72-30.72s13.653333-30.72 30.72-30.72 30.72 13.653333 30.72 30.72-13.653333 30.72-30.72 30.72zM523.946667 423.253333c63.146667 0 112.64-51.2 112.64-112.64 0-63.146667-51.2-112.64-112.64-112.64s-112.64 51.2-112.64 112.64c0 61.44 49.493333 112.64 112.64 112.64z m0-196.266666c46.08 0 83.626667 37.546667 83.626666 83.626666s-37.546667 83.626667-83.626666 83.626667-83.626667-37.546667-83.626667-83.626667 37.546667-83.626667 83.626667-83.626666z" p-id="599"></path><path d="M523.946667 327.68h40.96c6.826667 0 11.946667-5.12 11.946666-11.946667s-5.12-11.946667-11.946666-11.946666h-29.013334v-40.96c0-6.826667-5.12-11.946667-11.946666-11.946667s-11.946667 5.12-11.946667 11.946667v52.906666c0 6.826667 5.12 11.946667 11.946667 11.946667z" p-id="600"></path></svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

@ -268,7 +268,14 @@ export default {
GroupBuyRules: '团购活动规则',
AddGroupBuyRules: '新建团购活动规则',
GroupBuyRulesList: '团购活动规则列表',
Getauthority: '角色权限'
Getauthority: '角色权限',
DeliverGoods: '配送单',
AddDeliverGoods: '新建配送单',
DeliverGoodsList: '配送单列表',
CarStatList: '车辆使用情况',
ReturnExchange: '换货单',
AddReturnExchange: '新建换货单',
ReturnExchangeList: '换货单列表'
},
navbar: {
logOut: '退出登录',
@ -1459,7 +1466,16 @@ export default {
contractStat: '合同状态',
invoiceType: '开票类型',
taxRate: '汇率',
allMoney: '金额'
allMoney: '金额',
installmentCount: '分期期数',
dayOfMonth: '每月还款日期',
installmentAllMoney: '分期总金额',
installmentBegintime: '分期开始时间',
installmentEndtime: '分期结束时间',
notaryPerson: '公证人',
notaryDate: '公证日期',
firstMoney: '首付金额',
eachMoney: '每期还款金额'
},
income: {
title: '收入单主题',
@ -1718,6 +1734,51 @@ export default {
createTime: '创建时间',
createPersonName: '创建人'
},
DeliverGoods: {
title: '配送单主题',
sourceType: '源单类型',
sourceNumber: '源单编号',
requireArriveDate: '要求到货日期',
deliverDept: '配送部门',
deliverPersonId: '配送人',
requireType: '要货类型',
requireId: '要货方',
stat: '业务状态',
address: '地址',
deliverNumber: '配送单编号'
},
CarStatList: {
carnumber: '车辆编号',
licencenumber: '车牌号',
carName: '车辆名称',
carStat: '车辆状态',
carType: '车辆型号',
outPersonId: '出车人',
stat: '状态',
driverNames: '驾驶员',
outTime: '最近一次出车时间',
returnTime: '最近一次返回时间',
orderType: '订单类型',
orderNumber: '订单编号',
address: '送货地址',
outTime2: '出车时间',
outPersonPhone: '电话'
},
ReturnExchange: {
title: '换货单主题',
sourceType: '源单类型',
sourceNumber: '源单编号',
customerType: '客户类型',
customerId: '客户姓名',
customerPhone: '客户电话',
sourceMoney: '源单车辆金额',
diffMoney: '差异金额',
applyNumber: '分期申请编号',
handlePersonId: '换货人',
exchangeDate: '换货时间',
repositoryId: '仓库',
exchangeNumber: '换货单编号'
},
public: {
cancel: '取消',
save: '保存',

View file

@ -1730,6 +1730,32 @@ export const asyncRouterMap = [
}
]
},
{
path: '/ReturnExchange',
component: Layout,
redirect: 'noredirect',
name: 'ReturnExchange',
alwaysShow: true,
meta: {
title: 'ReturnExchange',
icon: 'huanhuo',
type: 3
},
children: [
{
path: 'AddReturnExchange',
component: () => import('@/views/ReturnExchange/AddReturnExchange'),
name: 'AddReturnExchange',
meta: { title: 'AddReturnExchange', noCache: false }
},
{
path: 'ReturnExchangeList',
component: () => import('@/views/ReturnExchange/ReturnExchangeList'),
name: 'ReturnExchangeList',
meta: { title: 'ReturnExchangeList', noCache: true }
}
]
},
{
path: '/Recycling',
component: Layout,
@ -1975,55 +2001,98 @@ export const asyncRouterMap = [
}
]
},
// {
// path: '/SendCar',
// component: Layout,
// redirect: 'noredirect',
// name: 'SendCar',
// alwaysShow: true,
// meta: {
// title: 'SendCar',
// icon: 'paiche',
// type: 9
// },
// children: [
// {
// path: 'Addsendcar',
// component: () => import('@/views/LogisticsCar/Addsendcar'),
// name: 'Addsendcar',
// meta: { title: 'Addsendcar', noCache: false }
// },
// {
// path: 'SendcarList',
// component: () => import('@/views/LogisticsCar/SendcarList'),
// name: 'SendcarList',
// meta: { title: 'SendcarList', noCache: true }
// }
// ]
// },
// {
// path: '/ReturnCar',
// component: Layout,
// redirect: 'noredirect',
// name: 'ReturnCar',
// alwaysShow: true,
// meta: {
// title: 'ReturnCar',
// icon: 'huiche',
// type: 9
// },
// children: [
// {
// path: 'Addreturncar',
// component: () => import('@/views/LogisticsCar/Addreturncar'),
// name: 'Addreturncar',
// meta: { title: 'Addreturncar', noCache: false }
// },
// {
// path: 'ReturncarList',
// component: () => import('@/views/LogisticsCar/ReturncarList'),
// name: 'ReturncarList',
// meta: { title: 'ReturncarList', noCache: true }
// }
// ]
// },
{
path: '/SendCar',
path: '/DeliverGoods',
component: Layout,
redirect: 'noredirect',
name: 'SendCar',
name: 'DeliverGoods',
alwaysShow: true,
meta: {
title: 'SendCar',
icon: 'paiche',
title: 'DeliverGoods',
icon: 'peisong',
type: 9
},
children: [
{
path: 'Addsendcar',
component: () => import('@/views/LogisticsCar/Addsendcar'),
name: 'Addsendcar',
meta: { title: 'Addsendcar', noCache: false }
path: 'AddDeliverGoods',
component: () => import('@/views/DeliverGoods/AddDeliverGoods'),
name: 'AddDeliverGoods',
meta: { title: 'AddDeliverGoods', noCache: false }
},
{
path: 'SendcarList',
component: () => import('@/views/LogisticsCar/SendcarList'),
name: 'SendcarList',
meta: { title: 'SendcarList', noCache: true }
path: 'DeliverGoodsList',
component: () => import('@/views/DeliverGoods/DeliverGoodsList'),
name: 'DeliverGoodsList',
meta: { title: 'DeliverGoodsList', noCache: true }
}
]
},
{
path: '/ReturnCar',
path: '/CarStatList',
component: Layout,
redirect: 'noredirect',
name: 'ReturnCar',
alwaysShow: true,
meta: {
title: 'ReturnCar',
icon: 'huiche',
icon: 'shiyongqingkuan',
type: 9
},
children: [
{
path: 'Addreturncar',
component: () => import('@/views/LogisticsCar/Addreturncar'),
name: 'Addreturncar',
meta: { title: 'Addreturncar', noCache: false }
},
{
path: 'ReturncarList',
component: () => import('@/views/LogisticsCar/ReturncarList'),
name: 'ReturncarList',
meta: { title: 'ReturncarList', noCache: true }
path: 'index',
component: () => import('@/views/CarStatList/index'),
name: 'CarStatList',
meta: { title: 'CarStatList', noCache: true }
}
]
},

View file

@ -16,8 +16,12 @@ const getters = {
addRouters: state => state.permission.addRouters,
errorLogs: state => state.errorLog.logs,
userId: state => state.user.userId,
regionid: state => state.user.regionid,
repositoryid: state => state.user.repositoryid,
yin: state => state.app.yin
regionId: state => state.user.regionId,
repositoryId: state => state.user.repositoryId,
yin: state => state.app.yin,
countryId: state => state.user.countryId,
deptId: state => state.user.deptId,
regionName: state => state.user.regionName,
repositoryName: state => state.user.repositoryName
}
export default getters

View file

@ -15,8 +15,12 @@ const user = {
articlePlatform: []
},
userId: '',
regionid: '',
repositoryid: ''
regionId: '',
repositoryId: '',
countryId: '',
deptId: '',
regionName: '',
repositoryName: ''
},
mutations: {
@ -47,11 +51,23 @@ const user = {
SET_USERID: (state, userId) => {
state.userId = userId
},
SET_REGIONID: (state, regionid) => {
state.regionid = regionid
SET_REGIONID: (state, regionId) => {
state.regionId = regionId
},
SET_REPOSITORYID: (state, repositoryid) => {
state.repositoryid = repositoryid
SET_REPOSITORYID: (state, repositoryId) => {
state.repositoryId = repositoryId
},
SET_COUNTTRYID: (state, countryId) => {
state.countryId = countryId
},
SET_DEPTID: (state, deptId) => {
state.deptId = deptId
},
SET_REGIONNAME: (state, regionName) => {
state.regionName = regionName
},
SET_REPOSITORYNAME: (state, repositoryName) => {
state.repositoryName = repositoryName
}
},
@ -94,6 +110,10 @@ const user = {
commit('SET_USERID', data.userId)
commit('SET_REGIONID', data.regionId)
commit('SET_REPOSITORYID', data.repositoryId)
commit('SET_COUNTTRYID', data.countryId)
commit('SET_DEPTID', data.deptId)
commit('SET_REGIONNAME', data.regionName)
commit('SET_REPOSITORYNAME', data.repositoryName)
resolve(response)
}).catch(error => {
reject(error)

View file

@ -262,9 +262,8 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
//
personalForm: {},
@ -379,7 +378,7 @@ export default {
console.log(row)
if (row.approvalUseVos !== '' && row.approvalUseVos !== null && row.approvalUseVos !== undefined && row.approvalUseVos.length !== 0) {
const approvalUse = row.approvalUseVos
if (this.getemplist.createPersonId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
if (this.$store.getters.userId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
return true
}
}
@ -387,7 +386,7 @@ export default {
//
handleReview(row) {
this.reviewParms.id = row.id
this.reviewParms.judgePersonId = this.getemplist.createPersonId
this.reviewParms.judgePersonId = this.$store.getters.userId
this.$confirm('请审核', '审核', {
distinguishCancelAndClose: true,
confirmButtonText: '通过',

View file

@ -206,10 +206,10 @@ export default {
control: false,
//
personalForm: {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
sourceType: '1'
},
//
@ -474,10 +474,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
sourceType: '1'
}
this.produceTaskNumber = null

View file

@ -171,10 +171,10 @@ export default {
control: false,
//
personalForm: {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
sourceType: '1'
},
//
@ -405,10 +405,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
sourceType: '1'
}
this.receivePersonId = null

View file

@ -258,9 +258,8 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
//
personalForm: {},
@ -378,7 +377,7 @@ export default {
console.log(row)
if (row.approvalUseVos !== '' && row.approvalUseVos !== null && row.approvalUseVos !== undefined && row.approvalUseVos.length !== 0) {
const approvalUse = row.approvalUseVos
if (this.getemplist.createPersonId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
if (this.$store.getters.userId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
return true
}
}
@ -386,7 +385,7 @@ export default {
//
handleReview(row) {
this.reviewParms.id = row.id
this.reviewParms.judgePersonId = this.getemplist.createPersonId
this.reviewParms.judgePersonId = this.$store.getters.userId
this.$confirm('请审核', '审核', {
distinguishCancelAndClose: true,
confirmButtonText: '通过',

View file

@ -143,9 +143,9 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -173,7 +173,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -283,7 +283,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -171,7 +171,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -285,7 +285,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -477,10 +477,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
sourceType: '1'
}
this.produceTaskNumber = null
@ -490,11 +490,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
const EnterDetail = this.$refs.editable.getRecords()
if (EnterDetail.length === 0) {
this.$notify.error({

View file

@ -423,10 +423,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
sourceType: '1'
}
this.receivePersonId = null
@ -435,11 +435,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
const EnterDetail = this.$refs.editable.getRecords()
if (EnterDetail.length === 0) {
this.$notify.error({

View file

@ -183,7 +183,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -304,7 +304,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -238,9 +238,9 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
judgeStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
//
personalForm: {},

View file

@ -144,6 +144,9 @@ export default {
regionId: '',
countyrId: '',
id: '',
stat: 1,
loginRepositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
pagenum: 1,
pagesize: 10
},

View file

@ -219,9 +219,9 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
//
personalForm: {},

View file

@ -147,10 +147,10 @@ export default {
control: false,
//
personalForm: {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
sourceType: '1'
},
//
@ -280,10 +280,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
sourceType: '1'
}
this.handlePersonId = ''

View file

@ -224,10 +224,9 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionIds: 2
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
// ----------------------
// -------------------------
@ -370,7 +369,7 @@ export default {
console.log(row)
if (row.approvalUseVos !== '' && row.approvalUseVos !== null && row.approvalUseVos !== undefined && row.approvalUseVos.length !== 0) {
const approvalUse = row.approvalUseVos
if (this.getemplist.createPersonId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
if (this.$store.getters.userId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
return true
}
}
@ -378,7 +377,7 @@ export default {
//
handleReview(row) {
this.reviewParms.id = row.id
this.reviewParms.judgePersonId = this.getemplist.createPersonId
this.reviewParms.judgePersonId = this.$store.getters.userId
this.$confirm('请审核', '审核', {
distinguishCancelAndClose: true,
confirmButtonText: '通过',

View file

@ -315,11 +315,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
console.log(this.personalForm)
const rest = this.$refs.editable.getRecords()
if (rest.length === 0) {

View file

@ -160,7 +160,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -272,7 +272,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -162,7 +162,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -266,7 +266,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -160,7 +160,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -272,7 +272,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -349,11 +349,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
console.log(this.personalForm)
const rest = this.$refs.editable.getRecords()
if (rest.length === 0) {

View file

@ -305,11 +305,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
console.log(this.personalForm)
const rest = this.$refs.editable.getRecords()
if (rest.length === 0) {

View file

@ -160,7 +160,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -272,7 +272,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -321,11 +321,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
console.log(this.personalForm)
const rest = this.$refs.editable.getRecords()
if (rest.length === 0) {

View file

@ -144,6 +144,9 @@ export default {
regionId: '',
countyrId: '',
id: '',
stat: 1,
loginRepositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
pagenum: 1,
pagesize: 10
},

View file

@ -166,10 +166,10 @@ export default {
control: false,
//
personalForm: {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
isVat: 1,
payDate: null
},
@ -378,10 +378,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
isVat: 1
}
this.supplierId = null

View file

@ -365,7 +365,7 @@ export default {
//
handleReview(row) {
this.reviewParms.id = row.id
this.reviewParms.judgePersonId = this.getemplist.createPersonId
this.reviewParms.judgePersonId = this.$store.getters.userId
this.$confirm('请审核', '审核', {
distinguishCancelAndClose: true,
confirmButtonText: '通过',

View file

@ -232,9 +232,10 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -171,7 +171,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -285,7 +285,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -363,10 +363,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
isVat: 1
}
this.supplierId = null
@ -378,11 +378,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
const Data = this.personalForm
for (const key in Data) {
if (Data[key] === '' || Data[key] === undefined || Data[key] === null) {

View file

@ -171,7 +171,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -291,7 +291,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -248,10 +248,10 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3,
judgeStat: ''
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -245,9 +245,10 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -226,9 +226,10 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -210,10 +210,10 @@ export default {
advancecontrol: false,
//
personalForm: {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
isVat: 1
},
//
@ -433,10 +433,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
isVat: 1
}
this.salePersonId = null

View file

@ -224,10 +224,10 @@ export default {
control: false,
//
personalForm: {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
sourceType: '1',
depositBegintime: null,
depositEndtime: null,
@ -368,10 +368,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
isVat: 1
}
this.depositTime = null

View file

@ -233,10 +233,10 @@ export default {
advancecontrol: false,
//
personalForm: {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
isVat: 1
},
//
@ -469,10 +469,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
isVat: 1
}
this.salePersonId = null

View file

@ -252,9 +252,8 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
//
personalForm: {},
@ -373,7 +372,7 @@ export default {
console.log(row)
if (row.approvalUseVos !== '' && row.approvalUseVos !== null && row.approvalUseVos !== undefined && row.approvalUseVos.length !== 0) {
const approvalUse = row.approvalUseVos
if (this.getemplist.createPersonId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
if (this.$store.getters.userId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
return true
}
}
@ -381,7 +380,7 @@ export default {
//
handleReview(row) {
this.reviewParms.id = row.id
this.reviewParms.judgePersonId = this.getemplist.createPersonId
this.reviewParms.judgePersonId = this.$store.getters.userId
this.$confirm('请审核', '审核', {
distinguishCancelAndClose: true,
confirmButtonText: '通过',

View file

@ -223,9 +223,8 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
//
personalForm: {},

View file

@ -268,9 +268,8 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
//
personalForm: {},
@ -424,7 +423,7 @@ export default {
console.log(row)
if (row.approvalUseVos !== '' && row.approvalUseVos !== null && row.approvalUseVos !== undefined && row.approvalUseVos.length !== 0) {
const approvalUse = row.approvalUseVos
if (this.getemplist.createPersonId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
if (this.$store.getters.userId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
return true
}
}
@ -432,7 +431,7 @@ export default {
//
handleReview(row) {
this.reviewParms.id = row.id
this.reviewParms.judgePersonId = this.getemplist.createPersonId
this.reviewParms.judgePersonId = this.$store.getters.userId
this.$confirm('请审核', '审核', {
distinguishCancelAndClose: true,
confirmButtonText: '通过',

View file

@ -202,9 +202,9 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -232,9 +232,10 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -243,9 +243,10 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -171,7 +171,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -285,7 +285,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -526,10 +526,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
isVat: 1
}
this.salePersonId = null
@ -541,11 +541,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
const EnterDetail = this.$refs.editable.getRecords()
if (EnterDetail.length === 0) {
this.$notify.error({

View file

@ -426,10 +426,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
isVat: 1
}
this.salePersonId = null
@ -441,11 +441,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
const EnterDetail = this.$refs.editable.getRecords()
if (EnterDetail.length === 0) {
this.$notify.error({

View file

@ -380,10 +380,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
isVat: 1
}
this.depositTime = null
@ -402,11 +402,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
const EnterDetail = this.$refs.editable.getRecords()
if (EnterDetail.length === 0) {
this.$notify.error({

View file

@ -171,7 +171,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -291,7 +291,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -248,10 +248,10 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3,
judgeStat: ''
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -226,9 +226,10 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -227,9 +227,9 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
//
personalForm: {},

View file

@ -231,9 +231,10 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -171,7 +171,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -285,7 +285,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -724,9 +724,9 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: 2
}
this.personalForm.applyDate = new Date()
@ -751,11 +751,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
this.personalForm.installmentCount = this.productForm.installmentCount
this.personalForm.installmentDays = this.productForm.installmentDays
this.productForm.price = this.personalForm.totalMoney

View file

@ -171,7 +171,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -291,7 +291,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -197,9 +197,9 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -248,9 +248,8 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
time: null
},
//
@ -413,7 +412,7 @@ export default {
console.log(row)
if (row.approvalUseVos !== '' && row.approvalUseVos !== null && row.approvalUseVos !== undefined && row.approvalUseVos.length !== 0) {
const approvalUse = row.approvalUseVos
if (this.getemplist.createPersonId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
if (this.$store.getters.userId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
return true
}
}
@ -421,7 +420,7 @@ export default {
// //
// handleReview(row) {
// this.reviewParms.id = row.id
// this.reviewParms.judgePersonId = this.getemplist.createPersonId
// this.reviewParms.judgePersonId = this.$store.getters.userId
// this.$confirm('', '', {
// distinguishCancelAndClose: true,
// confirmButtonText: '',

View file

@ -162,7 +162,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -270,7 +270,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -187,10 +187,10 @@ export default {
buildcontrol: false,
//
personalForm: {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
sourceType: '1'
},
//
@ -340,9 +340,9 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: 2
}
this.buildupRepositoryId = ''

View file

@ -214,10 +214,9 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionIds: 2
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
// ----------------------
// -------------------------
@ -345,7 +344,7 @@ export default {
isReview(row) {
if (row.approvalUseVos !== '' && row.approvalUseVos !== null && row.approvalUseVos !== undefined && row.approvalUseVos.length !== 0) {
const approvalUse = row.approvalUseVos
if (this.getemplist.createPersonId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
if (this.$store.getters.userId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
return true
}
}
@ -353,7 +352,7 @@ export default {
//
handleReview(row) {
this.reviewParms.id = row.id
this.reviewParms.judgePersonId = this.getemplist.createPersonId
this.reviewParms.judgePersonId = this.$store.getters.userId
this.$confirm('请审核', '审核', {
distinguishCancelAndClose: true,
confirmButtonText: '通过',

View file

@ -348,11 +348,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
console.log(this.personalForm)
const EnterDetail = this.$refs.editable.getRecords()
if (EnterDetail.length === 0) {

View file

@ -160,7 +160,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -266,7 +266,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -173,7 +173,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -283,7 +283,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -160,7 +160,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -266,7 +266,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -349,11 +349,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
console.log(this.personalForm)
const rest = this.$refs.editable.getRecords()
console.log(rest)

View file

@ -355,11 +355,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
console.log(this.personalForm)
const EnterDetail = this.$refs.editable.getRecords()
if (EnterDetail.length === 0) {

View file

@ -160,7 +160,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -272,7 +272,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -324,11 +324,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
console.log(this.personalForm)
const rest = this.$refs.editable.getRecords()
if (rest !== true) {

View file

@ -144,6 +144,9 @@ export default {
regionId: '',
countyrId: '',
id: '',
stat: 1,
loginRepositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
pagenum: 1,
pagesize: 10
},

View file

@ -126,12 +126,12 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createId = 3
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
const Data = this.personalForm
for (const key in Data) {
if (Data[key] === '' || Data[key] === undefined || Data[key] === null) {

View file

@ -0,0 +1,449 @@
<template>
<div class="ERP-container">
<el-card class="box-card" style="margin-top: 10px;height: 60px" shadow="never">
<el-row>
<el-form ref="getemplist" :model="getemplist" label-width="100px" style="margin-top: -9px">
<el-col :span="5">
<el-form-item label="车辆编号" label-width="100px">
<el-input v-model="getemplist.carnumber" :placeholder="$t('CarStatList.carnumber')" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="5" style="margin-left: 10px">
<el-form-item label="车牌号">
<el-input v-model="getemplist.licencenumber" placeholder="车牌号" clearable @keyup.enter.native="handleFilter"/>
</el-form-item>
</el-col>
<el-col :span="5" style="margin-left: 10px">
<el-form-item :label="$t('CarStatList.carStat')">
<el-select v-model="getemplist.carStat" :value="getemplist.carStat" clearable @keyup.enter.native="handleFilter">
<el-option value="1" label="正常"/>
<el-option value="2" label="维修"/>
</el-select>
</el-form-item>
</el-col>
<!--更多搜索条件-->
<el-col :span="3">
<el-popover
v-model="visible2"
placement="bottom"
width="500"
trigger="manual">
<el-select v-model="getemplist.carType" :value="getemplist.carType" placeholder="车辆型号" clearable style="width: 40%;float: left;margin-left: 20px">
<el-option value="1" label="线下"/>
<el-option value="2" label="线上"/>
</el-select>
<el-input v-model="outPersonId" :placeholder="$t('CarStatList.outPersonId')" style="width: 40%;float: right;margin-right: 20px" @focus="handlechooseStock"/>
<my-emp :control.sync="stockControl" @stockName="stockName"/>
<div class="seachbutton" style="width: 100%;float: right;margin-top: 20px">
<el-button v-waves class="filter-item" type="primary" style="float: right" round @click="handleFilter">{{ $t('public.search') }}</el-button>
</div>
<el-button v-waves slot="reference" type="primary" class="filter-item" style="width: 130px" @click="visible2 = !visible2">{{ $t('public.filter') }}<svg-icon icon-class="shaixuan" style="margin-left: 4px"/></el-button>
</el-popover>
</el-col>
<el-col :span="3" style="margin-left: 20px">
<!-- 搜索按钮 -->
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" style="width: 86px" round @click="handleFilter">{{ $t('public.search') }}</el-button>
</el-col>
</el-form>
</el-row>
</el-card>
<el-card class="box-card" style="margin-top: 10px" shadow="never">
<!-- 批量操作 -->
<!--<el-dropdown @command="handleCommand">-->
<!--<el-button v-waves class="filter-item" style="margin-left: 0" type="primary">-->
<!--{{ $t('public.batchoperation') }} <i class="el-icon-arrow-down el-icon&#45;&#45;right"/>-->
<!--</el-button>-->
<!--<el-dropdown-menu slot="dropdown" style="width: 140px">-->
<!--<el-dropdown-item v-permission="['54-57-2']" style="text-align: left" command="delete"><svg-icon icon-class="shanchu" style="width: 40px"/>{{ $t('public.delete') }}</el-dropdown-item>-->
<!--</el-dropdown-menu>-->
<!--</el-dropdown>-->
<!-- 表格导出操作 -->
<el-button v-waves :loading="downloadLoading" class="filter-item" style="width: 86px" @click="handleExport"> <svg-icon icon-class="daochu"/>{{ $t('public.export') }}</el-button>
<!-- 打印操作 -->
<el-button v-waves class="filter-item" icon="el-icon-printer" style="width: 86px" @click="handlePrint">{{ $t('public.print') }}</el-button>
</el-card>
<el-card class="box-card" style="margin-top: 10px" shadow="never">
<el-tabs v-model="activeName2" type="card">
<el-tab-pane label="未使用车辆" name="first">
<el-table
v-loading="listLoading"
:key="tableKey"
:data="list"
border
fit
highlight-current-row
style="width: 100%;">
<el-table-column
type="selection"
width="55"
align="center"/>
<el-table-column :label="$t('CarStatList.carnumber')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.carNumber }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.licencenumber')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.licenceNumber }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.carStat')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.carStat | carStatFilter }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.carType')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.carType | carTypeFilter }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.driverNames')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.driverNames }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.outTime')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.outTime }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.returnTime')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.returnTime }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.outPersonId')" :resizable="false" prop="judgeStat" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.outPersonName }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.stat')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.stat | statFilter }}</span>
</template>
</el-table-column>
</el-table>
<!-- 列表结束 -->
<pagination v-show="total>0" :total="total" :page.sync="getemplist.pageNum" :limit.sync="getemplist.pageSize" @pagination="getlist" />
</el-tab-pane>
<el-tab-pane label="在途车辆" name="second">
<el-table
v-loading="listLoading2"
:key="tableKey2"
:data="list2"
border
fit
highlight-current-row
style="width: 100%;">
<el-table-column
type="selection"
width="55"
align="center"/>
<el-table-column :label="$t('CarStatList.carnumber')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.carNumber }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.carName')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.carName }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.licencenumber')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.licenceNumber }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.carStat')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.carStat | carStatFilter }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.carType')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.carType | carTypeFilter }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.orderType')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.orderType | sourceTypeFilter }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.orderNumber')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.orderNumber }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.address')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.address }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.outTime2')" :resizable="false" prop="judgeStat" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.outTime }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.outPersonId')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.outPersonName }}</span>
</template>
</el-table-column>
<el-table-column :label="$t('CarStatList.outPersonPhone')" :resizable="false" align="center" min-width="150">
<template slot-scope="scope">
<span>{{ scope.row.outPersonPhone }}</span>
</template>
</el-table-column>
</el-table>
<!-- 列表结束 -->
<pagination v-show="total2>0" :total="total2" :page.sync="getemplist2.pageNum" :limit.sync="getemplist2.pageSize" @pagination="getlist2" />
</el-tab-pane>
</el-tabs>
<!-- 列表开始 -->
<!--修改开始=================================================-->
<!--修改结束=================================================-->
</el-card>
</div>
</template>
<script>
import { carStatList } from '@/api/CarStatList'
import waves from '@/directive/waves' // Waves directive
import Pagination from '@/components/Pagination'
import permission from '@/directive/permission/index.js' //
import checkPermission from '@/utils/permission'
import MyEmp from '../AccessMaterials/components/MyEmp' //
export default {
name: 'Index',
directives: { waves, permission },
components: { MyEmp, Pagination },
filters: {
judgeStatFilter(status) {
const statusMap = {
0: '未审核',
1: '审核中',
2: '审核通过',
3: '审核不通过'
}
return statusMap[status]
},
statFilter(status) {
const statusMap = {
1: '未出车',
2: '出车'
}
return statusMap[status]
},
sourceTypeFilter(status) {
const statusMap = {
1: '销售出库单',
2: '调拨单'
}
return statusMap[status]
},
carStatFilter(status) {
const statusMap = {
1: '正常',
2: '维修'
}
return statusMap[status]
},
carTypeFilter(status) {
const statusMap = {
1: '线下',
2: '线上'
}
return statusMap[status]
}
},
data() {
return {
activeName2: 'first',
//
reviewParms: {
id: '',
judgePersonId: '',
judgeStat: ''
},
//
detailvisible: false,
//
visible2: false,
//
outPersonId: '',
//
stockControl: false,
//
moreaction: '',
//
downloadLoading: false,
//
list: [],
//
total: 0,
//
tableKey: 0,
//
listLoading: true,
//
getemplist: {
pageNum: 1,
pageSize: 10,
stat: 1,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
//
downloadLoading2: false,
//
list2: [],
//
total2: 0,
//
tableKey2: 0,
//
listLoading2: true,
//
getemplist2: {
pageNum: 1,
pageSize: 10,
stat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
//
personalForm: {},
//
editVisible: false,
//
date: []
}
},
mounted() {
this.getlist()
this.getlist2()
},
methods: {
checkPermission,
//
updatecountry() {
this.getlist()
},
getlist() {
//
this.listLoading = true
carStatList(this.getemplist).then(res => {
if (res.data.ret === 200) {
this.list = res.data.data.content.list
this.total = res.data.data.content.totalCount
}
setTimeout(() => {
this.listLoading = false
}, 0.5 * 100)
})
},
getlist2() {
//
this.listLoading2 = true
carStatList(this.getemplist2).then(res => {
if (res.data.ret === 200) {
this.list2 = res.data.data.content.list
this.total2 = res.data.data.content.totalCount
}
setTimeout(() => {
this.listLoading2 = false
}, 0.5 * 100)
})
},
//
restFilter() {
this.outPersonId = ''
this.getemplist.outPersonId = ''
},
//
handleFilter() {
this.getemplist.pageNum = 1
carStatList(this.getemplist).then(res => {
if (res.data.ret === 200) {
this.list = res.data.data.content.list
this.total = res.data.data.content.totalCount
this.restFilter()
} else {
this.restFilter()
}
})
this.getemplist.pageNum = 2
carStatList(this.getemplist2).then(res => {
if (res.data.ret === 200) {
this.list2 = res.data.data.content.list
this.total2 = res.data.data.content.totalCount
this.restFilter()
} else {
this.restFilter()
}
})
},
// focus
handlechooseStock() {
this.stockControl = true
},
//
stockName(val) {
this.outPersonId = val.personName
this.getemplist.outPersonId = val.id
},
//
handleExport() {
this.downloadLoading = true
import('@/vendor/Export2Excel').then(excel => {
const tHeader = ['供应商编号', '供应商名称', '供应商简称', '供应商类别', '所在区域', '采购员', '供应商优质级别', '建档人', '建档日期']
const filterVal = ['id', 'CarStatListName', 'CarStatListShortName', 'typeName', 'regionName', 'buyerName', 'levelName', 'createName', 'createTime']
const data = this.formatJson(filterVal, this.list)
excel.export_json_to_excel({
header: tHeader,
data,
filename: '经销商资料表'
})
this.downloadLoading = false
})
},
formatJson(filterVal, jsonData) {
return jsonData.map(v => filterVal.map(j => {
return v[j]
}))
},
//
handlePrint() {
console.log(456)
}
}
}
</script>
<style rel="stylesheet/css" scoped>
.ERP-container >>> .el-form-item__label{
color: #909399;
text-align: left;
}
.app-container >>> .el-table .cell {
-webkit-box-sizing: border-box;
box-sizing: border-box;
line-height: 24px;
word-break: keep-all;
word-wrap: break-word;
white-space: pre-wrap;
}
.ERP-container {
margin: 0px 10px;
}
.filter-container{
padding: 20px;
padding-left: 0px;
}
.filter-item{
width: 140px;
margin-left: 30px;
}
</style>

View file

@ -158,10 +158,10 @@ export default {
list2: [],
//
personalForm: {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
sourceType: '1'
},
//
@ -228,10 +228,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
sourceType: '1'
}
this.saleRepositoryId = null

View file

@ -270,9 +270,8 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
//
personalForm: {},
@ -424,7 +423,7 @@ export default {
console.log(row)
if (row.approvalUseVos !== '' && row.approvalUseVos !== null && row.approvalUseVos !== undefined && row.approvalUseVos.length !== 0) {
const approvalUse = row.approvalUseVos
if (this.getemplist.createPersonId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
if (this.$store.getters.userId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
return true
}
}
@ -432,7 +431,7 @@ export default {
//
handleReview(row) {
this.reviewParms.id = row.id
this.reviewParms.judgePersonId = this.getemplist.createPersonId
this.reviewParms.judgePersonId = this.$store.getters.userId
this.$confirm('请审核', '审核', {
distinguishCancelAndClose: true,
confirmButtonText: '通过',

View file

@ -231,9 +231,10 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -171,7 +171,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -285,7 +285,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -231,10 +231,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
sourceType: '1'
}
this.saleRepositoryId = null
@ -251,11 +251,11 @@ export default {
//
//
handleEditok() {
this.personalForm.repositoryId = 438
this.personalForm.regionId = 2
this.personalForm.createPersonId = 3
this.personalForm.countryId = 1
this.personalForm.modifyPersonId = 3
this.personalForm.repositoryId = this.$store.getters.repositoryId
this.personalForm.regionId = this.$store.getters.regionId
this.personalForm.createPersonId = this.$store.getters.userId
this.personalForm.countryId = this.$store.getters.countryId
this.personalForm.modifyPersonId = this.$store.getters.userId
const EnterDetail = this.$refs.editable.getRecords()
if (EnterDetail.length === 0) {
this.$notify.error({

View file

@ -171,7 +171,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -291,7 +291,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -216,9 +216,9 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
//
personalForm: {},

View file

@ -144,6 +144,9 @@ export default {
regionId: '',
countyrId: '',
id: '',
stat: 1,
loginRepositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
pagenum: 1,
pagesize: 10
},

View file

@ -197,9 +197,9 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

View file

@ -207,10 +207,10 @@ export default {
producecontrol: false,
//
personalForm: {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
isVat: 1,
sourceType: '1'
},
@ -414,10 +414,10 @@ export default {
//
restAllForm() {
this.personalForm = {
createPersonId: 3,
countryId: 1,
repositoryId: 438,
regionId: 2,
createPersonId: this.$store.getters.userId,
countryId: this.$store.getters.countryId,
repositoryId: this.$store.getters.repositoryId,
regionId: this.$store.getters.regionId,
isVat: 1
}
this.handlePersonId = null

View file

@ -257,9 +257,8 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId
},
//
personalForm: {},
@ -379,7 +378,7 @@ export default {
console.log(row)
if (row.approvalUseVos !== '' && row.approvalUseVos !== null && row.approvalUseVos !== undefined && row.approvalUseVos.length !== 0) {
const approvalUse = row.approvalUseVos
if (this.getemplist.createPersonId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
if (this.$store.getters.userId === approvalUse[approvalUse.length - 1].stepHandler && (row.judgeStat === 1 || row.judgeStat === 0)) {
return true
}
}
@ -387,7 +386,7 @@ export default {
//
handleReview(row) {
this.reviewParms.id = row.id
this.reviewParms.judgePersonId = this.getemplist.createPersonId
this.reviewParms.judgePersonId = this.$store.getters.userId
this.$confirm('请审核', '审核', {
distinguishCancelAndClose: true,
confirmButtonText: '通过',

View file

@ -171,7 +171,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
},
@ -283,7 +283,7 @@ export default {
employeename: '',
pagenum: 1,
pagesize: 10,
stat: 1,
stat: 1, loginRepositoryId: this.$store.getters.repositoryId, regionIds: this.$store.getters.regionId,
time: '',
jobnumber: ''
}

View file

@ -232,9 +232,10 @@ export default {
getemplist: {
pageNum: 1,
pageSize: 10,
repositoryId: 438,
regionIds: 2,
createPersonId: 3
judgeStat: 2, receiptStat: 2,
repositoryId: this.$store.getters.repositoryId,
regionIds: this.$store.getters.regionId,
createPersonId: this.$store.getters.userId
},
//
personalForm: {},

Some files were not shown because too many files have changed in this diff Show more