update 更新料仓 料位
This commit is contained in:
parent
58f6737adb
commit
98e92059ce
@ -38,9 +38,9 @@
|
|||||||
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
|
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
|
||||||
<script>
|
<script>
|
||||||
// window.SITE_CONFIG['apiURL'] = 'http://192.168.1.103:8080/pms-am';
|
// window.SITE_CONFIG['apiURL'] = 'http://192.168.1.103:8080/pms-am';
|
||||||
// window.SITE_CONFIG['apiURL'] = 'http://192.168.1.49:8080/pms-am'; // tengyun
|
window.SITE_CONFIG['apiURL'] = 'http://192.168.1.49:8080/pms-am'; // tengyun
|
||||||
// window.SITE_CONFIG['apiURL'] = 'http://192.168.1.62:8080/pms-am'; // tao
|
// window.SITE_CONFIG['apiURL'] = 'http://192.168.1.62:8080/pms-am'; // tao
|
||||||
window.SITE_CONFIG['apiURL'] = 'http://192.168.1.21:8080/pms-am'; // xv
|
// window.SITE_CONFIG['apiURL'] = 'http://192.168.1.21:8080/pms-am'; // xv
|
||||||
</script>
|
</script>
|
||||||
<% } %>
|
<% } %>
|
||||||
<!-- 集成测试环境 -->
|
<!-- 集成测试环境 -->
|
||||||
|
@ -12,6 +12,10 @@ export default function () {
|
|||||||
{ prop: "code", label: "料仓编码" },
|
{ prop: "code", label: "料仓编码" },
|
||||||
{ prop: "typeDictValue", label: "料仓类型", filter: dictFilter('liaocang') },
|
{ prop: "typeDictValue", label: "料仓类型", filter: dictFilter('liaocang') },
|
||||||
// { prop: "enabled", label: "状态", subcomponent: switchBtn }, // subcomponent
|
// { prop: "enabled", label: "状态", subcomponent: switchBtn }, // subcomponent
|
||||||
|
{ prop: "materialTypeDictValue", label: "物料类型", filter: dictFilter('material_category') },
|
||||||
|
{ prop: "density", label: "物料堆积密度" },
|
||||||
|
{ prop: "dosHigh", label: "加料上限" },
|
||||||
|
{ prop: "dosLow", label: "加料下限" },
|
||||||
{ prop: "description", label: "描述" },
|
{ prop: "description", label: "描述" },
|
||||||
{ prop: "remark", label: "备注" },
|
{ prop: "remark", label: "备注" },
|
||||||
{
|
{
|
||||||
@ -112,8 +116,8 @@ export default function () {
|
|||||||
fields: headFormFields, // 名称是由 BaseSearchForm.vue 组件固定的
|
fields: headFormFields, // 名称是由 BaseSearchForm.vue 组件固定的
|
||||||
},
|
},
|
||||||
urls: {
|
urls: {
|
||||||
base: "/pms/materialStorage",
|
base: "/pms/materialStorageDynamic",
|
||||||
page: "/pms/materialStorage/page",
|
page: "/pms/materialStorageDynamic/page",
|
||||||
// subase: '/pms/blenderStepParam',
|
// subase: '/pms/blenderStepParam',
|
||||||
// subpage: '/pms/blenderStepParam/page',
|
// subpage: '/pms/blenderStepParam/page',
|
||||||
// more...
|
// more...
|
||||||
|
@ -26,9 +26,9 @@
|
|||||||
{{ qty }} <span style="color: #777; font-weight: normal; font-size: 1rem">{{ computedUnit }}</span>
|
{{ qty }} <span style="color: #777; font-weight: normal; font-size: 1rem">{{ computedUnit }}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="btn-group" style="text-align: right">
|
<!-- <div class="btn-group" style="text-align: right">
|
||||||
<el-button type="text">编辑</el-button>
|
<el-button type="text">编辑</el-button>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -126,7 +126,7 @@ export default {
|
|||||||
getList(storageType) {
|
getList(storageType) {
|
||||||
this.resetAllStorages();
|
this.resetAllStorages();
|
||||||
const params = storageType ? { limit: this.limit, page: this.page, typeDictValue: storageType } : { limit: this.limit, page: this.page };
|
const params = storageType ? { limit: this.limit, page: this.page, typeDictValue: storageType } : { limit: this.limit, page: this.page };
|
||||||
this.$http.get("/pms/materialStorageQty/page", { params }).then(({ data: res }) => {
|
this.$http.get("/pms/materialStorageDynamic/page", { params }).then(({ data: res }) => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
if ("list" in res.data) {
|
if ("list" in res.data) {
|
||||||
res.data.list.forEach((item) => {
|
res.data.list.forEach((item) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user