Browse Source

完善厂家采购

zhanglei
yunuo970428 3 years ago
parent
commit
6a3b343a9c
  1. 2
      anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/cheliangpaichan.vue
  2. 15
      anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/chexingbyconfiguration.vue
  3. 27
      anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/shangzhuangselect/shangzhuangpeizhi.vue
  4. 12
      anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/chexingbyconfiguration.vue
  5. 27
      anrui-scm/anrui-scm-ui/src/views/workFlow/paichanguanliFlow/paichanguanli/shangzhuangselect/shuangzhuangpeizhi.vue

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

@ -41,7 +41,7 @@
<el-table-column fixed width="60" label="序号" type="index" :index="indexMethod" align="center"/> <el-table-column fixed width="60" label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column fixed width="150" label="操作" align="center"> <el-table-column fixed width="150" label="操作" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="primary" size="small" :disabled="scope.row.nodeState =='排产申请' ? false : scope.row.nodeState == '待提交' ? false : true" @click="handleEdit(scope.row)">办理</el-button> <el-button type="primary" size="small" :disabled="scope.row.nodeState =='发起申请' ? false : scope.row.nodeState == '待提交' ? false : true" @click="handleEdit(scope.row)">办理</el-button>
<el-button type="primary" size="small" @click="toInfo(scope.row)">查看</el-button> <el-button type="primary" size="small" @click="toInfo(scope.row)">查看</el-button>
</template> </template>
</el-table-column> </el-table-column>

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

