Browse Source

订单状态修改

master
陈薪名 1 year ago
parent
commit
7964a44f8e
  1. 6
      src/components/Detail/src/Detail.vue
  2. 12
      src/views/wms/deliversettlementManage/deliverplan/saleMain/index.vue
  3. 12
      src/views/wms/productionManage/productionplan/workMain/index.vue
  4. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts
  5. 12
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue
  6. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

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

@ -250,13 +250,13 @@ const openDetail = async (row: any, titleName: any, titleValue: any, tableName:
getChangeRecordList()
//
HeadButttondata.value = [
defaultButtons.defaultAddBtn({hide:isShowMainButton(row,['ORDER_READY','1','PLAN_PURCHASE_READY','1'])}), //
defaultButtons.defaultAddBtn({hide:isShowMainButton(row,['1','1','PLAN_PURCHASE_READY','1'])}), //
defaultButtons.defaultFilterBtn(null), //
]
//
buttondata.value = [
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['ORDER_READY','1','PLAN_PURCHASE_READY','1'])}), //
defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['ORDER_READY','1','PLAN_PURCHASE_READY','1'])}), //
defaultButtons.mainListEditBtn({hide:isShowMainButton(row,['1','1','PLAN_PURCHASE_READY','1'])}), //
defaultButtons.mainListDeleteBtn({hide:isShowMainButton(row,['1','1','PLAN_PURCHASE_READY','1'])}), //
]
} finally {
detailLoading.value = false

12
src/views/wms/deliversettlementManage/deliverplan/saleMain/index.vue

@ -191,12 +191,12 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row) => {
return [
defaultButtons.mainListOrderCloBtn({hide:isShowMainButton(row,['ORDER_READY'])}), //
defaultButtons.mainListOrderPubBtn({hide:isShowMainButton(row,['ORDER_READY'])}), //
defaultButtons.mainListOrderOpeBtn({hide:isShowMainButton(row,['ORDER_CLOSED'])}), //
defaultButtons.mainListOrderWitBtn({hide:isShowMainButton(row,['ORDER_PUBLISHED'])}), //
defaultButtons.mainListEditBtn({hasPermi:'wms:sale-main:update',hide:isShowMainButton(row,['ORDER_READY'])}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:sale-main:delete',hide:isShowMainButton(row,['ORDER_READY'])}), //
defaultButtons.mainListOrderCloBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListOrderPubBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListOrderOpeBtn({hide:isShowMainButton(row,['3'])}), //
defaultButtons.mainListOrderWitBtn({hide:isShowMainButton(row,['2'])}), //
defaultButtons.mainListEditBtn({hasPermi:'wms:sale-main:update',hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:sale-main:delete',hide:isShowMainButton(row,['1'])}), //
]
}

12
src/views/wms/productionManage/productionplan/workMain/index.vue

@ -179,12 +179,12 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row) => {
return [
defaultButtons.mainListOrderCloBtn({hide:isShowMainButton(row,['ORDER_READY'])}), //
defaultButtons.mainListOrderPubBtn({hide:isShowMainButton(row,['ORDER_READY'])}), //
defaultButtons.mainListOrderOpeBtn({hide:isShowMainButton(row,['ORDER_CLOSED'])}), //
defaultButtons.mainListOrderWitBtn({hide:isShowMainButton(row,['ORDER_PUBLISHED'])}), //
defaultButtons.mainListEditBtn({hasPermi:'wms:work-main:update',hide:isShowMainButton(row,['ORDER_READY'])}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:work-main:delete',hide:isShowMainButton(row,['ORDER_READY'])}), //
defaultButtons.mainListOrderCloBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListOrderPubBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListOrderOpeBtn({hide:isShowMainButton(row,['3'])}), //
defaultButtons.mainListOrderWitBtn({hide:isShowMainButton(row,['2'])}), //
defaultButtons.mainListEditBtn({hasPermi:'wms:work-main:update',hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:work-main:delete',hide:isShowMainButton(row,['1'])}), //
]
}

2
src/views/wms/purchasereceiptManage/supplierdeliver/demandforecastingMain/demandforecastingMain.data.ts

@ -144,7 +144,7 @@ export const DemandforecastingMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
form: {
value: 'ORDER_READY',
value: '1',
componentProps: {
disabled: true
}

12
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue

@ -177,12 +177,12 @@ const isShowMainButton = (row,val) => {
// -
const butttondata = (row) => {
return [
defaultButtons.mainListOrderCloBtn({hide:isShowMainButton(row,['ORDER_READY'])}), //
defaultButtons.mainListOrderPubBtn({hide:isShowMainButton(row,['ORDER_READY'])}), //
defaultButtons.mainListOrderOpeBtn({hide:isShowMainButton(row,['ORDER_CLOSED'])}), //
defaultButtons.mainListOrderWitBtn({hide:isShowMainButton(row,['ORDER_PUBLISHED'])}), //
defaultButtons.mainListEditBtn({hasPermi:'wms:purchase-main:update',hide:isShowMainButton(row,['ORDER_READY'])}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:purchase-main:delete',hide:isShowMainButton(row,['ORDER_READY'])}), //
defaultButtons.mainListOrderCloBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListOrderPubBtn({hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListOrderOpeBtn({hide:isShowMainButton(row,['3'])}), //
defaultButtons.mainListOrderWitBtn({hide:isShowMainButton(row,['2'])}), //
defaultButtons.mainListEditBtn({hasPermi:'wms:purchase-main:update',hide:isShowMainButton(row,['1'])}), //
defaultButtons.mainListDeleteBtn({hasPermi:'wms:purchase-main:delete',hide:isShowMainButton(row,['1'])}), //
]
}

2
src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

@ -65,7 +65,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150
},
form: {
value: 'ORDER_READY',
value: '1',
componentProps: {
disabled: true
}

Loading…
Cancel
Save