Bladeren bron

update

docs_0727
lb 1 jaar geleden
bovenliggende
commit
21713c2c22
2 gewijzigde bestanden met toevoegingen van 6 en 6 verwijderingen
  1. +2
    -2
      public/index.html
  2. +4
    -4
      src/views/modules/pms/brokeLog/config.js

+ 2
- 2
public/index.html Bestand weergeven

@@ -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
// window.SITE_CONFIG['apiURL'] = 'http://localhost:3000/pms-am'; // xv
</script>
<% } %>


+ 4
- 4
src/views/modules/pms/brokeLog/config.js Bestand weergeven

@@ -11,9 +11,9 @@ export default function () {
{ prop: "materialName", label: "原料" },
// { prop: "material", label: "原料编码" },
{ prop: "qty", label: "上料量" },
{ prop: "siloCode1", label: "上料料仓1" },
{ prop: "siloCode2", label: "上料料仓2" },
{ prop: "siloCode3", label: "上料料仓3" },
{ prop: "siloName1", label: "上料料仓1" },
{ prop: "siloName2", label: "上料料仓2" },
{ prop: "siloName3", label: "上料料仓3" },
{ prop: 'startTime', label: "开始上料时间", filter: timeFilter },
{ prop: 'endTime', label: "结束上料时间", filter: timeFilter },
{ prop: "statusDictValue", label: "破碎作业", filter: val => ['正常停止', '废除'][val] ?? '-' },
@@ -72,7 +72,7 @@ export default function () {
{
prop: 'silo',
label: "按料仓搜索",
fieldOptionLabel: 'code', // 把料仓筛选条件的label改为展示code,而不是展示name
fieldOptionLabel: 'name', // 把料仓筛选条件的label改为展示code,而不是展示name
select: [],
fn: () => this.$http.get("/pms/materialStorage/page", { params: { page: 1, limit: 999, typeDictValue: '0' } }),
bind: {


Laden…
Annuleren
Opslaan