Browse Source

日程,离散

master_hella_20240701
yufei0306 6 months ago
parent
commit
f319e6f132
  1. 2
      src/components/TableForm/src/TableForm.vue
  2. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/index.vue
  3. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

2
src/components/TableForm/src/TableForm.vue

@ -40,7 +40,7 @@
/>
<el-table-column
v-slot="{ row, $index }"
v-for="(headerItem) in tableFields"
v-for="(headerItem) in tableFields.filter(item=>(!item.hidden))"
:key="headerItem"
:fixed="headerItem.tableForm?.fixed"
:label="t(`ts.${headerItem.label}`).replace('ts.','')" :prop="headerItem.field"

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

@ -517,6 +517,7 @@ console.log('PurchaseMain.allSchemas.searchSchema',PurchaseMain.allSchemas.searc
if (item.field == 'orderQty') {
console.log("AAAAAA",item)
item.tableForm.disabled = false
item.hidden = false
}
})
}
@ -525,6 +526,7 @@ console.log('PurchaseMain.allSchemas.searchSchema',PurchaseMain.allSchemas.searc
if (item.field == 'orderQty') {
console.log("BBBBB",item)
item.tableForm.disabled = true
item.hidden = true
}
})
}

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

@ -494,6 +494,7 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
tableForm: {
disabled:false,
hidden:false,
type: 'InputNumber',
min: 1,
precision: 6

Loading…
Cancel
Save