diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts index 91536f1c1..023d6051e 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/purchaseMain/purchaseMain.data.ts @@ -167,11 +167,12 @@ export const PurchaseMain = useCrudSchemas(reactive([ field: 'isConsignment', dictType: DICT_TYPE.TRUE_FALSE, dictClass: 'string', - isTable: true, + isTable: false, sort: 'custom', table: { width: 150 }, + isForm:false, form: { component: 'Switch', value: 'TRUE', @@ -191,6 +192,7 @@ export const PurchaseMain = useCrudSchemas(reactive([ table: { width: 150 }, + isForm:false, form: { component: 'Switch', value: 'TRUE', @@ -719,6 +721,8 @@ export const PurchaseDetail = useCrudSchemas(reactive([ min: 0 } }, + isTable:false, + isTableForm:false, tableForm: { type: 'InputNumber', min: 0 diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index e1ef80cea..35dd36a73 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -180,6 +180,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef) => { setV['itemCode'] = val[0]['itemCode'] setV['poLine'] = val[0]['poLine'] setV['uom'] = val[0]['uom'] + setV['orderQty'] = val[0]['orderQty'] } formRef.setValues(setV) })