Browse Source

countQty

hella_online_20240829
wangyufei 3 months ago
parent
commit
675a15646d
  1. 2
      src/views/wms/issueManage/issue/issueRequestMain/index.vue
  2. 4
      src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts

2
src/views/wms/issueManage/issue/issueRequestMain/index.vue

@ -64,7 +64,7 @@
@clearSearchInput="onChange"
:sumFormDataByTableCustom ="(formRef,formModel,tableData)=>{
tableData.forEach(item=>{
item.qty = item.qty1*item.packQty
item.qty = item.countQty*item.packQty
})
}"
>

4
src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts

@ -976,7 +976,7 @@ export const IssueRequestDetail = useCrudSchemas(
},
{
label: '包装数',
field: 'qty1',
field: 'countQty',
sort: 'custom',
table: {
width: 150
@ -1284,7 +1284,7 @@ export const IssueRequestDetailRules = reactive({
toLocationCode: [
{ required: true, message: '请输入到库位代码', trigger: 'blur' }
],
qty1: [
countQty: [
{ required: true, message: '请输入包装数量', trigger: 'change' },
// { min: 0, message: '包装数量不能小于1', trigger: 'blur' }
],

Loading…
Cancel
Save