Browse Source

采购换货修改BUG

intes_online20250115
叶佳兴 4 weeks ago
parent
commit
4c193b670f
  1. 4
      src/components/Detail/src/Detail.vue
  2. 5
      src/views/wms/purchasereceiptManage/purchaseBarter/purchaseBarterRequest/index.vue
  3. 23
      src/views/wms/purchasereceiptManage/purchaseBarter/purchaseBarterRequest/purchaseBarterRequestMain.data.ts

4
src/components/Detail/src/Detail.vue

@ -1338,5 +1338,7 @@ defineExpose({ openDetail, formRef ,updateList,submitUpdateList,changeTabCurrent
::v-deep(.label-class-name) { ::v-deep(.label-class-name) {
color: #dedede; color: #dedede;
} }
.el-descriptions__body .el-descriptions__table .el-descriptions__cell{
word-break: break-all!important;
}
</style> </style>
<style scoped lang="scss"></style>

5
src/views/wms/purchasereceiptManage/purchaseBarter/purchaseBarterRequest/index.vue

@ -168,6 +168,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) =>
let tfk = JSON.parse(JSON.stringify(tableFormKeys)) let tfk = JSON.parse(JSON.stringify(tableFormKeys))
tfk['itemCode'] = item['itemCode'] tfk['itemCode'] = item['itemCode']
tfk['itemName'] = item['itemName'] tfk['itemName'] = item['itemName']
tfk['itemDesc1'] = item['itemDesc1']
tfk['uom'] = item['uom'] tfk['uom'] = item['uom']
tfk['batch'] = item['batch'] tfk['batch'] = item['batch']
tfk['inventoryQty'] = item['qty'] tfk['inventoryQty'] = item['qty']
@ -603,9 +604,9 @@ const submitForm = async (formType, submitData) => {
} }
formRef.value.formLoading = true formRef.value.formLoading = true
data.intexContactBegin = data.intexContact[0] data.intexContactBegin = data.intexContact[0]
data.intexContactEnd = data.intexContact[0] data.intexContactEnd = data.intexContact[1]
data.supplierContactBegin = data.supplierContact[0] data.supplierContactBegin = data.supplierContact[0]
data.supplierContactEnd = data.supplierContact[0] data.supplierContactEnd = data.supplierContact[1]
await PurchaseBarterRequestMainApi.createPurchaseBarterRequestMain(data) await PurchaseBarterRequestMainApi.createPurchaseBarterRequestMain(data)
message.success(t('common.createSuccess')) message.success(t('common.createSuccess'))
} else { } else {

23
src/views/wms/purchasereceiptManage/purchaseBarter/purchaseBarterRequest/purchaseBarterRequestMain.data.ts

@ -206,6 +206,18 @@ export const PurchaseBarterRequestMain = useCrudSchemas(
}, },
sortTableDefault: 1000 sortTableDefault: 1000
}, },
// {
// label: '不良内容',
// field: 'badContent',
// sort: 'custom',
// isTable: true,
// isDetail: true,
// isSearch: false,
// table: {
// width: 150
// },
// },
{ {
label: '不良内容', label: '不良内容',
field: 'badContent', field: 'badContent',
@ -213,8 +225,12 @@ export const PurchaseBarterRequestMain = useCrudSchemas(
isTable: true, isTable: true,
isDetail: true, isDetail: true,
isSearch: false, isSearch: false,
table: { form: {
width: 150 componentProps: {
type:"textarea",
maxlength:200,
showWordLimit:true
}
}, },
}, },
{ {
@ -423,6 +439,9 @@ export const PurchaseBarterRequestDetail = useCrudSchemas(
table: { table: {
width: 150 width: 150
}, },
tableForm: {
disabled: true
},
form: { form: {
componentProps: { componentProps: {
disabled: true disabled: true

Loading…
Cancel
Save