| | |
| | | } |
| | | ); |
| | | |
| | | |
| | | watch(() => props.technologyNumber, |
| | | (newValue, oldValue) => { |
| | | if (props.technologyNumber != null) { |
| | | getWorkOrder(); |
| | | } |
| | | }); |
| | | |
| | | |
| | | const getWorkOrder = () => { |
| | | if (props.processId!=null || props.processId!=""){ |
| | | if ((props.processId != null && props.processId != "") && |
| | | (props.technologyNumber != null && props.technologyNumber != "")) { |
| | | request.post(`/glassOptimize/getProcessCardDetail/${props.processId}/${props.technologyNumber}`).then((res) => { |
| | | if(res.code==200){ |
| | | xGrid.value.loadData(res.data.data) |
| | |
| | | } |
| | | }) |
| | | } |
| | | |
| | | } |
| | | </script> |
| | | |