Browse Source

唯一校验

hella_online_20240829
wangyufei 4 months ago
parent
commit
325c7bcd9f
  1. 3
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

3
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -343,7 +343,8 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea
if (type == 'tableForm') { if (type == 'tableForm') {
// //
val.forEach(item=>{ val.forEach(item=>{
if(tableData.value.find(item1=>item1['poNumber'] == item['poNumber']&&item1['poLine'] == item['poLine'])) return if(tableData.value.find(item1=>item1['recvBillNum'] == item['recvBillNum'])) return
const newRow = {...row} const newRow = {...row}
newRow[formField] = item[searchField] newRow[formField] = item[searchField]
if (formField == 'poLine') { if (formField == 'poLine') {

Loading…
Cancel
Save