Browse Source

生产退料申请 修改

master
陈薪名 9 months ago
parent
commit
6a02d51157
  1. 7
      README.md
  2. 4
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

7
README.md

@ -34,5 +34,12 @@ tableForm:{
key: 'available', // 查询列表中字段
value: 'TRUE', // 指查询具体值
isMainValue: false // 表示查询条件不是主表的字段的值
},
{
key: 'available', // 查询列表中字段
value: 'TRUE', // 指查询具体值
action: '==', // 查询拼接条件
isSearch: true, // 使用自定义拼接条件
isMainValue: false // 拼接条件必须要 false 同时不能与 isMainValue: true 同用
}]
},

4
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue

@ -135,7 +135,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
row['qty'] = val[0]['qty']
// tableform
ProductionreturnRequestDetail.allSchemas.tableFormColumns.map(item => {
if(item.field == 'qty') {
if(item.field == 'qty' && val[0]['qty'] > 0) {
item.tableForm.max = val[0]['qty']
}
})
@ -165,7 +165,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => {
setV['qty'] = val[0]['qty']
// tableform
ProductionreturnRequestDetail.allSchemas.tableFormColumns.map(item => {
if(item.field == 'qty') {
if(item.field == 'qty' && val[0]['qty'] > 0) {
item.tableForm.max = val[0]['qty']
}
})

Loading…
Cancel
Save