diff --git a/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts b/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts index b422e5187..ddf7bb6d9 100644 --- a/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts +++ b/src/views/wms/basicDataManage/itemManage/itembasic/itembasic.data.ts @@ -277,6 +277,17 @@ export const Itembasic = useCrudSchemas(reactive([ width: 100 } , }, + { + label: '结算方式', + field: 'settlementType', + dictType: DICT_TYPE.SETTLEMENT_TYPE, + dictClass: 'string', + sort: 'custom', + isTable: true, + table: { + width: 120 + } , + }, { label: '项目', field: 'project', diff --git a/src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts b/src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts index 535480fce..3ca507505 100644 --- a/src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts +++ b/src/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data.ts @@ -221,18 +221,18 @@ export const Supplieritem = useCrudSchemas(reactive([ } } }, - { - label: '结算方式', - field: 'settlementType', - dictType: DICT_TYPE.SETTLEMENT_TYPE, - dictClass: 'string', - isSearch: true, - isTable: true, - sort: 'custom', - table: { - width: 150 - } - }, + // { + // label: '结算方式', + // field: 'settlementType', + // dictType: DICT_TYPE.SETTLEMENT_TYPE, + // dictClass: 'string', + // isSearch: true, + // isTable: true, + // sort: 'custom', + // table: { + // width: 150 + // } + // }, { label: '是否可用', field: 'available', diff --git a/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/index.vue b/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/index.vue index 151aeaad1..7f5cc651b 100644 --- a/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/index.vue +++ b/src/views/wms/issueManage/onlinesettlement/onlinesettlementRequestMain/index.vue @@ -128,17 +128,19 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => //row['uom'] = val[0]['uom'] } else { const setV = {} - SupplieritemApi.getSupplieritemPage({ - supplierCode: val[0]['supplierCode'], - itemCode: val[0]['itemCode'] - }).then(res => { - if(res?.list[0]?.settlementType == 'ONLINE'){ - setV['issueRecordNumber'] = val[0]['number'] - formRef.setValues(setV) - } else{ - message.error('找不到对应的结算方式') - } - }) + setV[formField] = val[0][searchField] + // SupplieritemApi.getSupplieritemPage({ + // supplierCode: val[0]['supplierCode'], + // itemCode: val[0]['itemCode'] + // }).then(res => { + // if(res?.list[0]?.settlementType == 'ONLINE'){ + // setV['issueRecordNumber'] = val[0]['number'] + // formRef.setValues(setV) + // } else{ + // message.error('找不到对应的结算方式') + // } + // }) + formRef.setValues(setV) } }) }