Browse Source

增加是否生成标签判断

master_hella_20240701
zhaoxuebing 6 months ago
parent
commit
103008495e
  1. 1
      src/api/wms/supplierdeliverRequestMain/index.ts
  2. 16
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

1
src/api/wms/supplierdeliverRequestMain/index.ts

@ -31,6 +31,7 @@ export interface SupplierdeliverRequestMainVO {
autoAgree: string
autoExecute: string
directCreateRecord: string
labelStatus: string
}
// 查询供应商发货申请主列表

16
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -264,6 +264,20 @@ const isShowMainButton = (row, val) => {
}
}
//
const isShowMainButtonLabel = (row, val) => {
if (val.indexOf(row.status) > -1) {
if(row.labelStatus == '2'){
return true
}else{
return false
}
} else {
return true
}
}
// -
const butttondata = (row) => {
return [
@ -280,7 +294,7 @@ const butttondata = (row) => {
{
label: '生成标签',
name: 'ssbq',
hide: isShowMainButton(row, ['3']),
hide: isShowMainButtonLabel(row, ['3']),
type: 'primary',
icon: '',
color: '',

Loading…
Cancel
Save