单据出库数值校验119
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
"name" : "恒森",
|
||||
"appid" : "__UNI__8D175E0",
|
||||
"description" : "恒森WMS手持系统",
|
||||
"versionName" : "1.1.8",
|
||||
"versionCode" : 118,
|
||||
"versionName" : "1.1.9",
|
||||
"versionCode" : 119,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
||||
@@ -160,6 +160,9 @@
|
||||
if (e.now_assign_qty < 0 || e.now_assign_qty > e.qty) {
|
||||
e.now_assign_qty = e.qty
|
||||
}
|
||||
if (parseFloat(e.sto_qty) < parseFloat(e.now_assign_qty) && e.checked) {
|
||||
e.checked = false
|
||||
}
|
||||
},
|
||||
toEmpty () {
|
||||
uni.navigateBack()
|
||||
@@ -171,6 +174,9 @@
|
||||
})
|
||||
},
|
||||
toCheck (e) {
|
||||
if (parseFloat(e.sto_qty) < parseFloat(e.now_assign_qty)) {
|
||||
return
|
||||
}
|
||||
e.checked = !e.checked
|
||||
let arr = this.dataList.filter(el => el.checked === true)
|
||||
this.allCheck = arr.length === this.dataList.length
|
||||
|
||||
@@ -127,7 +127,8 @@ export const outStorageOrderList = (page, size, type) => {
|
||||
"material_spec": "物料类型",
|
||||
"stor_code": "FStockPallet",
|
||||
"product_area": "A4",
|
||||
"qty": 10.0,
|
||||
"qty": 1000.0,
|
||||
"sto_qty": 99,
|
||||
"plan_qty": 0.0,
|
||||
"assign_qty": 0.0,
|
||||
"unit_name": "单位",
|
||||
@@ -140,7 +141,8 @@ export const outStorageOrderList = (page, size, type) => {
|
||||
"material_spec": "物料类型",
|
||||
"stor_code": "FStockPallet",
|
||||
"product_area": "A4",
|
||||
"qty": 10.0,
|
||||
"qty": 1000.0,
|
||||
"sto_qty": 88,
|
||||
"plan_qty": 0.0,
|
||||
"assign_qty": 0.0,
|
||||
"unit_name": "单位",
|
||||
|
||||
Reference in New Issue
Block a user