| | |
| | | |
| | | <template> |
| | | <view-grid |
| | | ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend" |
| | | > |
| | | <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" |
| | | :table="table" :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | |
| | | }); |
| | | const editFormFields = ref({ |
| | | locationStatus: "", |
| | | warehouseId: "", |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | |
| | | require: true, |
| | | align: "left", |
| | | }, |
| | | // { |
| | | // field: "areaId", |
| | | // title: "åºå主é®", |
| | | // type: "string", |
| | | // width: 90, |
| | | // align: "left", |
| | | // bind: {key: "areainfo",data: []} |
| | | // }, |
| | | { |
| | | field: "locationCode", |
| | | title: "è´§ä½ç¼å·", |
| | |
| | | |
| | | <template> |
| | | <view-grid |
| | | ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend" |
| | | > |
| | | <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" |
| | | :table="table" :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | |
| | | width: 90, |
| | | align: "left", |
| | | bind: { key: "areainfo", data: [] }, |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "purchaseOrderNo", |
| | |
| | | width: 150, |
| | | align: "left", |
| | | bind: { key: "businessType", data: [] }, |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "orderStatus", |
| | |
| | | width: 150, |
| | | align: "left", |
| | | bind: { key: "businessType", data: [] }, |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "orderStatus", |
| | |
| | | hidden: true |
| | | }, |
| | | { |
| | | field: "departmentName", |
| | | title: "é¨é¨åç§°", |
| | | type: "string", |
| | | width: 160, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "creater", |
| | | title: "å建人", |
| | | type: "string", |
| | |
| | | type: "string", |
| | | width: 100, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | ]); |
| | | const detail = ref({ |
| | |
| | | hidden: true |
| | | }, |
| | | { |
| | | field: "departmentName", |
| | | title: "é¨é¨åç§°", |
| | | type: "string", |
| | | width: 160, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "operator", |
| | | title: "æä½äºº", |
| | | type: "string", |
| | |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "createDate", |
| | |
| | | |
| | | <template> |
| | | <view-grid |
| | | ref="grid" |
| | | :columns="columns" |
| | | :detail="detail" |
| | | :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" |
| | | :searchFormFields="searchFormFields" |
| | | :searchFormOptions="searchFormOptions" |
| | | :table="table" |
| | | :extend="extend" |
| | | > |
| | | <view-grid ref="grid" :columns="columns" :detail="detail" :editFormFields="editFormFields" |
| | | :editFormOptions="editFormOptions" :searchFormFields="searchFormFields" :searchFormOptions="searchFormOptions" |
| | | :table="table" :extend="extend"> |
| | | </view-grid> |
| | | </template> |
| | | <script> |
| | |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { title: "æçç¼å·", field: "palletCode" ,type:'like'}, |
| | | { title: "è´§ä½ç¼å·", field: "locationCode" }, |
| | | { title: "è´§ä½ç¼å·", field: "locationCode", type: "like" }, |
| | | { title: "æçç±»å", field: "palletType", type: "select", dataKey: "palletType", data: [] }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | ], |
| | | [ |
| | | { title: "åºåç¶æ", field: "status", type: 'select', dataKey: "stockStatusEmun", data: [] }, |
| | | { title: "ä»åº", field: "warehouseCode", type: 'select', dataKey: "wareHouse", data: [] }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | |
| | | field: "palletCode", |
| | | title: "æçç¼å·", |
| | | type: "string", |
| | | width: 150, |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | |
| | | field: "warehouseCode", |
| | | title: "ä»åºå·", |
| | | type: "string", |
| | | width: 120, |
| | | width: 160, |
| | | align: "left", |
| | | bind: { key: "wareHouse", data: [] }, |
| | | }, |
| | | { |
| | | field: "barcode", |
| | |
| | | field: "stockQuantity", |
| | | title: "åºåæ°é", |
| | | type: "string", |
| | | width: 200, |
| | | width: 110, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "outboundQuantity", |
| | | title: "åºåºæ°é", |
| | | type: "string", |
| | | width: 120, |
| | | width: 110, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "status", |
| | |
| | | { title: "ç©æåç§°", field: "materielName", type: 'like' }, |
| | | { title: "æ¹æ¬¡å·", field: "batchNo", type: 'like' }, |
| | | { title: "ä¾åºåç¼å·", field: "supplyCode", type: 'like' }, |
| | | { title: "ä»åºå·", field: "warehouseCode", type: 'like' }, |
| | | ], |
| | | [ |
| | | { title: "ä»åº", field: "warehouseCode", type: 'select', dataKey: "wareHouse", data: [] }, |
| | | ] |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | |
| | | field: "materielCode", |
| | | title: "ç©æç¼å·", |
| | | type: "string", |
| | | width: 150, |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | |
| | | field: "batchNo", |
| | | title: "æ¹æ¬¡å·", |
| | | type: "string", |
| | | width: 90, |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | bind: { key: "wareHouse", data: [] }, |
| | | }, |
| | | { |
| | | field: "stockQuantity", |
| | |
| | | type: "int", |
| | | width: 80, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "depth", |
| | |
| | | type: "int", |
| | | width: 80, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "dispatchertime", |
| | |
| | | type: "int", |
| | | width: 80, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "depth", |
| | |
| | | type: "int", |
| | | width: 80, |
| | | align: "left", |
| | | hidden: true, |
| | | }, |
| | | { |
| | | field: "dispatchertime", |