Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
陈薪名 8 months ago
parent
commit
c683240736
  1. 6
      src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts
  2. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

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

@ -167,11 +167,12 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'isConsignment', field: 'isConsignment',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isTable: true, isTable: false,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isForm:false,
form: { form: {
component: 'Switch', component: 'Switch',
value: 'TRUE', value: 'TRUE',
@ -191,6 +192,7 @@ export const PurchaseMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isForm:false,
form: { form: {
component: 'Switch', component: 'Switch',
value: 'TRUE', value: 'TRUE',
@ -719,6 +721,8 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
min: 0 min: 0
} }
}, },
isTable:false,
isTableForm:false,
tableForm: { tableForm: {
type: 'InputNumber', type: 'InputNumber',
min: 0 min: 0

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

@ -180,6 +180,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => {
setV['itemCode'] = val[0]['itemCode'] setV['itemCode'] = val[0]['itemCode']
setV['poLine'] = val[0]['poLine'] setV['poLine'] = val[0]['poLine']
setV['uom'] = val[0]['uom'] setV['uom'] = val[0]['uom']
setV['orderQty'] = val[0]['orderQty']
} }
formRef.setValues(setV) formRef.setValues(setV)
}) })

Loading…
Cancel
Save