Browse Source

修改配置文件更新

dev_pda
李俊城 2 years ago
parent
commit
719e8f8610
  1. 10
      fe/PDA/components/virtual-list-test-cell/virtual-list-test-cell.vue
  2. 3
      fe/PDA/main.js

10
fe/PDA/components/virtual-list-test-cell/virtual-list-test-cell.vue

@ -117,6 +117,11 @@
getInventoryStatusDesc,
getInventoryTypeStyle
} from '@/common/basic.js';
import {
getInventoryStatusArray
} from '@/common/array.js'
export default {
name: "virtual-list-test-cell",
props: {
@ -172,6 +177,11 @@
openEditCountDesc(item) {
this.$emit("openEditCountDesc")
},
openEditCountDesc(item) {
this.$emit("bindPickerChange")
},
statusColor(val) {
return getInventoryStatusDesc(val);

3
fe/PDA/main.js

@ -10,10 +10,11 @@ import axios from 'axios';
let startApp = function() {
console.log('startApp', 'startApp')
uni.request({
url: './static/config.json'
url: `./static/config.json?t=${new Date().getTime()}`
}).then(res => {
//在配置中读url,company等信息
Vue.prototype.$dev_url = res[1].data.params.dev;
console.log("请求地址",Vue.prototype.$dev_url)
Vue.prototype.$companyCode = res[1].data.params.companyCode;
Vue.prototype.$warehouseCode = res[1].data.params.warehouseCode;
Vue.prototype.$putawayLocationTypes = res[1].data.params.putawayLocationTypes; //创建上架任务的库存类型

Loading…
Cancel
Save