update 更新料仓 料位
This commit is contained in:
parent
58f6737adb
commit
98e92059ce
@ -38,9 +38,9 @@
|
||||
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
|
||||
<script>
|
||||
// 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.21:8080/pms-am'; // xv
|
||||
// window.SITE_CONFIG['apiURL'] = 'http://192.168.1.21:8080/pms-am'; // xv
|
||||
</script>
|
||||
<% } %>
|
||||
<!-- 集成测试环境 -->
|
||||
|
@ -12,6 +12,10 @@ export default function () {
|
||||
{ prop: "code", label: "料仓编码" },
|
||||
{ prop: "typeDictValue", label: "料仓类型", filter: dictFilter('liaocang') },
|
||||
// { 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: "remark", label: "备注" },
|
||||
{
|
||||
@ -112,8 +116,8 @@ export default function () {
|
||||
fields: headFormFields, // 名称是由 BaseSearchForm.vue 组件固定的
|
||||
},
|
||||
urls: {
|
||||
base: "/pms/materialStorage",
|
||||
page: "/pms/materialStorage/page",
|
||||
base: "/pms/materialStorageDynamic",
|
||||
page: "/pms/materialStorageDynamic/page",
|
||||
// subase: '/pms/blenderStepParam',
|
||||
// subpage: '/pms/blenderStepParam/page',
|
||||
// more...
|
||||
|
@ -26,9 +26,9 @@
|
||||
{{ qty }} <span style="color: #777; font-weight: normal; font-size: 1rem">{{ computedUnit }}</span>
|
||||
</div>
|
||||
|
||||
<div class="btn-group" style="text-align: right">
|
||||
<!-- <div class="btn-group" style="text-align: right">
|
||||
<el-button type="text">编辑</el-button>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -126,7 +126,7 @@ export default {
|
||||
getList(storageType) {
|
||||
this.resetAllStorages();
|
||||
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 ("list" in res.data) {
|
||||
res.data.list.forEach((item) => {
|
||||
|
Loading…
Reference in New Issue
Block a user