Browse Source

修复bug

master
chenfang 11 months ago
parent
commit
fe229a81cc
  1. 6
      src/components/Detail/src/Detail.vue
  2. 2
      src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/index.vue
  3. 2
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue
  4. 3
      src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue

6
src/components/Detail/src/Detail.vue

@ -428,6 +428,12 @@ const openDetail = async (row: any, titleName: any, titleValue: any, tableName:
defaultButtons.defaultFilterBtn(null) //
]
}
//
if (props.fromeWhere == 'customerreceipt') {
HeadButttondata.value = [
defaultButtons.defaultFilterBtn(null) //
]
}
}
//

2
src/views/wms/deliversettlementManage/customerreceipt/customerreceiptRequestMain/index.vue

@ -51,6 +51,7 @@
:apiUpdate="CustomerreceiptRequestMainApi.updateCustomerreceiptRequestMain"
:apiCreate="CustomerreceiptRequestMainApi.createCustomerreceiptRequestMain"
:isBusiness="true"
fromeWhere="customerreceipt"
@handleAddTable="handleAddTable"
@handleDeleteTable="handleDeleteTable"
@searchTableSuccess="searchTableSuccess"
@ -69,6 +70,7 @@
:apiUpdate="CustomerreceiptRequestDetailApi.updateCustomerreceiptRequestDetail"
:apiPage="CustomerreceiptRequestDetailApi.getCustomerreceiptRequestDetailPage"
:apiDelete="CustomerreceiptRequestDetailApi.deleteCustomerreceiptRequestDetail"
fromeWhere="customerreceipt"
:Echo="Echo"
/>

2
src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue

@ -285,6 +285,8 @@ const buttonTableClick = async (val, row) => {
/** 添加/修改操作 */
const formRef = ref()
const openForm =async (type: string, row?: number) => {
console.log(9999,row)
console.log(996669,type)
tableData.value = [] //
formRef.value.open(type, row)
}

3
src/views/wms/deliversettlementManage/deliverplan/deliverPlanMain/index.vue

@ -109,6 +109,9 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
row[formField] = val[0][searchField]
} else {
const setV = {}
if(formField == 'itemCode') {
row['uom'] = val[0]['uom']
}
setV[formField] = val[0][searchField]
formRef.setValues(setV)
}

Loading…
Cancel
Save