库存产品修改

ywj_dev
anthonywj 2 years ago
parent e0593299e3
commit de84549490

@ -7,9 +7,9 @@ ENV = 'production'
#林纪裕
# VUE_APP_BASE_API = 'http://101.43.77.55:9150/UDI_SPMS_SERVER/'
VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:5004/UDI_SPMS_SERVER/'
# VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:5004/UDI_SPMS_SERVER/'
# 吴总测试服务器
# VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_SPMS_SERVER/'
VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_SPMS_SERVER/'
# 平潭
# VUE_APP_BASE_API = 'http://121.204.169.96:9150/UDI_SPMS_SERVER/'
@ -23,6 +23,9 @@ VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:5004/UDI_SPMS_SERVER/'
# 实施测试服务器 wqq
# VUE_APP_BASE_API = 'http://192.168.0.66:9160/UDI_SPMS_SERVER/'
# 平潭内网
# VUE_APP_BASE_API = 'http://10.200.200.253:9160/UDI_SPMS_SERVER/'
# 应用访问路径 例如使用前缀 /admin/
VUE_APP_CONTEXT_PATH = '/UDI_SPMS_CLIENT/'

@ -3,7 +3,7 @@
<el-card class="el-card">
<el-form :model="filterQuery" class="query-form" size="mini" label-width="100px" v-show="showSearch">
<el-row>
<el-col :span="8">
<el-col :span="6">
<el-form-item class="query-form-item" label="单号:">
<el-input v-model="filterQuery.billNo" placeholder="单号"
style="width: 90%"
@ -25,7 +25,7 @@
<!-- </el-select>-->
<!-- </el-form-item>-->
<!-- </el-col>-->
<el-col :span="8">
<el-col :span="6">
<el-form-item class="query-form-item" label="收货仓库:">
<el-select v-model="filterQuery.invCode" placeholder="请选择收货仓库" clearable="true"
style="width: 90%"

@ -58,7 +58,7 @@
</el-button-group>
</el-form-item>
</el-form>
<el-table v-loading="loading" :data="list" style="width: 100%">
<el-table v-loading="loading" :data="list" style="width: 100%" border>
<el-table-column label="序号" type="index"></el-table-column>
<el-table-column
label="UDI码"

@ -40,7 +40,7 @@
</el-descriptions-item>
</el-descriptions>
<el-form :inline="true" :model="invPreProductDetailQuery" style="margin-top: 10px;" size="mini">
<el-form :inline="true" :model="invPreProductDetailQuery" style="margin-top: 10px;" size="mini" border>
<el-form-item class="query-form-item" label="UDI码:">
<el-input v-model="invPreProductDetailQuery.code"
placeholder="请输入UDI码查询"

@ -73,6 +73,34 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item class="query-form-item" label="供应商名称:" v-if="showSup">
<el-select
v-model="filterQuery.supId"
filterable
remote
clearable="true"
reserve-keyword
placeholder="请选择供应商名称"
:remote-method="findMethod"
size="mini"
:loading="corpLoading"
@change="corpChange"
style="width: 90%"
>
<el-option
v-for="item in fromOptions"
:key="item.name"
:label="item.name"
:value="item.erpId"
>
<span style="float: left">{{ item.name }}</span>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div class="top-right-btn">
@ -158,7 +186,7 @@ import {getInvListByUser} from "@/api/system/invWarehouse";
import {getInvPreInProduct, deleteInvPreInProduct} from "@/api/inventory/invPreInSearch";
import {getBasicUnitMaintains} from "@/api/basic/basicUnitMaintain";
import {isBlank} from "@/utils/strUtil";
import invPreProductsDetail from "@/views/inventory/InvPreProductsDetail.vue";
import invPreProductsDetail from "@/views/inventory/InvPreInProductsDetail.vue";
export default {
name: "InvPreProducts",
@ -173,7 +201,7 @@ export default {
supId: null,
zczbhhzbapzbh: null,
ylqxzcrbarmc: null,
invCode: this.$store.getters.locInvCode,
invCode: null,
page: 1,
limit: 10,
},
@ -217,9 +245,9 @@ export default {
supId: null,
zczbhhzbapzbh: null,
ylqxzcrbarmc: null,
invCode: this.$store.getters.locInvCode,
page: 1,
limit: 10,
invCode: null,
};
this.getList();
},

@ -73,6 +73,33 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="6" >
<el-form-item class="query-form-item" label="供应商名称:" v-if="showSup">
<el-select
v-model="filterQuery.supId"
filterable
remote
clearable="true"
reserve-keyword
placeholder="请选择供应商名称"
:remote-method="findMethod"
size="mini"
:loading="corpLoading"
@change="corpChange"
style="width: 90%"
>
<el-option
v-for="item in fromOptions"
:key="item.name"
:label="item.name"
:value="item.erpId"
>
<span style="float: left">{{ item.name }}</span>
</el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div class="top-right-btn">
@ -217,7 +244,7 @@ export default {
supId: null,
zczbhhzbapzbh: null,
ylqxzcrbarmc: null,
invCode: this.$store.getters.locInvCode,
invCode: null,
page: 1,
limit: 10,
};
@ -246,7 +273,7 @@ export default {
getList() {
this.loading = true;
this.filterQuery.supId = this.$store.getters.customerId;
// this.filterQuery.supId = this.$store.getters.customerId;
getInvPreProduct(this.filterQuery).then((res) => {
this.loading = false;
if (res.code === 20000) {

@ -74,7 +74,7 @@
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item class="query-form-item" label="供应商名称:">
<el-form-item class="query-form-item" label="供应商名称:" v-if="showSup">
<el-select
v-model="filterQuery.supId"
filterable

@ -30,7 +30,8 @@
<el-form-item>
<el-button-group>
<el-button type="primary" icon="el-icon-refresh" @click="onReset"
>重置</el-button
>重置
</el-button
>
<el-button type="primary" @click="onSubmit" icon="el-icon-search"
>查询
@ -124,7 +125,7 @@
<el-form-item label="部门名称:" prop="name">
<el-input
v-model="formData.name"
style="width: 90%"
style="width: 80%"
clearable
size="small"
></el-input>
@ -628,7 +629,8 @@ export default {
}
});
})
.catch(() => {});
.catch(() => {
});
},
toggleExpandAll() {
this.refreshTable = false;
@ -749,7 +751,8 @@ export default {
}
});
})
.catch(() => {});
.catch(() => {
});
},
//
@ -771,7 +774,8 @@ export default {
},
},
components: {Treeselect},
mounted() {},
mounted() {
},
created() {
this.getList();
},

@ -432,8 +432,8 @@ export default {
total: 0,
advanceTypeTypeMap: {
1: "入账库",
2: "寄售库",
3: "预验收库",
3: "寄售库",
2: "预验收库",
},
formMap: {
add: "仓库信息-新增",

Loading…
Cancel
Save