Browse Source

修改发料

hella_online_20240829
lijuncheng 6 months ago
parent
commit
593221f9d4
  1. 6
      .env.development
  2. 1
      .env.production
  3. 1
      package.json
  4. 2
      src/pages/issue/coms/comScanIssuePack.vue
  5. 10
      src/pages/issue/job/issueDetail.vue

6
.env.development

@ -1,5 +1 @@
VITE_BASE_URL=http://dev.ccwin-in.com:25300/api/admin-api
VITE_BASE_URL_IMAGE=http://dev.ccwin-in.com:25300/admin-api
# 租户配置
VITE_TENANT='[{"text":"长春","value":1},{"text":"成都","value":2}]'
VITE_BASE_URL=http://172.21.32.14:81/api/admin-api VITE_BASE_URL_IMAGE=http://172.21.32.14:81/admin-api # 租户配置 VITE_TENANT='[{"text":"长春","value":1},{"text":"成都","value":2}]'

1
.env.production

@ -0,0 +1 @@
VITE_BASE_URL=http://172.21.32.14:81/api/admin-api VITE_BASE_URL_IMAGE=http://172.21.32.14:81/admin-api # 租户配置 VITE_TENANT='[{"text":"长春","value":1},{"text":"成都","value":2}]'

1
package.json

@ -13,6 +13,7 @@
"hella8:app-ios": "uni build -p app-ios --mode hella8",
"hella8:h5:ssr": "uni build --ssr --mode hella8",
"hella8:mp-weixin": "uni build -p mp-weixin --mode hella8",
"prod": "uni build --mode production",
"test": "uni build --mode test",
"hella8": "uni build --mode hella8",
"hella9": "uni build --mode hella9",

2
src/pages/issue/coms/comScanIssuePack.vue

@ -245,6 +245,8 @@
}
});
return
}else {
this.onScanResult(result)
}
}
},

10
src/pages/issue/job/issueDetail.vue

@ -243,11 +243,11 @@
// },
submit() {
let params = this.setParams()
if(!params.subList||params.subList.length==0){
this.showErrorMessage("请扫描您需要提交的发料任务")
return
}
// let params = this.setParams()
// if(!params.subList||params.subList.length==0){
// this.showErrorMessage("")
// return
// }
uni.showLoading({
title: "提交中....",
mask: true

Loading…
Cancel
Save