diff --git a/.env.development b/.env.development
index faacbb33..4e262404 100644
--- a/.env.development
+++ b/.env.development
@@ -1,6 +1,6 @@
-# VITE_BASE_URL=http://localhost:12080/admin-api
-VITE_BASE_URL=http://dev.ccwin-in.com:28051/api/admin-api
-VITE_BASE_URL_IMAGE=http://172.22.32.9:81/admin-api
+VITE_BASE_URL=http://localhost:12080/admin-api
+# VITE_BASE_URL=http://dev.ccwin-in.com:28051/api/admin-api
+# VITE_BASE_URL_IMAGE=http://172.22.32.9:81/admin-api
# 租户配置
VITE_TENANT='[{"text":"英泰","value":1},{"text":"长春2379","value":3}]'
diff --git a/.env.hella13 b/.env.hella13
deleted file mode 100644
index 97e83b15..00000000
--- a/.env.hella13
+++ /dev/null
@@ -1,14 +0,0 @@
-VITE_BASE_URL=http://172.21.32.13:81/api/admin-api
-VITE_BASE_URL_IMAGE=http://172.21.32.13:81/admin-api
-
-# 租户配置
-VITE_TENANT='[{"text":"长春1379","value":1}]'
-
-# 是否是测试环境
-VITE_isDevelopment=false
-
-# 积木报表请求路径
-VITE_JMREPORT_BASE_URL='http://172.21.32.13:90'
-
-# 项目管理模式 批次货/包装
-VITE_MANAGE_MODEL="BY_BATCH"
\ No newline at end of file
diff --git a/.env.hella14 b/.env.hella14
deleted file mode 100644
index 441178e5..00000000
--- a/.env.hella14
+++ /dev/null
@@ -1,14 +0,0 @@
-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":"长春1379","value":1}]'
-
-# 是否是测试环境
-VITE_isDevelopment=true
-
-# 积木报表请求路径
-VITE_JMREPORT_BASE_URL='http://172.21.32.14:90'
-
-# 项目管理模式 批次货/包装
-VITE_MANAGE_MODEL="BY_BATCH"
\ No newline at end of file
diff --git a/.env.hella15 b/.env.hella15
deleted file mode 100644
index f7c9ff07..00000000
--- a/.env.hella15
+++ /dev/null
@@ -1,14 +0,0 @@
-VITE_BASE_URL=https://scp.faway-hella.com:81/api/admin-api
-VITE_BASE_URL_IMAGE=https://scp.faway-hella.com:81/admin-api
-
-# 租户配置
-VITE_TENANT='[{"text":"长春1379","value":1}]'
-
-# 是否是测试环境
-VITE_isDevelopment=true
-
-# 积木报表请求路径
-VITE_JMREPORT_BASE_URL='https://scp.faway-hella.com'
-
-# 项目管理模式 批次货/包装
-VITE_MANAGE_MODEL="BY_BATCH"
\ No newline at end of file
diff --git a/.env.hella16 b/.env.hella16
deleted file mode 100644
index c84efd8f..00000000
--- a/.env.hella16
+++ /dev/null
@@ -1,14 +0,0 @@
-VITE_BASE_URL=https://scptest.faway-hella.com:81/api/admin-api
-VITE_BASE_URL_IMAGE=https://scptest.faway-hella.com:81/admin-api
-
-# 租户配置
-VITE_TENANT='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'
-
-# 是否是测试环境
-VITE_isDevelopment=true
-
-# 积木报表请求路径
-VITE_JMREPORT_BASE_URL='https://scptest.faway-hella.com'
-
-# 项目管理模式 批次货/包装
-VITE_MANAGE_MODEL="BY_BATCH"
\ No newline at end of file
diff --git a/.env.hella8 b/.env.hella8
deleted file mode 100644
index 8851bd7c..00000000
--- a/.env.hella8
+++ /dev/null
@@ -1,15 +0,0 @@
-VITE_BASE_URL=http://172.22.32.8:81/api/admin-api
-VITE_BASE_URL_IMAGE=http://172.22.32.8:81/admin-api
-
-# 租户配置
-VITE_TENANT='[{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'
-
-# 是否是测试环境
-VITE_isDevelopment=false
-
-
-# 积木报表请求路径
-VITE_JMREPORT_BASE_URL='http://172.22.32.8:90'
-
-# 项目管理模式 批次货/包装
-VITE_MANAGE_MODEL="BY_BATCH"
\ No newline at end of file
diff --git a/.env.hella9 b/.env.hella9
deleted file mode 100644
index 36f3d239..00000000
--- a/.env.hella9
+++ /dev/null
@@ -1,14 +0,0 @@
-VITE_BASE_URL=http://172.22.32.9:81/api/admin-api
-VITE_BASE_URL_IMAGE=http://172.22.32.9:81/admin-api
-
-# 租户配置
-VITE_TENANT='[{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'
-
-# 是否是测试环境
-VITE_isDevelopment=true
-
-# 积木报表请求路径
-VITE_JMREPORT_BASE_URL='http://172.22.32.9:90'
-
-# 项目管理模式 批次货/包装
-VITE_MANAGE_MODEL="BY_BATCH"
\ No newline at end of file
diff --git a/.env.production b/.env.production
index 49336718..a3d9c20b 100644
--- a/.env.production
+++ b/.env.production
@@ -1,15 +1,14 @@
-VITE_BASE_URL=http://172.22.32.8:81/api/admin-api
-VITE_BASE_URL_IMAGE=http://172.22.32.8:81/admin-api
+VITE_BASE_URL=http://192.168.120.34:81/api/admin-api
+VITE_BASE_URL_IMAGE=http://192.168.120.34:81/admin-api
# 租户配置
-VITE_TENANT='[{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'
+VITE_TENANT='[{"text":"英泰","value":1}]'
# 是否是测试环境
-VITE_isDevelopment=false
-
+VITE_isDevelopment=true
# 积木报表请求路径
-VITE_JMREPORT_BASE_URL='http://172.22.32.8:90'
+VITE_JMREPORT_BASE_URL='http://192.168.120.34:81/api'
# 项目管理模式 批次货/包装
VITE_MANAGE_MODEL="BY_BATCH"
\ No newline at end of file
diff --git a/.env.test b/.env.test
index 16293197..b3c1ab1b 100644
--- a/.env.test
+++ b/.env.test
@@ -1,12 +1,14 @@
-
-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_BASE_URL=http://192.168.120.35:81/api/admin-api
+VITE_BASE_URL_IMAGE=http://192.168.120.35:81/admin-api
# 租户配置
-VITE_TENANT='[{"text":"长春1379","value":1},{"text":"成都1397","value":2},{"text":"长春2379","value":3}]'
+VITE_TENANT='[{"text":"英泰","value":1}]'
# 是否是测试环境
VITE_isDevelopment=true
# 积木报表请求路径
-VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:25310'
+VITE_JMREPORT_BASE_URL='http://192.168.120.35:81/api'
+
+# 项目管理模式 批次货/包装
+VITE_MANAGE_MODEL="BY_BATCH"
\ No newline at end of file
diff --git a/.env.test-dev b/.env.test-dev
new file mode 100644
index 00000000..024ae336
--- /dev/null
+++ b/.env.test-dev
@@ -0,0 +1,15 @@
+VITE_BASE_URL=http://dev.ccwin-in.com:28051/api/admin-api
+VITE_BASE_URL_IMAGE=http://dev.ccwin-in.com:28051/admin-api
+
+# 租户配置
+VITE_TENANT='[{"text":"英泰","value":1}]'
+
+# 是否是测试环境
+VITE_isDevelopment=false
+
+
+# 积木报表请求路径
+VITE_JMREPORT_BASE_URL='http://dev.ccwin-in.com:28051'
+
+# 项目管理模式 批次货/包装
+VITE_MANAGE_MODEL="BY_BATCH"
\ No newline at end of file
diff --git a/Dockerfile_prod b/Dockerfile_prod
deleted file mode 100644
index 116cbdac..00000000
--- a/Dockerfile_prod
+++ /dev/null
@@ -1,7 +0,0 @@
-# 设置基础镜像
-FROM win-nginx
-
-WORKDIR /opt/sfms3.0-uniapp
-COPY nginx_prod.conf /usr/local/nginx/conf/nginx.conf
-# 将dist/build/h5/文件中的内容复制到 /opt/sfms3.0-uniapp 这个目录下面
-COPY dist/build/h5/ /opt/sfms3.0-uniapp
diff --git a/nginx.conf b/nginx.conf
index 2b8d1e32..02896bfc 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -41,6 +41,27 @@ http {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $http_x_forwarded_for;
}
+ location ^~ /jmreport/ {
+ proxy_pass http://localhost:100/jmreport/;
+ proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header;
+ proxy_set_header X-Forwared-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $http_x_forwarded_for;
+ }
+ location ^~ /magic/ {
+ proxy_pass http://localhost:100/magic/;
+ proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header;
+ proxy_set_header X-Forwared-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Real-IP $remote_addr;
+ proxy_set_header X-Forwarded-For $http_x_forwarded_for;
+ }
+ location /profile/ {
+ proxy_cache my_zone;
+ proxy_cache_valid 200 304 12h;
+ proxy_cache_key $host$uri$is_args$args;
+ alias /opt/profile/;
+ index index.html index.htm;
+ }
location / {
proxy_cache my_zone;
proxy_cache_valid 200 304 12h;
diff --git a/nginx_prod.conf b/nginx_prod.conf
deleted file mode 100644
index 2f9b3691..00000000
--- a/nginx_prod.conf
+++ /dev/null
@@ -1,57 +0,0 @@
-user root;
-worker_processes 2;
-
-events {
- worker_connections 1024;
-}
-
-http {
- include mime.types;
- charset utf-8,gbk;
- default_type application/octet-stream;
- log_format main '$remote_addr - $remote_user [$time_local] "$request" '
- '$status $body_bytes_sent "$http_referer" '
- '"$http_user_agent" "$http_x_forwarded_for" "$request_time $upstream_response_time"';
-
- proxy_cache_path /opt/nginx_cache/ levels=1:2 keys_zone=my_zone:10m inactive=300s max_size=5g;
- access_log logs/access.log main;
- sendfile on;
- #tcp_nopush on;
- keepalive_timeout 600s;
- client_max_body_size 200m;
- gzip on;
- gzip_min_length 10k;
- gzip_comp_level 9;
- gzip_buffers 4 16k;
- gzip_types text/plain application/javascript text/css application/xml text/javascript image/jpeg image/gif image/png;
- gzip_vary on;
- gzip_disable "MSIE [1-6]\.";
- upstream sfms3.0 {
- server localhost:90 weight=10 max_fails=3 fail_timeout=10s;
- }
- server {
- listen 81;
- server_name_in_redirect off;
- server_name _;
- location /api/ {
- proxy_pass http://sfms3.0/;
- proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header;
- proxy_set_header X-Forwared-For $proxy_add_x_forwarded_for;
- proxy_set_header Host $http_host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $http_x_forwarded_for;
- }
- location /profile/ {
- alias /opt/profile/;
- index index.html index.htm;
- }
- location / {
- proxy_cache my_zone;
- proxy_cache_valid 200 304 12h;
- proxy_cache_key $host$uri$is_args$args;
- try_files $uri $uri/ /index.html;
- root /opt/sfms3.0-uniapp;
- index index.html index.htm;
- }
- }
-}
\ No newline at end of file
diff --git a/package.json b/package.json
index 0d932a24..c4d16606 100644
--- a/package.json
+++ b/package.json
@@ -8,19 +8,14 @@
"dev": "uni",
"dev:h5:ssr": "uni --ssr",
"dev:mp-weixin": "uni -p mp-weixin",
- "hella8:app": "uni build -p app --mode hella8",
- "hella8:app-android": "uni build -p app-android --mode hella8",
- "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:app": "uni build -p app --mode test",
+ "test:app-android": "uni build -p app-android --mode test",
+ "test:app-ios": "uni build -p app-ios --mode test",
+ "test:h5:ssr": "uni build --ssr --mode test",
+ "test:mp-weixin": "uni build -p mp-weixin --mode test",
+ "prod": "uni build --mode production",
"test": "uni build --mode test",
- "hella8": "uni build --mode hella8",
- "hella9": "uni build --mode hella9",
- "hella13": "uni build --mode hella13",
- "hella14": "uni build --mode hella14",
- "hella15": "uni build --mode hella15",
- "hella16": "uni build --mode hella16"
+ "test-dev": "uni build --mode test-dev"
},
"dependencies": {
"@dcloudio/uni-app": "3.0.0-3090920231225001",
diff --git a/src/common/balance.js b/src/common/balance.js
index 8ddae8f2..d6f9b4a8 100644
--- a/src/common/balance.js
+++ b/src/common/balance.js
@@ -397,13 +397,13 @@ export function byQuantity(label, locationCode, fromInventoryStatuses, callback)
})
filters.push({
column: "packingNumber",
- action: "==",
- value: null
+ action: "isStr",
+ value: ''
})
filters.push({
column: "batch",
- action: "==",
- value: label.batch?label.batch:null
+ action: "isStr",
+ value:''
})
filters.push({
column: "locationCode",
diff --git a/src/mycomponents/scan/winComScan.vue b/src/mycomponents/scan/winComScan.vue
index 979ae50c..f442f672 100644
--- a/src/mycomponents/scan/winComScan.vue
+++ b/src/mycomponents/scan/winComScan.vue
@@ -155,10 +155,11 @@
// title: '解析中...',
// mask: true
// })
+ console.log(222)
let that = this;
// if(index==-1){
- // that.scanMsg =that.scanMsg + "\n";
- // }
+ // that.sc
+ console.log(that.scanMsg.includes('\n'))
if (that.scanMsg.includes('\n')) {
// that.scanMsg = 'HPQ;V1.0;ICE115F11161AG;PP20230427000027;B20230427002;Q50';
setTimeout(() => {
diff --git a/src/mycomponents/scan/winScanLocation.vue b/src/mycomponents/scan/winScanLocation.vue
index 0f4c0144..a7f363c5 100644
--- a/src/mycomponents/scan/winScanLocation.vue
+++ b/src/mycomponents/scan/winScanLocation.vue
@@ -38,7 +38,7 @@
components: {
winComScan,
},
- emits: ["getLocation"],
+ emits: ["getLocation","clearFromLocation"],
props: {
title: {
type: String,
@@ -88,11 +88,11 @@
this.$refs.scan.clearScanValue();
},
getScanResult(result) {
-
uni.showLoading({
title: '扫描中...',
mask: true
});
+ console.log(111,result)
let label = result.label;
if (label.barType === 'QRCode') {
this.code = label.locationCode;
@@ -101,10 +101,10 @@
}
if(this.code==undefined){
uni.hideLoading();
- this.showErrorMessage("扫描库位[" + this.code + "]为空,请输入正确的库位")
+ this.showErrorMessage("扫描库位为空,请输入正确的库位")
return
}
-
+ console.log(888,this.code)
getBasicLocationByCode(this.code).then(res => {
uni.hideLoading();
@@ -112,6 +112,7 @@
let result = res.data.list[0];
if(result.code!=this.code){
this.showErrorMessage('未查询到库位[' + this.code + ']')
+ this.$emit('clearFromLocation',this.code)
return;
}
var type = result.type;
@@ -131,6 +132,7 @@
}
} else {
this.showErrorMessage('未查询到库位[' + this.code + ']')
+ this.$emit('clearFromLocation',this.code)
}
}).catch(error => {
diff --git a/src/mycomponents/scan/winScanPackAndLocation.vue b/src/mycomponents/scan/winScanPackAndLocation.vue
index aaebd305..2ae6adda 100644
--- a/src/mycomponents/scan/winScanPackAndLocation.vue
+++ b/src/mycomponents/scan/winScanPackAndLocation.vue
@@ -236,6 +236,9 @@
scanLocation(scanResult) {
+ if(scanResult.fromLocationCode){
+ this.fromLocationCode = scanResult.fromLocationCode
+ }
var isCheck = false;
if (this.fromLocationCode == '') {
this.showErrorMessage('来源库位不能为空', callback => {
@@ -334,6 +337,11 @@
})
}
this.chooseWhich = '2'
+ if(!result.label.itemCode){
+ this.showErrorMessage('扫描标签不对,请重新扫描')
+ this.$emit('clearItemCode',result.label.code)
+ return
+ }
if (res.data && res.data.list && res.data.list.length > 1) {
this.showBalanceSelect(res.data.list);
} else {
diff --git a/src/pages.json b/src/pages.json
index 32a54c13..9e882972 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -2216,7 +2216,7 @@
{
"path": "pages/inventoryMove/record/okToHoldRecord",
"style": {
- "navigationBarTitleText": "合格转隔离记录",
+ "navigationBarTitleText": "物料隔离记录",
"enablePullDownRefresh": false
}
},
@@ -2577,6 +2577,13 @@
"enablePullDownRefresh": false
}
},
+ {
+ "path": "pages/unPlanned/record/receiptRecordByBatch",
+ "style": {
+ "navigationBarTitleText": "计划外入库记录",
+ "enablePullDownRefresh": false
+ }
+ },
{
"path": "pages/unPlanned/record/issueRecord",
"style": {
diff --git a/src/pages/count/job/countJob.vue b/src/pages/count/job/countJob.vue
index 7ca78774..fa45bfd1 100644
--- a/src/pages/count/job/countJob.vue
+++ b/src/pages/count/job/countJob.vue
@@ -210,7 +210,7 @@
if (this.queryParams.creationTime) {
filterParams.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.queryParams.creationTime
})
}
diff --git a/src/pages/count/job/fuzzyCountJob.vue b/src/pages/count/job/fuzzyCountJob.vue
index e57b4aba..d5199cb3 100644
--- a/src/pages/count/job/fuzzyCountJob.vue
+++ b/src/pages/count/job/fuzzyCountJob.vue
@@ -150,7 +150,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/customerReturn/job/returnJob.vue b/src/pages/customerReturn/job/returnJob.vue
index c562ee51..ce074f2f 100644
--- a/src/pages/customerReturn/job/returnJob.vue
+++ b/src/pages/customerReturn/job/returnJob.vue
@@ -133,7 +133,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/customerReturn/record/recordList.vue b/src/pages/customerReturn/record/recordList.vue
index c59f4018..af97d0bd 100644
--- a/src/pages/customerReturn/record/recordList.vue
+++ b/src/pages/customerReturn/record/recordList.vue
@@ -147,7 +147,7 @@
if (this.queryParams.creationTime) {
filterParams.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.queryParams.creationTime
})
}
diff --git a/src/pages/deliver/job/deliverJob.vue b/src/pages/deliver/job/deliverJob.vue
index 58d58a70..6aeda18c 100644
--- a/src/pages/deliver/job/deliverJob.vue
+++ b/src/pages/deliver/job/deliverJob.vue
@@ -139,7 +139,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/inspect/job/inspectJob.vue b/src/pages/inspect/job/inspectJob.vue
index 4ac64d4c..0d21bc92 100644
--- a/src/pages/inspect/job/inspectJob.vue
+++ b/src/pages/inspect/job/inspectJob.vue
@@ -126,7 +126,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/inventoryMove/coms/comMoveJob.vue b/src/pages/inventoryMove/coms/comMoveJob.vue
index 4e77583f..ef029a01 100644
--- a/src/pages/inventoryMove/coms/comMoveJob.vue
+++ b/src/pages/inventoryMove/coms/comMoveJob.vue
@@ -170,7 +170,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/inventoryMove/coms/comMoveRecord.vue b/src/pages/inventoryMove/coms/comMoveRecord.vue
index 47038b41..d4408686 100644
--- a/src/pages/inventoryMove/coms/comMoveRecord.vue
+++ b/src/pages/inventoryMove/coms/comMoveRecord.vue
@@ -1,573 +1,641 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/inventoryMove/coms/okToHoldRecordPack.vue b/src/pages/inventoryMove/coms/okToHoldRecordPack.vue
new file mode 100644
index 00000000..d30b9cfb
--- /dev/null
+++ b/src/pages/inventoryMove/coms/okToHoldRecordPack.vue
@@ -0,0 +1,297 @@
+
+
+
+
+
+ 需求信息
+
+
+
+
+ 来源库位:
+
+
+
+
+
+
+ 零件:
+
+
+
+
+
+
+ 批次:
+
+
+
+
+
+
+ 数量:
+
+
+ EA
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/inventoryMove/coms/okToHoldRecordScan.vue b/src/pages/inventoryMove/coms/okToHoldRecordScan.vue
deleted file mode 100644
index 73acab6f..00000000
--- a/src/pages/inventoryMove/coms/okToHoldRecordScan.vue
+++ /dev/null
@@ -1,327 +0,0 @@
-
-
-
-
-
-
- 需求
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/pages/inventoryMove/job/inventoryMoveDetail.vue b/src/pages/inventoryMove/job/inventoryMoveDetail.vue
index 7c91522e..5aafc125 100644
--- a/src/pages/inventoryMove/job/inventoryMoveDetail.vue
+++ b/src/pages/inventoryMove/job/inventoryMoveDetail.vue
@@ -314,7 +314,8 @@
getScanResult(result,managementPrecision) {
- if(managementPrecision == 'BY_BATCH'){
+ this.managementType = managementPrecision
+ if(managementPrecision == 'BY_BATCH' || managementPrecision == 'BY_QUANTITY' ){
this.setDataBatch(result,managementPrecision)
}else{
this.setData(result,managementPrecision)
@@ -322,6 +323,7 @@
},
setDataBatch(result,managementPrecision){
+ console.log(877,result.balance.qty)
try {
var packingNumber = result.label.packingNumber;
var batch = result.label.batch;
@@ -482,6 +484,7 @@
if (res.success) {
this.managementList = res.list;
this.managementType = this.managementList&& this.managementList[0]&& this.managementList[0].ManagementPrecision ? this.managementList[0].ManagementPrecision : 'BY_PACKAGING'
+ console.log(11,this.managementType)
} else {
uni.hideLoading();
this.showErrorMessage(res.message);
@@ -490,10 +493,10 @@
//允许部分提交
//扫描数量和任务数量相等,直接提交
if (this.scanCount == this.subList.length) {
- if(this.managementType == 'BY_BATCH'){
- this.checkCount();
- }else{
+ if(this.managementType == 'BY_BATCH' || this.managementType == 'BY_QUANTITY'){
this.checkCountBatch();
+ }else{
+ this.checkCount();
}
} else if (this.scanCount < this.subList.length) {
//扫描数量小于任务数量,判断是否允许部分提交
@@ -545,6 +548,7 @@
checkCountBatch(){
// 提交的数量和任务数量不一致提示
let str = ''
+ let str1 = ''
this.detailSource.forEach((item) => {
item.subList.forEach(cur => {
if (cur.qty != cur.handleQty) {
@@ -555,10 +559,20 @@
tempHandleQty = 0
}
str +=
- `提交数量【${tempHandleQty}】与任务物料数量【${cur.qty}】不一致\n`
+ `批次【${cur.batch}】提交数量【${tempHandleQty}】与任务物料数量【${cur.qty}】不一致\n`
+ if( cur.handleQty > cur.balance.balanceQty){
+ console.log(2333,cur.handleQty)
+ console.log(2333,cur.balance.balanceQty)
+ str1 +=
+ `批次【${cur.batch}】提交数量【${ cur.handleQty}】不可以大于库存数量【${cur.balance.balanceQty}】`
+ }
}
})
})
+ if(str1){
+ this.$refs.comMessage.showConfirmWarningModal(str1)
+ return
+ }
if (str) {
str = '任务明细未全部完成,是否提交?\n' + str
this.$refs.comMessage.showQuestionMessage1(str, 'red', res => {
diff --git a/src/pages/inventoryMove/job/inventoryMoveJob.vue b/src/pages/inventoryMove/job/inventoryMoveJob.vue
index 97ef5176..69619c2a 100644
--- a/src/pages/inventoryMove/job/inventoryMoveJob.vue
+++ b/src/pages/inventoryMove/job/inventoryMoveJob.vue
@@ -119,7 +119,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/inventoryMove/record/okToHoldRecord.vue b/src/pages/inventoryMove/record/okToHoldRecord.vue
index e025da9a..8adb3cec 100644
--- a/src/pages/inventoryMove/record/okToHoldRecord.vue
+++ b/src/pages/inventoryMove/record/okToHoldRecord.vue
@@ -1,6 +1,7 @@
-
+
+
diff --git a/src/pages/issue/job/issueDetailBatch.vue b/src/pages/issue/job/issueDetailBatch.vue
index 346ed891..15272fa9 100644
--- a/src/pages/issue/job/issueDetailBatch.vue
+++ b/src/pages/issue/job/issueDetailBatch.vue
@@ -222,13 +222,13 @@
that.subList = res.data.subList;
that.detailSource = getThreeDataSource(that.jobContent)
that.jobContent.detailToLocationCode = res.data.subList[0].toLocationCode
+ that.toLocationCode= res.data.subList[0].toLocationCode
that.fromLocationCode = that.subList[0].fromLocationCode
//任务中已经扫描,模拟扫描赋值
if (this.scanMessage) {
this.openScanPopupSimulate(this.scanMessage);
}
-
setTimeout(r => {
that.resizeCollapse();
}, 100)
@@ -263,9 +263,7 @@
this.managementType = managementTypeParams
if(managementTypeParams == "BY_BATCH" ||managementTypeParams == "BY_QUANTITY" ){
this.setDataBatch(result)
- }else{
- this.setData(result)
- }
+ }
},
setDataBatch(result) {
try {
@@ -312,10 +310,10 @@
if (isExit == undefined) {
// this.showErrorMessage("批次【" + batch + "】库位【" + result
// .fromLocationCode + "】不在列表中")
-
detail.subList.push({
scaned:true,
fromLocationCode:this.fromLocationCode,
+ toLocationCode:this.toLocationCode,
batch:result.label.batch,
handleQty:result.label.qty,
qty:result.balance.qty,
@@ -400,7 +398,9 @@
itemDetail.balanceQty=result.balance.qty
itemDetail.uom=result.balance.uom
itemDetail.packQty=result.package.packQty
- itemDetail.packUnit=result.package.packUnit
+ itemDetail.packUnit=result.package.packUnit
+ itemDetail.fromlocationCode=this.fromLocationCode
+ itemDetail.toLocationCode=this.toLocationCode
// itemDetail.toInventoryStatus = "OK"
// itemDetail.packList.forEach(pac => {
// pac.scaned = true
@@ -481,7 +481,6 @@
}
console.log("提交参数", params);
- return
issueJobSubmit(params).then(res => {
uni.hideLoading()
if (res.data) {
diff --git a/src/pages/issue/job/issueJob.vue b/src/pages/issue/job/issueJob.vue
index 5f2e24a1..9f98eadc 100644
--- a/src/pages/issue/job/issueJob.vue
+++ b/src/pages/issue/job/issueJob.vue
@@ -289,7 +289,7 @@
if (queryParams.creationTime ) {
filterParams.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: queryParams.creationTime
})
}
diff --git a/src/pages/issue/job/issueJob0816.vue b/src/pages/issue/job/issueJob0816.vue
index a3017f95..c714bfc1 100644
--- a/src/pages/issue/job/issueJob0816.vue
+++ b/src/pages/issue/job/issueJob0816.vue
@@ -234,7 +234,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
@@ -333,7 +333,7 @@
// if (this.checkedToday) {
// filters.push({
// column: "create_time",
- // action: "betweeen",
+ // action: "between",
// value: this.todayTime
// })
// }
diff --git a/src/pages/itemHold/record/recordList.vue b/src/pages/itemHold/record/recordList.vue
index c4558f64..9feae876 100644
--- a/src/pages/itemHold/record/recordList.vue
+++ b/src/pages/itemHold/record/recordList.vue
@@ -146,7 +146,7 @@
if (this.queryParams.creationTime) {
filterParams.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.queryParams.creationTime
})
}
diff --git a/src/pages/package/job/overPackageJob.vue b/src/pages/package/job/overPackageJob.vue
index 7a4cd225..1715c018 100644
--- a/src/pages/package/job/overPackageJob.vue
+++ b/src/pages/package/job/overPackageJob.vue
@@ -190,7 +190,7 @@
if (queryParams.creationTime ) {
filterParams.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: queryParams.creationTime
})
}
diff --git a/src/pages/productDismantle/job/productDismantleJob.vue b/src/pages/productDismantle/job/productDismantleJob.vue
index 4712fc84..ea90a1d0 100644
--- a/src/pages/productDismantle/job/productDismantleJob.vue
+++ b/src/pages/productDismantle/job/productDismantleJob.vue
@@ -132,7 +132,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/productPutaway/job/productPutawayJob.vue b/src/pages/productPutaway/job/productPutawayJob.vue
index 25541856..0228ac61 100644
--- a/src/pages/productPutaway/job/productPutawayJob.vue
+++ b/src/pages/productPutaway/job/productPutawayJob.vue
@@ -161,7 +161,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/productReceipt/job/ccProductReceiptJob.vue b/src/pages/productReceipt/job/ccProductReceiptJob.vue
index a9e11e68..3fbc9781 100644
--- a/src/pages/productReceipt/job/ccProductReceiptJob.vue
+++ b/src/pages/productReceipt/job/ccProductReceiptJob.vue
@@ -152,7 +152,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/productReceipt/job/completeReceiveJob.vue b/src/pages/productReceipt/job/completeReceiveJob.vue
index e8520ab7..5cd87b95 100644
--- a/src/pages/productReceipt/job/completeReceiveJob.vue
+++ b/src/pages/productReceipt/job/completeReceiveJob.vue
@@ -131,7 +131,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/productReceipt/job/productReceiptDetail.vue b/src/pages/productReceipt/job/productReceiptDetail.vue
index 2a34cef8..de94cb2b 100644
--- a/src/pages/productReceipt/job/productReceiptDetail.vue
+++ b/src/pages/productReceipt/job/productReceiptDetail.vue
@@ -361,7 +361,7 @@
});
},
- commit() {
+ async commit() {
this.scanCount = getScanCount(this.subList);
if (this.scanCount == 0) {
this.showErrorMessage("扫描数为0,请先扫描")
@@ -376,18 +376,40 @@
}else{
this.toLocationCode = this.jobToLocationCode
}
+ //获取管理模式,封装参数
+ var itemCodes = []
+ this.detailSource.forEach(item => {
+ itemCodes.push(item.itemCode)
+ })
+ await getManagementPrecisions(itemCodes, this.toLocationCode, res => {
+ if (res.success) {
+ this.managementList = res.list;
+ this.managementType = this.managementList&& this.managementList[0]&& this.managementList[0].ManagementPrecision ? this.managementList[0].ManagementPrecision : 'BY_PACKAGING'
+ }
+ })
//扫描数量和任务数量相等,直接提交
if (this.scanCount == this.subList.length) {
- if (this.checkCount()) {
- this.submitJob();
+ if(this.managementType == 'BY_BATCH' || this.managementType == 'BY_QUANTITY'){
+ if (this.checkCountBatch()) {
+ this.submitJob();
+ }
+ }else{
+ if (this.checkCount()) {
+ this.submitJob();
+ }
}
-
} else if (this.scanCount < this.subList.length) {
//扫描数量小于任务数量,判断是否允许部分提交
if (this.jobContent.allowPartialComplete == "TRUE") {
//提交
- if (this.checkCount()) {
- this.submitJob();
+ if(this.managementType == 'BY_BATCH' || this.managementType == 'BY_QUANTITY'){
+ if (this.checkCountBatch()) {
+ this.submitJob();
+ }
+ }else{
+ if (this.checkCount()) {
+ this.submitJob();
+ }
}
} else {
//不允许部分提交,提示
@@ -425,7 +447,34 @@
return isCheck;
},
-
+ checkCountBatch(){
+ var isCheck = true;
+ var hint = ""
+ for (var i = 0; i < this.detailSource.length; i++) {
+ var item = this.detailSource[i];
+ for (var j = 0; j < item.subList.length; j++) {
+ var subItem = item.subList[i]
+ console.log(calc.sub(subItem.handleQty, subItem.qty) )
+ if (calc.sub(subItem.handleQty, subItem.qty) < 0 || calc.sub(subItem.handleQty, subItem.qty) > 0) {
+ isCheck = false;
+ hint = "批次【" + subItem.batch + "】实际收货数量:[" + subItem.handleQty + "]与包装数量[" + subItem.qty +
+ "]不相等,是否继续收货?"
+ break
+ }
+
+ }
+ }
+ console.log(isCheck)
+ if (!isCheck) {
+ this.showQuestMessage(hint, res => {
+ if (res) {
+ this.submitJob();
+ }
+ })
+ }
+
+ return isCheck;
+ },
submitJob() {
uni.showLoading({
title: "提交中....",
diff --git a/src/pages/productReceipt/job/productReceiptJob.vue b/src/pages/productReceipt/job/productReceiptJob.vue
index 3a722ba8..989029a2 100644
--- a/src/pages/productReceipt/job/productReceiptJob.vue
+++ b/src/pages/productReceipt/job/productReceiptJob.vue
@@ -166,7 +166,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/productReceipt/record/recordList.vue b/src/pages/productReceipt/record/recordList.vue
index 831613b1..ca564a58 100644
--- a/src/pages/productReceipt/record/recordList.vue
+++ b/src/pages/productReceipt/record/recordList.vue
@@ -146,7 +146,7 @@
if (this.queryParams.creationTime) {
filterParams.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.queryParams.creationTime
})
}
diff --git a/src/pages/productRecycle/coms/comRecycleJobCard.vue b/src/pages/productRecycle/coms/comRecycleJobCard.vue
index 216deb18..efce0ba2 100644
--- a/src/pages/productRecycle/coms/comRecycleJobCard.vue
+++ b/src/pages/productRecycle/coms/comRecycleJobCard.vue
@@ -1,6 +1,6 @@
-
+
@@ -21,6 +21,10 @@
type: Object,
default: {}
},
+ isShowToLocation: {
+ type: Boolean,
+ default: true
+ },
},
methods: {
diff --git a/src/pages/productRecycle/job/productRecycleJob.vue b/src/pages/productRecycle/job/productRecycleJob.vue
index 3f2e2dcc..72a6f3bb 100644
--- a/src/pages/productRecycle/job/productRecycleJob.vue
+++ b/src/pages/productRecycle/job/productRecycleJob.vue
@@ -11,7 +11,7 @@
-
+
@@ -134,7 +134,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
@@ -161,6 +161,9 @@
if (type === "refresh") {
uni.stopPullDownRefresh();
}
+ res.data.list.forEach(item=>{
+ item.fromLocationCode = item.toLocationCode
+ })
var list = res.data.list;
this.totalCount = res.data.total
updateTitle(this.title+"(" + this.totalCount + ")");
diff --git a/src/pages/productionReceipt/job/productionReceiptJob.vue b/src/pages/productionReceipt/job/productionReceiptJob.vue
index 4d1f72a0..5d33464d 100644
--- a/src/pages/productionReceipt/job/productionReceiptJob.vue
+++ b/src/pages/productionReceipt/job/productionReceiptJob.vue
@@ -195,7 +195,7 @@
if (queryParams.creationTime) {
filterParams.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: queryParams.creationTime
})
}
diff --git a/src/pages/productionReturn/job/holdToReturnJob.vue b/src/pages/productionReturn/job/holdToReturnJob.vue
index 1c10671f..c571028f 100644
--- a/src/pages/productionReturn/job/holdToReturnJob.vue
+++ b/src/pages/productionReturn/job/holdToReturnJob.vue
@@ -135,7 +135,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/productionReturn/job/okToReturnJob.vue b/src/pages/productionReturn/job/okToReturnJob.vue
index f6aaada1..bbe43ac5 100644
--- a/src/pages/productionReturn/job/okToReturnJob.vue
+++ b/src/pages/productionReturn/job/okToReturnJob.vue
@@ -135,7 +135,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/productionReturn/job/returnJob.vue b/src/pages/productionReturn/job/returnJob.vue
index 5dd8a87b..f4df3056 100644
--- a/src/pages/productionReturn/job/returnJob.vue
+++ b/src/pages/productionReturn/job/returnJob.vue
@@ -135,7 +135,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/productionReturn/record/returnToHoldRecordList.vue b/src/pages/productionReturn/record/returnToHoldRecordList.vue
index 4e3f2d6a..a6f20096 100644
--- a/src/pages/productionReturn/record/returnToHoldRecordList.vue
+++ b/src/pages/productionReturn/record/returnToHoldRecordList.vue
@@ -145,7 +145,7 @@
if (this.queryParams.creationTime) {
filterParams.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.queryParams.creationTime
})
}
diff --git a/src/pages/purchaseReceipt/job/receiptDetail.vue b/src/pages/purchaseReceipt/job/receiptDetail.vue
index 4dace67f..a96f9c75 100644
--- a/src/pages/purchaseReceipt/job/receiptDetail.vue
+++ b/src/pages/purchaseReceipt/job/receiptDetail.vue
@@ -34,7 +34,7 @@
+ v-if="managementType == 'BY_BATCH' || managementType =='BY_QUANTITY'">
@@ -289,8 +289,7 @@
getManagementPrecisions(itemCodes, that.jobToLocationCode, res => {
if (res.success) {
this.managementList = res.list;
- this.managementType = this.managementList.some(item => item.ManagementPrecision ==
- 'BY_BATCH') ? 'BY_BATCH' : ''
+ this.managementType = this.managementList&& this.managementList[0]&& this.managementList[0].ManagementPrecision ? this.managementList[0].ManagementPrecision : 'BY_PACKAGING'
}
})
// if (uni.getStorageSync('purchaseReceiptDetailPointParams')) {
@@ -318,8 +317,11 @@
},
getScanResult(result) {
this.balanceInfo = result.balance
+ console.log(this.managementType)
if(this.managementType == 'BY_BATCH'){
this.getScanResultAfterBatch(result)
+ }else if(this.managementType == 'BY_QUANTITY' ){
+ this.getScanResultAfterQuantity(result)
}else{
this.getScanResultAfter(result)
}
@@ -560,6 +562,138 @@
this.showErrorMessage(e.message)
}
},
+ // 数量扫码之后逻辑
+ getScanResultAfterQuantity(result){
+ try {
+ var itemCode = result.label.itemCode;
+ var detail = this.detailSource.find(r => r.itemCode == itemCode);
+ if (detail == undefined) {
+ this.showErrorMessage("物料号【" + itemCode + "】不在列表中")
+ return;
+ }
+ detail.scaned = true;
+ if (result.label.labelType == "ContainerLabel") {
+ var containerNumber = result.label.container;
+ var itemDetail = detail.subList.filter(r => r.containerNumber == containerNumber);
+ if (itemDetail.length == 0) {
+ this.showErrorMessage("物料【" + itemCode + "】、托码【" + containerNumber + "】不在列表中")
+ } else {
+ if (itemDetail[0].scaned) {
+ this.showErrorMessage("物料【" + itemCode + "】、托码【" + containerNumber + "】已经扫描")
+ } else {
+ itemDetail.forEach(item => {
+ item.scaned = true;
+ itemDetail.scanDate = new Date();
+ item.handleQty = calc.add(item.handleQty,result.label.qty)
+ item.toLocationCode = this.toLocationCode;
+ })
+ // calcHandleQty(this.detailSource);
+ this.detailSource[0].subList.sort(compareDesc('scanDate')); //按扫描信息排序
+ this.continueScan()
+ this.$forceUpdate()
+ }
+ }
+ } else if (result.label.labelType == "PurchaseLabel") {
+ var packingNumber = result.package.number;
+ var parentpackingNumber = result.package.parentNumber;
+ var batch = result.label.batch;
+ var qty = result.label.qty;
+ var detail = this.detailSource.find(r => r.itemCode == itemCode);
+ console.log(8989,this.detailSource)
+ if (detail == undefined) {
+ this.showMessage("物料号【" + itemCode + "】不在列表中")
+ } else {
+ //物料在列表中
+ // var itemDetail = detail.subList.find(r => r.batch ==
+ // batch);
+ // if (itemDetail == undefined) {
+ // itemDetail = detail.subList.find(r => r.batch ==
+ // batch);
+
+ // if (itemDetail == undefined) {
+ // this.showMessage("批次【" + batch + "】不在列表中")
+ // } else {
+ // var pack = itemDetail.packList.find(p =>
+ // p.batch == batch)
+ // if (pack == undefined) {
+ // this.showMessage("批次【" + batch + "】不在列表中")
+ // } else {
+ let isScan = false
+ const itemDetail = detail.subList[0]
+ let pack = detail.subList[0] && detail.subList[0].length>0 ?detail.subList[0] : {}
+ if(packingNumber){
+ isScan = this.packingNumberList.some(item=>item == packingNumber)
+ }else{
+ isScan = false
+ }
+ if (isScan) {
+ detail.subList[0].scanDate = new Date();
+ // this.showMessage("箱码【" + packingNumber + "】已经扫描");
+
+ detail.subList[0].handleQty = calc.add(detail.subList[0].handleQty,result.label.qty)
+ } else {
+ this.packingNumberList.push(packingNumber)
+ detail.subList[0].scaned = true
+ detail.subList[0].scanDate = new Date();
+ detail.subList[0].handleQty = Number(result.label.qty);
+ detail.subList[0].toLocationCode = this.toLocationCode;
+ detail.subList[0].labelQty = Number(result.label.qty);
+ }
+ // }
+ calcHandleQty(this.detailSource);
+ this.continueScan()
+ // itemDetail.packList[0] = detail.subList[0]; //按扫描信息排序
+ this.$forceUpdate()
+ // }
+
+ // } else {
+ // //扫描的是外包装,将包装集合全部扫描
+ // var scanedLength = 0;
+ // itemDetail.packList.forEach(res => {
+ // if (res.scaned) {
+ // scanedLength++;
+ // }
+ // })
+ // debugger
+ // let isScan = false
+ // if(packingNumber){
+ // isScan = this.packingNumberList.some(item=>item == packingNumber)
+ // }else{
+ // isScan = false
+ // }
+ // if (isScan) {
+ // itemDetail.scanDate = new Date();
+ // // this.showMessage("箱码【" + packingNumber + "】已经扫描")
+ // itemDetail.handleQty = calc.add(itemDetail.handleQty,result.label.qty)
+ // } else {
+ // this.packingNumberList.push(packingNumber)
+ // itemDetail.scaned = true;
+ // itemDetail.scanDate = new Date();
+ // itemDetail.handleQty =itemDetail.handleQty ?itemDetail.handleQty:0
+ // itemDetail.handleQty = calc.add(itemDetail.handleQty,result.label.qty)
+ // console.log(itemDetail.handleQty)
+ // itemDetail.toLocationCode = this.toLocationCode;
+ // itemDetail.labelQty = Number(result.label.qty);
+ // itemDetail.packList.forEach(pac => {
+ // pac.scaned = true
+ // pac.scanDate = new Date();
+ // pac.handleQty = calc.add(pac.handleQty,result.label.qty);
+ // pac.toLocationCode = this.toLocationCode;
+ // })
+ // detail.handleQty = itemDetail.handleQty
+ // this.detailSource[0].subList.sort(compareDesc('scanDate')); //按扫描信息排序
+ // this.continueScan()
+ // this.$forceUpdate()
+ // }
+ // calcHandleQty(this.detailSource);
+ // }
+ }
+ }
+
+ } catch (e) {
+ this.showErrorMessage(e.message)
+ }
+ },
//继续扫描
continueScan() {
this.scanCount = getScanCount(this.subList);
@@ -715,7 +849,8 @@
var params = this.setParams();
let that = this
- console.log(params)
+ console.log(877,params)
+ // return;
purchaseReceiptJobSubmit(params).then(res => {
if (res.data) {
let isCheckPrint = getSwitchInfoByCode(this.switchCode)//是否显示上架指引单
diff --git a/src/pages/purchaseReceipt/job/receiptJob.vue b/src/pages/purchaseReceipt/job/receiptJob.vue
index b1a8c9b6..cd90837b 100644
--- a/src/pages/purchaseReceipt/job/receiptJob.vue
+++ b/src/pages/purchaseReceipt/job/receiptJob.vue
@@ -184,7 +184,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/purchaseReturn/job/returnJob.vue b/src/pages/purchaseReturn/job/returnJob.vue
index c9761207..86572ea5 100644
--- a/src/pages/purchaseReturn/job/returnJob.vue
+++ b/src/pages/purchaseReturn/job/returnJob.vue
@@ -136,7 +136,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/purchaseReturn/job/returnJob_0904.vue b/src/pages/purchaseReturn/job/returnJob_0904.vue
index 97f80e7c..2ab89e75 100644
--- a/src/pages/purchaseReturn/job/returnJob_0904.vue
+++ b/src/pages/purchaseReturn/job/returnJob_0904.vue
@@ -134,7 +134,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/putaway/job/putawayJob.vue b/src/pages/putaway/job/putawayJob.vue
index cd09fa03..221be3dd 100644
--- a/src/pages/putaway/job/putawayJob.vue
+++ b/src/pages/putaway/job/putawayJob.vue
@@ -150,7 +150,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/putaway/job/quantityPutawayJob.vue b/src/pages/putaway/job/quantityPutawayJob.vue
index 88b999eb..6ea7c10c 100644
--- a/src/pages/putaway/job/quantityPutawayJob.vue
+++ b/src/pages/putaway/job/quantityPutawayJob.vue
@@ -274,7 +274,7 @@
if (queryParams.creationTime) {
filterParams.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: queryParams.creationTime
})
}
diff --git a/src/pages/repleinsh/job/repleinshJob.vue b/src/pages/repleinsh/job/repleinshJob.vue
index a1063cda..3af57d9d 100644
--- a/src/pages/repleinsh/job/repleinshJob.vue
+++ b/src/pages/repleinsh/job/repleinshJob.vue
@@ -206,7 +206,7 @@
if (queryParams.creationTime ) {
filterParams.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: queryParams.creationTime
})
}
diff --git a/src/pages/scrap/job/scrapJob.vue b/src/pages/scrap/job/scrapJob.vue
index e6951b4d..93e93adb 100644
--- a/src/pages/scrap/job/scrapJob.vue
+++ b/src/pages/scrap/job/scrapJob.vue
@@ -130,7 +130,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/stockUp/job/stockUpJob.vue b/src/pages/stockUp/job/stockUpJob.vue
index 58276213..c8114d86 100644
--- a/src/pages/stockUp/job/stockUpJob.vue
+++ b/src/pages/stockUp/job/stockUpJob.vue
@@ -135,7 +135,7 @@ import {
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/supplierDeliver/record/supplierDeliverRecord.vue b/src/pages/supplierDeliver/record/supplierDeliverRecord.vue
index f1cd6202..0b473e82 100644
--- a/src/pages/supplierDeliver/record/supplierDeliverRecord.vue
+++ b/src/pages/supplierDeliver/record/supplierDeliverRecord.vue
@@ -125,7 +125,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/transfer/job/issueJob.vue b/src/pages/transfer/job/issueJob.vue
index f4997341..2a194fd0 100644
--- a/src/pages/transfer/job/issueJob.vue
+++ b/src/pages/transfer/job/issueJob.vue
@@ -136,7 +136,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/transfer/job/receiptJob.vue b/src/pages/transfer/job/receiptJob.vue
index eab54301..8f903d7c 100644
--- a/src/pages/transfer/job/receiptJob.vue
+++ b/src/pages/transfer/job/receiptJob.vue
@@ -134,7 +134,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/unPlanned/job/issueJob.vue b/src/pages/unPlanned/job/issueJob.vue
index 324f5a48..8750cbee 100644
--- a/src/pages/unPlanned/job/issueJob.vue
+++ b/src/pages/unPlanned/job/issueJob.vue
@@ -137,7 +137,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}
diff --git a/src/pages/unPlanned/job/receiptJob.vue b/src/pages/unPlanned/job/receiptJob.vue
index 0fbfeed8..7f6326a6 100644
--- a/src/pages/unPlanned/job/receiptJob.vue
+++ b/src/pages/unPlanned/job/receiptJob.vue
@@ -126,7 +126,7 @@
if (this.checkedToday) {
filters.push({
column: "create_time",
- action: "betweeen",
+ action: "between",
value: this.todayTime
})
}