@ -77,15 +77,12 @@ export default {
isSearchShow: false, isSearchShow: false,
searchxianshitit: '隐藏查询条件', searchxianshitit: '隐藏查询条件',
tableKey: 0, tableKey: 0,
showbackState: 30,
sids: [], sids: [],
list: [], list: [],
number: '',
listLoading: false, listLoading: false,
userOrgSid: '',
listQuery: { listQuery: {
current: 1, current: 1,
size: 10, size: 5,
params: { params: {
vehicleAlias: '', vehicleAlias: '',
configName: '', configName: '',
@ -118,8 +115,8 @@ export default {
}, },
getPathSid() { getPathSid() {
const userSid = window.sessionStorage.getItem('userSid') const userSid = window.sessionStorage.getItem('userSid')
getPathSidByUserSid({userSid:userSid}).then((res) => { getPathSidByUserSid({ userSid: userSid }).then((res) => {
if (res.code === '200') { if (res.success) {
this.listQuery.params.useOrgSid = res.data this.listQuery.params.useOrgSid = res.data
this.getList() this.getList()
} }
@ -144,7 +141,7 @@ export default {
handresetting() { handresetting() {
this.listQuery.current = 1 this.listQuery.current = 1
this.listQuery.total = 0 this.listQuery.total = 0
this.listQuery.size = 10 this.listQuery.size = 5
this.listQuery.params.vehicleAlias = '' this.listQuery.params.vehicleAlias = ''
this.listQuery.params.configName = '' this.listQuery.params.configName = ''
this.listQuery.params.useOrgSid = '' this.listQuery.params.useOrgSid = ''
@ -179,12 +176,14 @@ export default {
} else { } else {
this.listQuery.params.sidList = [] this.listQuery.params.sidList = []
} }
this.listQuery.current = 1
this.listQuery.total = 0
this.listQuery.size = 5
this.getPathSid() this.getPathSid()
}, },
// //
AddUpdateReturn() { AddUpdateReturn() {
if (this.sids.length > 0) { if (this.sids.length > 0) {
console.log('勾选的车辆信息',this.sids)
this.$emit('backData', this.sids) this.$emit('backData', this.sids)
} else { } else {
this.$notify({ this.$notify({

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

@ -66,18 +66,18 @@
<el-button type="primary" size="small" @click="handleSelect(scope.row)">选择</el-button> <el-button type="primary" size="small" @click="handleSelect(scope.row)">选择</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="vehicleTypeValue" label="车辆功能" align="center"/> <el-table-column prop="vehicleTypeValue" label="车辆功能" align="center" width="200"/>
<el-table-column prop="installNameValue" label="上装名称" align="center"/> <el-table-column prop="installNameValue" label="上装名称" align="center" width="200"/>
<el-table-column prop="refitMethodValue" label="委改方式" align="center"/> <el-table-column prop="refitMethodValue" label="委改方式" align="center" width="200"/>
<el-table-column prop="refitFactory" label="委改厂" align="center"/> <el-table-column prop="refitFactory" label="委改厂" align="center" width="200"/>
<el-table-column prop="wk" label="外廓尺寸" header-align="center" align="left" width="250"/> <el-table-column prop="wk" label="外廓尺寸" header-align="center" align="left" width="250"/>
<el-table-column prop="colorValue" label="颜色" align="center"/> <el-table-column prop="colorValue" label="颜色" align="center" width="200"/>
<el-table-column prop="plateMaterialValue" label="板材材质" align="center"/> <el-table-column prop="plateMaterialValue" label="板材材质" align="center" width="200"/>
<el-table-column prop="plateThickness" label="板材厚度" header-align="center" align="left" width="250"/> <el-table-column prop="plateThickness" label="板材厚度" header-align="center" align="left" width="250"/>
<el-table-column prop="tarpaulinSlide" label="篷布滑道" align="center"/> <el-table-column prop="tarpaulinSlide" label="篷布滑道" align="center" width="200"/>
<el-table-column prop="refrigerator" label="冷藏冷机" align="center"/> <el-table-column prop="refrigerator" label="冷藏冷机" align="center" width="200"/>
<el-table-column prop="selfUnHyCoPl" label="自卸液压盖板" align="center" width="150"/> <el-table-column prop="selfUnHyCoPl" label="自卸液压盖板" align="center" width="150"/>
<el-table-column prop="floorHeating" label="底板加热" align="center"/> <el-table-column prop="floorHeating" label="底板加热" align="center" width="200"/>
</el-table> </el-table>
</div> </div>
<!--End 项目列表--> <!--End 项目列表-->
@ -127,8 +127,8 @@ export default {
tableIndex: 0, tableIndex: 0,
queryParams: { queryParams: {
current: 1, current: 1,
size: 10, size: 5,
total: 10, total: 0,
params: { params: {
vehicleTypeKey: '', vehicleTypeKey: '',
installNameKey: '', installNameKey: '',
@ -195,6 +195,9 @@ export default {
}, },
showData(index) { showData(index) {
this.tableIndex = index this.tableIndex = index
this.listQuery.current = 1
this.listQuery.total = 0
this.listQuery.size = 5
this.init() this.init()
}, },
dosearch() { dosearch() {
@ -204,7 +207,7 @@ export default {
resetQuery() { resetQuery() {
this.queryParams = { this.queryParams = {
current: 1, current: 1,
size: 10, size: 5,
total: 0, total: 0,
params: { params: {
vehicleTypeKey: '', vehicleTypeKey: '',

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

@ -77,15 +77,12 @@ export default {
isSearchShow: false, isSearchShow: false,
searchxianshitit: '隐藏查询条件', searchxianshitit: '隐藏查询条件',
tableKey: 0, tableKey: 0,
showbackState: 30,
sids: [], sids: [],
list: [], list: [],
number: '',
listLoading: false, listLoading: false,
userOrgSid: '',
listQuery: { listQuery: {
current: 1, current: 1,
size: 10, size: 5,
params: { params: {
vehicleAlias: '', vehicleAlias: '',
configName: '', configName: '',
@ -119,7 +116,7 @@ export default {
getPathSid() { getPathSid() {
const userSid = window.sessionStorage.getItem('userSid') const userSid = window.sessionStorage.getItem('userSid')
getPathSidByUserSid({ userSid: userSid }).then((res) => { getPathSidByUserSid({ userSid: userSid }).then((res) => {
if (res.code === '200') { if (res.success) {
this.listQuery.params.useOrgSid = res.data this.listQuery.params.useOrgSid = res.data
this.getList() this.getList()
} }
@ -144,7 +141,7 @@ export default {
handresetting() { handresetting() {
this.listQuery.current = 1 this.listQuery.current = 1
this.listQuery.total = 0 this.listQuery.total = 0
this.listQuery.size = 10 this.listQuery.size = 5
this.listQuery.params.vehicleAlias = '' this.listQuery.params.vehicleAlias = ''
this.listQuery.params.configName = '' this.listQuery.params.configName = ''
this.listQuery.params.useOrgSid = '' this.listQuery.params.useOrgSid = ''
@ -179,6 +176,9 @@ export default {
} else { } else {
this.listQuery.params.sidList = [] this.listQuery.params.sidList = []
} }
this.listQuery.current = 1
this.listQuery.total = 0
this.listQuery.size = 5
this.getPathSid() this.getPathSid()
}, },
// //

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

@ -66,18 +66,18 @@
<el-button type="primary" size="small" @click="handleSelect(scope.row)">选择</el-button> <el-button type="primary" size="small" @click="handleSelect(scope.row)">选择</el-button>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="vehicleTypeValue" label="车辆功能" align="center"/> <el-table-column prop="vehicleTypeValue" label="车辆功能" align="center" width="200"/>
<el-table-column prop="installNameValue" label="上装名称" align="center"/> <el-table-column prop="installNameValue" label="上装名称" align="center" width="200"/>
<el-table-column prop="refitMethodValue" label="委改方式" align="center"/> <el-table-column prop="refitMethodValue" label="委改方式" align="center" width="200"/>
<el-table-column prop="refitFactory" label="委改厂" align="center"/> <el-table-column prop="refitFactory" label="委改厂" align="center" width="200"/>
<el-table-column prop="wk" label="外廓尺寸" header-align="center" align="left" width="250"/> <el-table-column prop="wk" label="外廓尺寸" header-align="center" align="left" width="250"/>
<el-table-column prop="colorValue" label="颜色" align="center"/> <el-table-column prop="colorValue" label="颜色" align="center" width="200"/>
<el-table-column prop="plateMaterialValue" label="板材材质" align="center"/> <el-table-column prop="plateMaterialValue" label="板材材质" align="center" width="200"/>
<el-table-column prop="plateThickness" label="板材厚度" header-align="center" align="left" width="250"/> <el-table-column prop="plateThickness" label="板材厚度" header-align="center" align="left" width="250"/>
<el-table-column prop="tarpaulinSlide" label="篷布滑道" align="center"/> <el-table-column prop="tarpaulinSlide" label="篷布滑道" align="center" width="200"/>
<el-table-column prop="refrigerator" label="冷藏冷机" align="center"/> <el-table-column prop="refrigerator" label="冷藏冷机" align="center" width="200"/>
<el-table-column prop="selfUnHyCoPl" label="自卸液压盖板" align="center" width="150"/> <el-table-column prop="selfUnHyCoPl" label="自卸液压盖板" align="center" width="150"/>
<el-table-column prop="floorHeating" label="底板加热" align="center"/> <el-table-column prop="floorHeating" label="底板加热" align="center" width="200"/>
</el-table> </el-table>
</div> </div>
<!--End 项目列表--> <!--End 项目列表-->
@ -127,8 +127,8 @@ export default {
tableIndex: 0, tableIndex: 0,
queryParams: { queryParams: {
current: 1, current: 1,
size: 10, size: 5,
total: 10, total: 0,
params: { params: {
vehicleTypeKey: '', vehicleTypeKey: '',
installNameKey: '', installNameKey: '',
@ -195,6 +195,9 @@ export default {
}, },
showData(index) { showData(index) {
this.tableIndex = index this.tableIndex = index
this.listQuery.current = 1
this.listQuery.total = 0
this.listQuery.size = 5
this.init() this.init()
}, },
dosearch() { dosearch() {
@ -204,7 +207,7 @@ export default {
resetQuery() { resetQuery() {
this.queryParams = { this.queryParams = {
current: 1, current: 1,
size: 10, size: 5,
total: 0, total: 0,
params: { params: {
vehicleTypeKey: '', vehicleTypeKey: '',

Loading…
Cancel
Save