业主名称第一项

master
Mr.sun 2 years ago
parent eff550dc31
commit ff40760a4e
  1. 28
      src/views/libraryManage/inventory/inventory.vue
  2. 2
      vue.config.js

@ -6,7 +6,10 @@
:inline="true"
:model="enterForm"
>
<el-form-item label="业主名称">
<el-form-item
label="业主名称"
prop="consignorId"
>
<el-select
v-model="enterForm.consignorId"
placeholder="请选择"
@ -38,10 +41,7 @@
</el-option>
</el-select>
</el-form-item> -->
<el-form-item
label="库区编号"
prop='state'
>
<el-form-item label="库区编号">
<el-select
v-model="enterForm.areaId"
placeholder="请选择库区编号"
@ -152,7 +152,7 @@ export default {
tableProps: {},
ids: [],
enterForm: {
consignorId: 1,
consignorId: '',
storageId: '',
areaId: '',
locationCode: '',
@ -178,7 +178,6 @@ export default {
this.getBasicListsto()
storageList1().then((res) => {
this.enterForm.storageId = res.data[0].id
this.listAreaByStorage(this.enterForm.storageId)
})
},
@ -190,6 +189,8 @@ export default {
getBasicList() {
consignorList().then((res) => {
this.options = res.rows
console.log(this.options)
this.enterForm.consignorId = this.options[0].id
})
},
//
@ -209,8 +210,7 @@ export default {
listAreaByStorage(val) {
listAreaByStorage(this.enterForm.storageId).then((res) => {
this.areaIdhList = res.data
this.enterForm.areaId = 1
// console.log(this.areaIdhList)
// this.enterForm.areaId = 1
})
},
//
@ -267,17 +267,7 @@ export default {
},
//
exportBtn() {
// const request = {
// pageSize: isAll === "all" ? null : this.paging.size,
// pageNum: isAll === "all" ? null : this.paging.page,
// ...this.searchForm,
// };
dealEmptyQueryCondition(request)
// this.download(
// "monitor/job/export",
// request,
// `goods_${new Date().getTime()}.xlsx`
// );
}
}
}

@ -35,7 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://127.0.0.1:8030`,
target: `http://127.0.0.1:8031`,
// target: `http://192.168.0.110:8030`,
// target: `http://192.168.0.105:8030`,
// target: `http://120.77.94.227:8030`,

Loading…
Cancel
Save