Browse Source

修复bug

master
chenfang 11 months ago
parent
commit
2ef1a554a3
  1. 30
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts
  2. 5
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
  3. 7
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/index.vue

30
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts

@ -11,6 +11,9 @@ import { Customerdock } from '../../../basicDataManage/customerManage/customerdo
import * as CarrierApi from '@/api/wms/carrier'
import { Carrier } from '@/views/wms/basicDataManage/orderManage/carrier/carrier.data'
import * as BalanceApi from '@/api/wms/balance'
import { Balance } from '@/views/wms/inventoryManage/balance/balance.data'
const { t } = useI18n() // 国际化
// 获取自动提交自动通过自动执行,跳过任务直接删生成记录的默认值
@ -675,12 +678,33 @@ export const CustomerreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
table: {
width: 150
},
tableForm: {
disabled: true
tableForm:{
isInpuFocusShow: true, // 开启查询弹窗
searchListPlaceholder: '请选择包装号',
searchField: 'packingNumber',
searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalancePage,
searchCondition: [{
key: 'locationCode',
value: 'CUST',
isMainValue: false
}]
},
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
disabled: true
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择包装号',
searchField: 'packingNumber',
searchTitle: '库存余额信息',
searchAllSchemas: Balance.allSchemas,
searchPage: BalanceApi.getBalancePage,
searchCondition: [{
key: 'locationCode',
value: 'CUST',
isMainValue: false
}]
}
}
},

5
src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts

@ -746,6 +746,11 @@ export const DeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
tableForm: {
type: 'Select'
},
form: {
componentProps: {
disabled: true
}
}
},
{

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

@ -149,7 +149,12 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
const searchTableSuccessDetail = (formField, searchField, val, formRef ) => {
nextTick(() => {
const setV = {}
setV[formField] = val[0][searchField]
if(formField == 'itemCode') {
setV['itemCode'] = val[0]['code']
setV['uom'] = val[0]['uom']
}else {
setV[formField] = val[0][searchField]
}
formRef.setValues(setV)
})
}

Loading…
Cancel
Save