| | |
| | | *Authorï¼jxx |
| | | *Contactï¼283591387@qq.com |
| | | *代ç ç±æ¡æ¶çæ,任使´æ¹é½å¯è½å¯¼è´è¢«ä»£ç çæå¨è¦ç |
| | | *ä¸å¡è¯·å¨@/extension/widesea_wcs/order/Dt_OutboundOrderDetail_Hty.jsæ¤å¤ç¼å |
| | | *ä¸å¡è¯·å¨@/extension/outbound/deliveryOrderDetail_Hty.jsæ¤å¤ç¼å |
| | | --> |
| | | <template> |
| | | <view-grid ref="grid" |
| | |
| | | key: 'id', |
| | | footer: "Foots", |
| | | cnName: 'åå²åºåºåæç»', |
| | | name: 'outboundOrderDetail_Hty', |
| | | url: "/OutboundOrderDetail_Hty/", |
| | | name: 'dtDeliveryOrderDetailHty', |
| | | url: "/DtDeliveryOrderDetailHty/", |
| | | sortName: "id" |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | | const searchFormFields = ref({}); |
| | | const searchFormOptions = ref([]); |
| | | const columns = ref([{field:'id',title:'主é®',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'}, |
| | | {field:'orderId',title:'åºåºå主é®',type:'int',width:110,require:true,align:'left',sort:true}, |
| | | {field:'materielCode',title:'ç©æç¼å·',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'materielName',title:'ç©æåç§°',type:'string',width:180,align:'left'}, |
| | | {field:'batchNo',title:'æ¹æ¬¡å·',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'orderQuantity',title:'åæ®æ°é',type:'decimal',width:110,require:true,align:'left'}, |
| | | {field:'lockQuantity',title:'é宿°é',type:'decimal',width:110,require:true,align:'left'}, |
| | | {field:'overOutQuantity',title:'å·²åºæ°é',type:'decimal',width:110,require:true,align:'left'}, |
| | | {field:'orderDetailStatus',title:'订åæç»ç¶æ',type:'int',width:110,require:true,align:'left'}, |
| | | {field:'remark',title:'夿³¨',type:'string',width:220,align:'left'}, |
| | | {field:'sourceId',title:'æºä¸»é®',type:'int',width:110,require:true,align:'left'}, |
| | | {field:'operateType',title:'夿³¨',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'creater',title:'å建人',type:'string',width:110,require:true,align:'left'}, |
| | | {field:'createDate',title:'å建æ¶é´',type:'datetime',width:150,require:true,align:'left',sort:true}, |
| | | {field:'modifier',title:'ä¿®æ¹äºº',type:'string',width:100,align:'left'}, |
| | | {field:'modifyDate',title:'ä¿®æ¹æ¥æ',type:'datetime',width:150,align:'left',sort:true}]); |
| | | const searchFormFields = ref({ |
| | | goods_no: "", |
| | | batch_num: "", |
| | | ootDetailStatus: "", |
| | | status: "", |
| | | }); |
| | | const searchFormOptions = ref([ |
| | | [ |
| | | { |
| | | title: "è¯åç¼ç ", |
| | | field: "goods_no", |
| | | type: "like" |
| | | }, |
| | | { |
| | | title: "æ¹å·", |
| | | field: "batch_num", |
| | | type: "like" |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "ç¶æ", |
| | | field: "ootDetailStatus", |
| | | type: "select", |
| | | dataKey: "ootDetailStatus", |
| | | data: [], |
| | | }, |
| | | { |
| | | title: "åæ¥ç¶æ", |
| | | field: "status", |
| | | type: "select", |
| | | dataKey: "syncStatus", |
| | | data: [], |
| | | }, |
| | | ], |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | | field: 'id', |
| | | title: 'åå²è®°å½ä¸»é®', |
| | | type: 'int', |
| | | width: 120, |
| | | hidden: true, |
| | | readonly: true, |
| | | require: true, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'sourceId', |
| | | title: 'å主é®', |
| | | type: 'int', |
| | | width: 100, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'deliveryOrderId', |
| | | title: 'å
³èåºåºåID', |
| | | type: 'int', |
| | | width: 120, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'reservoirarea', |
| | | title: 'åºåº', |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left', |
| | | bind: { key: "warehouseNuber", data: [] } |
| | | }, |
| | | { |
| | | field: 'goods_no', |
| | | title: 'è¯åç¼ç ', |
| | | type: 'string', |
| | | width: 150, |
| | | align: 'left', |
| | | bind: { key: "medicineGoods", data: [] } |
| | | }, |
| | | { |
| | | field: 'order_qty', |
| | | title: 'è®¢åæ°é', |
| | | type: 'decimal', |
| | | width: 120, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'order_Outqty', |
| | | title: 'åºåºå®ææ°é', |
| | | type: 'decimal', |
| | | width: 120, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'batch_num', |
| | | title: 'æ¹å·', |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'exp_date', |
| | | title: 'æ ¡æ', |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'ootDetailStatus', |
| | | title: 'ç¶æ', |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left', |
| | | bind: { key: "ootDetailStatus", data: [] } |
| | | }, |
| | | { |
| | | field: 'status', |
| | | title: 'åæ¥ç¶æ', |
| | | type: 'int', |
| | | width: 120, |
| | | align: 'left', |
| | | bind: { key: "syncStatus", data: [] } |
| | | }, |
| | | { |
| | | field: 'operateType', |
| | | title: 'æä½ç±»å', |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left', |
| | | bind: { key: "operateType", data: [] } |
| | | }, |
| | | { |
| | | field: 'insertTime', |
| | | title: 'ç§»å
¥å岿¶é´', |
| | | type: 'datetime', |
| | | width: 160, |
| | | align: 'left', |
| | | sort: true |
| | | }, |
| | | { |
| | | field: 'creater', |
| | | title: 'å建人', |
| | | type: 'string', |
| | | width: 90, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'createDate', |
| | | title: 'å建æ¶é´', |
| | | type: 'datetime', |
| | | width: 160, |
| | | align: 'left', |
| | | sort: true |
| | | }, |
| | | { |
| | | field: 'modifier', |
| | | title: 'ä¿®æ¹äºº', |
| | | type: 'string', |
| | | width: 100, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'modifyDate', |
| | | title: 'ä¿®æ¹æ¶é´', |
| | | type: 'datetime', |
| | | width: 160, |
| | | align: 'left', |
| | | sort: true |
| | | } |
| | | ]); |
| | | const detail = ref({ |
| | | cnName: "#detailCnName", |
| | | table: "#detailTable", |
| | | columns: [], |
| | | sortName: "", |
| | | key: "" |
| | | cnName: "åå²åºåºåæç»è¯¦æ
", |
| | | table: "DtDeliveryOrderDetailHtyDetail", |
| | | columns: [ |
| | | { |
| | | field: 'id', |
| | | title: 'åå²è®°å½ä¸»é®', |
| | | type: 'int', |
| | | width: 120, |
| | | hidden: true, |
| | | readonly: true, |
| | | require: true, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'sourceId', |
| | | title: 'å主é®', |
| | | type: 'int', |
| | | width: 100, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'deliveryOrderId', |
| | | title: 'å
³èåºåºåID', |
| | | type: 'int', |
| | | width: 120, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'reservoirarea', |
| | | title: 'åºåº', |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left', |
| | | bind: { key: "warehouseNuber", data: [] } |
| | | }, |
| | | { |
| | | field: 'goods_no', |
| | | title: 'è¯åç¼ç ', |
| | | type: 'string', |
| | | width: 150, |
| | | align: 'left', |
| | | bind: { key: "medicineGoods", data: [] } |
| | | }, |
| | | { |
| | | field: 'order_qty', |
| | | title: 'è®¢åæ°é', |
| | | type: 'decimal', |
| | | width: 120, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'order_Outqty', |
| | | title: 'åºåºå®ææ°é', |
| | | type: 'decimal', |
| | | width: 120, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'batch_num', |
| | | title: 'æ¹å·', |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'exp_date', |
| | | title: 'æ ¡æ', |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'ootDetailStatus', |
| | | title: 'ç¶æ', |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left', |
| | | bind: { key: "ootDetailStatus", data: [] } |
| | | }, |
| | | { |
| | | field: 'status', |
| | | title: 'åæ¥ç¶æ', |
| | | type: 'int', |
| | | width: 120, |
| | | align: 'left', |
| | | bind: { key: "syncStatus", data: [] } |
| | | }, |
| | | { |
| | | field: 'operateType', |
| | | title: 'æä½ç±»å', |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left', |
| | | bind: { key: "operateType", data: [] } |
| | | }, |
| | | { |
| | | field: 'insertTime', |
| | | title: 'ç§»å
¥å岿¶é´', |
| | | type: 'datetime', |
| | | width: 160, |
| | | align: 'left', |
| | | sort: true |
| | | } |
| | | ], |
| | | sortName: "sourceId", |
| | | key: "sourceId" |
| | | }); |
| | | return { |
| | | table, |
| | |
| | | }; |
| | | }, |
| | | }); |
| | | </script> |
| | | </script> |