update
This commit is contained in:
		@@ -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>
 | 
			
		||||
  <% } %>
 | 
			
		||||
 
 | 
			
		||||
@@ -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: {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user