Browse Source

采购订单修改

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

Loading…
Cancel
Save