Browse Source

供应商发货添加生成采购收货申请

master
zhang_li 1 year ago
parent
commit
312f22c046
  1. 13
      src/utils/disposition/defaultButtons.ts
  2. 2
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts
  3. 4
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue
  4. 10
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts
  5. 2
      src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts

13
src/utils/disposition/defaultButtons.ts

@ -626,7 +626,18 @@ export function mainListPointBtn(option:any) {
hasPermi: ''
})
}
// 主列表-生成采购收货申请
export function mainListGenerateApplicationBtn(option:any) {
return __defaultBtnOption(option,{
label: '生成采购收货申请',
name: 'generateApplication',
hide: false,
type: 'primary',
color: '',
link: true, // 文本展现按钮
hasPermi: ''
})
}
// 默认按钮规则
function __defaultBtnOption(option:any,specific:any){
return {

2
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/purchasereceiptRequestMain.data.ts

@ -466,7 +466,7 @@ export const PurchasereceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]
table: {
width: 150
},
isTableForm: false,
isTableForm: true,
isForm: false
},
{

4
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/index.vue

@ -120,7 +120,9 @@ const buttonBaseClick = (val, item) => {
// -
const butttondata = (row) => {
return []
return [
defaultButtons.mainListGenerateApplicationBtn(null), //
]
}
// -

10
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRecordMain/supplierdeliverRecordMain.data.ts

@ -320,6 +320,16 @@ export const SupplierdeliverRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false,
table: {
width: 160,
fixed: 'right'
},
}
]))
//表单校验

2
src/views/wms/supplierManage/purchaseclaim/purchaseclaimRequestMain/purchaseclaimRequestMain.data.ts

@ -347,7 +347,7 @@ export const PurchaseclaimRequestDetail = useCrudSchemas(reactive<CrudSchema[]>(
form: {
// labelMessage: '信息提示说明!!!',
componentProps: {
isInpuFocusShow: true,
isSearchList: true, // 开启查询弹窗
searchListPlaceholder: '请选择订单号',
searchField: 'poNumber',
searchTitle: '供应商发货记录',

Loading…
Cancel
Save