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) {
color: #dedede;
}
.el-descriptions__body .el-descriptions__table .el-descriptions__cell{
word-break: break-all!important;
}
</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))
tfk['itemCode'] = item['itemCode']
tfk['itemName'] = item['itemName']
tfk['itemDesc1'] = item['itemDesc1']
tfk['uom'] = item['uom']
tfk['batch'] = item['batch']
tfk['inventoryQty'] = item['qty']
@ -603,9 +604,9 @@ const submitForm = async (formType, submitData) => {
}
formRef.value.formLoading = true
data.intexContactBegin = data.intexContact[0]
data.intexContactEnd = data.intexContact[0]
data.intexContactEnd = data.intexContact[1]
data.supplierContactBegin = data.supplierContact[0]
data.supplierContactEnd = data.supplierContact[0]
data.supplierContactEnd = data.supplierContact[1]
await PurchaseBarterRequestMainApi.createPurchaseBarterRequestMain(data)
message.success(t('common.createSuccess'))
} else {

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

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

Loading…
Cancel
Save