Browse Source

车辆台账添加内部编码字段、车辆排产-车辆查询请求参数添加一个useOrgSid参数

master
Zhao Qiqi 3 years ago
parent
commit
ae8bc549d9
  1. 9
      anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangAdd.vue
  2. 5
      anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangInfo.vue
  3. 2
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhi.vue
  4. 18
      anrui-scm/anrui-scm-ui/src/views/supplychain/cheliangpaichan/chexingbyconfiguration.vue
  5. 2
      anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanli.vue

9
anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangAdd.vue

@ -211,6 +211,15 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item prop="">
<span slot="label">内部编码</span>
<el-input placeholder="" class="addinputw" v-model="temp.vehicleCode" clearable/>
</el-form-item>
</el-col>
<el-col :span="12" />
</el-row>
</el-form>
</div>
</div>

5
anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangtaizhang/cheliangtaizhangInfo.vue

@ -75,6 +75,11 @@
<el-col :span="4" class="trightb">特殊说明</el-col>
<el-col :span="8" class="tleft"> {{ temp.specialInstructions }}</el-col>
</el-row>
<el-row>
<el-col :span="4" class="trightb">内部编码</el-col>
<el-col :span="8" class="tleft"> {{ temp.vehicleCode }}</el-col>
<el-col :span="12" class="trightb"/>
</el-row>
</el-form>
</div>
</div>

2
anrui-scm/anrui-scm-ui/src/views/cheliang/chexingpeizhi/changyongpeizhi.vue

@ -267,7 +267,6 @@
<script>
import { deleteBySids, getList, pullDown } from '@/api/cheliang/basemodelconfig'
import { getUseOrgByUserSid } from '@/api/cheliang/basevehicle'
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import ButtonBar from '@/components/ButtonBar'
@ -275,7 +274,6 @@ import changyongpeizhiAdd from './changyongpeizhiAdd'
import changyongpeizhiInfo from './changyongpeizhiInfo'
import changyongpeizhiRel from './ohter/changyongpeizhiRel'
export default {
name: 'chexingpeizhi',
components: {

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

@ -55,6 +55,7 @@
<script>
import Pagination from '@/components/pagination'
import req from '@/api/kucunguanli/price'
import { getPathSidByUserSid } from '@/api/cheliang/basevehiclemodel'
export default {
name: "chexingbyconfiguration",
@ -105,6 +106,15 @@ export default {
handleReturn() {
this.$emit('doback')
},
getPathSid() {
const userSid = window.sessionStorage.getItem('userSid')
getPathSidByUserSid({userSid:userSid}).then((res) => {
if (res.code === '200') {
this.listQuery.params.useOrgSid = res.data
this.getList()
}
})
},
//
getList() {
this.listLoading = true
@ -118,7 +128,7 @@ export default {
},
//
handleFilter() {
this.getList()
this.getPathSid()
},
//
handresetting() {
@ -128,8 +138,8 @@ export default {
this.listQuery.params.vehicleAlias = ''
this.listQuery.params.configName = ''
this.listQuery.params.vehicleStateValue = '库存'
this.listQuery.params.useOrgSid = this.userOrgSid
this.getList()
this.listQuery.params.useOrgSid = ''
this.getPathSid()
},
handleSelectionChange(row) {
this.sids = []
@ -157,7 +167,7 @@ export default {
}
this.listQuery.params.useOrgSid = userOrgSid
this.userOrgSid = userOrgSid
this.getList()
this.getPathSid()
},
//
AddUpdateReturn() {

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

@ -77,7 +77,6 @@
</div>
</div>
<!--End 查询和其列表部分-->
<yancheguanli-already v-show="viewState == 5" ref="divalready" @doback="resetState"/>
<!--新增修改部分组件-->
<yancheguanli-add v-show="viewState == 2 || viewState == 3" ref="divadd" @doback="resetState" @reloadlist="getList"/>
<!--详情部分组件-->
@ -92,7 +91,6 @@ import { getUseOrgByUserSid, selectModelName } from '@/api/cheliang/basevehicle'
import ButtonBar from '@/components/ButtonBar'
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
import yancheguanliAlready from '@/views/supplychain/yancheguanli/yancheguanliAlready'
import yancheguanliAdd from '@/views/supplychain/yancheguanli/yancheguanliAdd'
import yancheguanliInfo from '@/views/supplychain/yancheguanli/yancheguanliInfo'

Loading…
Cancel
Save