Browse Source

采购订单修改

master
陈薪名 1 year ago
parent
commit
b306d5b9d3
  1. 68
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts

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

@ -94,6 +94,21 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
value: new Date().getTime() value: new Date().getTime()
}, },
}, },
{
label: '税率',
field: 'taxRate',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
componentProps: {
style: {width:'100%'},
min: 0
}
}
},
{ {
label: '截止日期', label: '截止日期',
field: 'dueDate', field: 'dueDate',
@ -124,20 +139,6 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '税率',
field: 'taxRate',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
componentProps: {
min: 0
}
}
},
{ {
label: '联系人姓名', label: '联系人姓名',
field: 'contactName', field: 'contactName',
@ -162,6 +163,28 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
width: 150 width: 150
}, },
}, },
{
label: '当前阶段',
field: 'currentStage',
sort: 'custom',
table: {
width: 150
},
form: {
component: 'InputNumber',
componentProps: {
style: {width:'100%'},
min: 0
}
}
},
{
label: '备注',
field: 'remark',
table: {
width: 150
},
},
{ {
label: '是否寄存订单', label: '是否寄存订单',
field: 'isConsignment', field: 'isConsignment',
@ -188,6 +211,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isForm: false,
form: { form: {
value: 'PurchaseReceipt', value: 'PurchaseReceipt',
componentProps: { componentProps: {
@ -195,14 +219,6 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{
label: '当前阶段',
field: 'currentStage',
sort: 'custom',
table: {
width: 150
},
},
{ {
label: '是否可用', label: '是否可用',
field: 'available', field: 'available',
@ -563,7 +579,8 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
tableForm: { tableForm: {
type: 'InputNumber', type: 'InputNumber',
min: 0 min: 1,
precision: 6
} }
}, },
{ {
@ -625,6 +642,8 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
dictClass: 'string', dictClass: 'string',
isSearch: true, isSearch: true,
isTable: true, isTable: true,
isForm: false,
isTableForm: false,
table: { table: {
width: 150 width: 150
}, },
@ -655,6 +674,9 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
tableForm:{
type:'Select'
},
form: { form: {
component: 'Switch', component: 'Switch',
value: 'TRUE', value: 'TRUE',

Loading…
Cancel
Save